Live data from Hacker News

FarmLogs

blog.samaltman.com

91–92 of 92 posts

Re: FarmLogs

#91
post #88

Earlier quoted context omitted.

Thanks I've corrected it. Lisp like syntax all those (((())))))(()() drive me crazy and I think Scala has the features of Clojure that I like without the LISPness. But I have nothing against people using I just don't like it.

I thought you'd say something like that. Have you counted how many brackets though? It's often very close. (defn blub-extra [a b] (blub (inc a) (inc b))) 8 parens + 2 brackets def blubExtra(a: Int, b: Int): Int { blub(inc(a), inc(b)) } 8 parens + 2 braces Integer blubExtra(Integer a, Integer b) { return blub(inc(a), inc(b)); } 8 parens + 2 braces It's roughly the same numbers of brackets (or equivalent) in Clojure, S…

Thanks for the answer...

I guess my LISP Teacher ruined the syntax for me. Terrible terrible class.

Maybe you are right. I might give it a try again and see if my position still stand :D

Re: FarmLogs

#92
post #91

Earlier quoted context omitted.

I thought you'd say something like that. Have you counted how many brackets though? It's often very close. (defn blub-extra [a b] (blub (inc a) (inc b))) 8 parens + 2 brackets def blubExtra(a: Int, b: Int): Int { blub(inc(a), inc(b)) } 8 parens + 2 braces Integer blubExtra(Integer a, Integer b) { return blub(inc(a), inc(b)); } 8 parens + 2 braces It's roughly the same numbers of brackets (or equivalent) in Clojure, S…

Thanks for the answer... I guess my LISP Teacher ruined the syntax for me. Terrible terrible class. Maybe you are right. I might give it a try again and see if my position still stand :D

Argument lists are in brackets rather than parens, which helps slightly with the visuals.
Post reply on HN