Hacker News new | past | comments | ask | show | jobs | submit | agigao's comments login

But, where are my parens? :D

Joking :)

Looks rather interesting, to be honest. I'll play with it.


You mean: "when kids do reckless stuff like this, you gotta ask: where are the parens in all this?"


I am looking for my grandparents.


As if initial failure of the product itself wasn't enough.


Hallelujah.


- The Magic Mountain - Thomas Mann

- The Man Without Qualities - Robert Musil

- The Gospel According to Jesus Christ - Jose Saramago

- Moby Dick - Herman Melville

- The War of the End of the World - Mario Vargas Llosa

- The War and Peace - Leo Tolstoy

etc.

I can't do "The" xD


> The Gospel According to Jesus Christ - Jose Saramago

Have you read Blindness? I liked The Gospel According to Jesus Christ, but personally I liked Blindness a lot more.


Nope, I've not read anything else by Saramago, yet.

But thanks for the suggestion! I'll definitely take that journey before the year is over.


The Magic Mountain - Thomas Mann The Man Without Qualities - Robert Musil The Gospel to According Jesus Christ - Jose Saramagu

etc.


Perhaps we can try to do it in a proper functional language?

  (ns restaurant.pizza
    (:require [restaurant.oven :as oven]
              [restaurant.package :as pack]))

  (defn make-order [size sauce cheese kind]
    {:size size
     :sauce sauce
     :cheese cheese
     :kind kind})

  (def toppings-map
    {"Veg" "Veg toppings"
     "Meat" "Meat toppings"})

  (defn prepare [order]
    (assoc order :toppings (:kind order)))

  (defn bake [prepared-order]
    (oven/bake prepared-order :pizza))

  (defn box [baked-pizza]
    (pack/box baked-pizza :pizza))

  (defn pizza [order]
    (-> order
        prepare
        bake
        box))

  (comment 
    (def order (make-order 26 "Tomato" "Mozzarella" "Meat"))
    (pizza order))


It's short and overwhelmingly granular, but for the sake of illustration. Large and complex codebases sliced up this way has not alternative in terms of ease of testing and reasoning about the code.


In your experience, how do LISPs compare to ML family languages in typing and readability?


I don't necessarily have opinions on ML languages. Haven't used any of it to the extent of writing more or less complex production system.


Spacemacs Light and IntelliJ light default

Dark themes make my brain hurt.


Only paradigm isn’t enough. Language design, ecosystem and pragmatism is essential as well and Clojure has all that.

After a couple of years of writing Java in my late teen, early 20s, I observed considerable overhead and inefficiency while working on large Java projects.

I thought we shouldn’t have to recompile the whole project upon every single change.

Classes and private public fields, methods felt like they were solving the wrong problem.

Other fancy words, that contained fairly simple ideas, felt like the output of clever language designers who enjoy the sound of their voice.

Those were the issues I observed as a newbie, but still I started looking for alternatives and found Clojure fairly soon. Sense of satisfaction steadily grew as I dug deep into the language, it was addressing so many design decisions I questioned before. At some point I started re-writing core library and it was joy to see how simple a programming language can be.

I wrote software in many different programming languages over the years but writing Clojure at work is fun, multiplied.


I wish it hadn't pointed to another silver-bullet app at the end of the article.


Why? I almost didn’t include a link so am interested to hear your answer


Almost fall into the pitfall. Have seen friends around spending 300-400$ in "custom" keyboards.

Used a couple of mechanical keyboards over time: Razer, Anne Pro II, Logitech G something, custom made, Asus Rog TKL etc. Well, used those for fun with PC but my major workhorse has always been Mac setup: MacBook + Monitor + Magic Keyboard/Trackpad, and productivity has always been there with this setup.

Although I spent some time with Mechanical keyboards, still Magic Keyboard TKL scores the highest, in terms of productivity, stability, comfort.

You can have fun w/mech keyboards, but I'd rather spend my time onto something that actually matters. Go with simplicity without overthinking and wasting time.


Almost every other engineer I know loves the Magic Keyboard. I cant stand them. I cant stand any laptop keyboards. Their flatness just breaks my brain. Even if my productivity doesn't go down as a result, I just don't enjoy it. It's like those five finger toe shoes. They won't make me faster or slower, but the whole time I'll actively noticing the material between my toes. Until I've worn them for a few weeks or months, and then it becomes second nature. But I have no desire (or need) for a mac keyboard to become second nature. I've spent the past several decades growing used to the shape and feel of a certain type of keyboard, and I don't see a reason to change. For me, going with the mechanical keyboards IS the choice to go with simplicity; it isn't a thing I "spend time on"

All of my mechanical keyboards are in the $100-150 range. And a magic keyboard is $100. So it's not like I'm excessively splurging (I get that some people do though).

Everyone can have their opinion though. So that's neat.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: