Better HN
topnewbestaskshowjobs
Log inSign up

binary132

1,655 karma · joined Mar 24, 2014 (12y ago) · 1,715 submissions

Submissions

comment 3y ago · link · parent

This makes me think of tries. You don’t actually need to store the value at the leaf if you simply knew the path traversed in the traversal function. Of course sometimes it’s more efficient to store values.

comment 3y ago · link · parent

NYET, EMACS IS FINE.

comment 3y ago · link · parent

This is exactly what I’ve been wishing for for ages!

The main downside is requiring C++20 since that does make it a bit less portable to compilers which haven’t caught up to the standard — each new standard revision adds a great deal of complexity which even the Big Three compilers tend to take years to finish implementing, so the smaller fish really do get left out of the picture. As I understand it, those are typically semi-compliant implementations of GCC on embedded devices, or on historical hardware, where a library with zero stdlib dependencies would be super useful, but can’t really be used here due to the modern language standard.

So, necessity demands you rewrite this as a C89 macro library.

comment 12y ago · link · parent

I got a lot out of Clojure koans, myself. Rich Hickey's talks are also phenomenal. I'm itching to take a crack at designing a service around Datomic.

Emacs Live is a pretty legit pre-baked environment for use with Clojure, and pretty sexy to boot, decent themes (but needs a Solarized one.) It's also preconfigured to play nice with lein via CIDER nrepl for that "live hacking" experience. There are still a few tricks, and it's a little heavy, but it's quite good for a packaged toolkit. I definitely feel the advantages over Vim, for Clojure at least.

Sadly, I too find myself unable to set aside the time I'd like to for Clojure.

Again, really enjoyed the article!

comment 12y ago · link · parent

Good stuff; resonates with the reasons I've stayed away entirely. How much time have you invested in checking out Clojure? The Clojure community while a bit small is fairly hot. If you find the learning curve intimidating, but haven't taken much time to dig in, give it maybe 10 solid hours and I think you'll love it. The syntax is a tiny bit off-putting at first for a non-Lisper, but once it clicks, it clicks HARD.

As I got into it, I discovered that I have to hold myself back from getting too crazy too quickly. It's just that easy.

1
5455565758