Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
axle_512
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
axle_512
8y ago
You don’t see them in the same sense you don’t see multiple closing braces in java or c. The style in lisp is to keep all the closing paren on the same line: )))) But in java or C you’ll sometimes see a function that ends like:
2.
▲
by
axle_512
8y ago
Fair enough, I see your point. Though stylistically my personal preference is for the macro to remain as simple as possible with limited syntax introduced.
3.
▲
by
axle_512
8y ago
Note I said "or looks like one". If you squint a bit, macros and built-ins are similar in structure to functions (they're all s expressions). I agree with much of what you said, but I still maintain that lisp syntax is still
4.
▲
by
axle_512
8y ago
In lisp, nearly everything is written in the same form. I.e. everything either is a function call or looks like one. Once you know that, you pretty much know lisp syntax. People freak out about the parens. But I think what's the big
5.
▲
by
axle_512
10y ago
JetBrains based editors are quite nice if you can afford it. Free for students and open-source developers. PyCharm for python, IntelliJ for java, Cursive for clojure
6.
▲
by
axle_512
10y ago
Another java library with persistent/immutable datastructures is javaslang.
7.
▲
by
axle_512
11y ago
From my experience several years ago: Distributing binaries for Linux was complex. libstdc++ compatibility across distros or different versions within a single distro wasn't great. (Compared to Solaris, it seemed like libraries were a
8.
▲
by
axle_512
11y ago
Many have already said it, but Clojure seems to be gaining in popularity.
9.
▲
by
axle_512
12y ago
I used to have an issue with lisp syntax until someone pointed it out to me like this. In c and java like languages, you invoke a function like this: f(x) In lisp, just move the paren before the function name. What's the big deal? (f
10.
▲
by
axle_512
13y ago
Forgot to source my info on the "om" library. http://www.infoq.com/news/2014/01/om-react
11.
▲
by
axle_512
13y ago
On the surface, you wouldn't think immutable data structures would offer any significant performance gains. But there are a lot of cool techniques and unforeseen consequences that emerge. The clojure library "om" is able to
12.
▲
by
axle_512
13y ago
nice, thanks!
13.
▲
by
axle_512
13y ago
It is a little clearer to me how this works with things like primitives, but how do you annotate a function that takes a map as input and returns a list? (defn my-keys [m] (keys m)) Edit: Just found Seqable. Looking into it now. This l