Hacker Newsnew | past | comments | ask | show | jobs | submit | hencq's commentslogin

Clojure also has the anonymous function syntax with #(foo a b %) where you essentially get exactly this hole functionality (but with % instead of $). Additionally there’s partial that does partial application, so you could also do (partial foo a b).

J++ predates C#. It was Microsoft's version of Java that wasn't quite compatible.

Correct, and J# was a brief transition language to help migrate Visual J++ applications onto the .Net SDK. J++ -> J# -> C# was the evolution.

I say J# is a more apt comparison because like Microsoft's Java, android has a substantial set of APIs that aren't part of the JDK standard. Working on Java vs Anrdoid is practically like working with the JDK vs .Net.


J++ already had those extensions, hence the lawsuit.

I think that should work in racket-mode as well. You can easily send individual sexps to the repl and add to the live state. However, one thing that CL does that Racket doesn't do (afaik) is when you change a data type (e.g. alter a struct), it automatically ensures live code uses the new types. In Racket by contrast I have to either carefully go through all affected forms and send them to the repl, or send the whole buffer to the repl. This does make the whole experience feel more static than in CL.


Exactly who I immediately had to think of.


> by the bushel

Well played


No, ASML was spun out of Philips (as was e.g. NXP)


I remember at the time it felt a little bit suspicious to me. Only after everyone already knew it had imploded, the navy came out to say their hyper advanced detection system for enemy submarines had of course also detected it.


From the description, it doesn't really seem to be full Tail Call Optimization, but only optimizes tail recursion. At least all the examples are about tail recursion, where the function calls itself in tail position, which can indeed easily be changed to a loop. Tail Call Optimization would mean it optimizes any function call in tail position. Typically you'd implement that with a trampoline, but it doesn't seem like this does that.

Edit: It's actually called out under limitations "No mutual recursion: Only direct self-recursion is optimized"


Delimited continuations are quite similar to effect systems that seem to be getting a lot of interest lately. So who knows, maybe they will become more mainstream in the future.


Yeah that one is surprisingly difficult even with a Human Intelligence in the passenger seat.


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

Search: