News for hackers. Stuff that matters.
Re:K: War on Raze by geokon on Friday July 16, 2021 @06:52AM (#27854907)
The high level description sounds a bit like Clojure...? Both sound very tied to the datastructures and built in algorithms provided. As long as your problem maps well to the built in tool it's very terse (in a very good way!). I find this makes coding much more productive. Most languages avoid committing that way

Would be curious to hear from someone's that's used both

Re:K: War on Raze by rak1507 on Friday July 16, 2021 @08:20AM (#27855504)
Yeah, I've not used lisps much myself but it's definitely similar. See https://kparc.com/lisp.txt.

The quote by Alan Perlis, 'It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.' is also relevant to both lisp dialects and array languages.

Re:K: War on Raze by geokon on Friday July 16, 2021 @08:41AM (#27855637)
Oh, of course. Lisp is maybe a more natural analogue.

I guess Clojure takes things a step further. It goes from "everything is a list" to something slightly broader with Vectors/Maps/Sets/etc. - all through language primitives. (the algorithmic layer is cleverly done through the sequence abstraction)

Coming from C++, in effect having your STL containers/algos baked into the language is a breath of fresh air :)

Re:K: War on Raze by rak1507 on Friday July 16, 2021 @08:49AM (#27855679)
Good maps + sets + other data structures is definitely something that I miss occasionally in array languages. I should look into Clojure more, I've heard lots of good things about it.