Live data from Hacker News

Specter – Clojure API for immutable programming (2017)

nathanmarz.com

31–40 of 44 posts

Re: Specter – Clojure API for immutable programming (2017)

#32
post #25

So it turns out that Clojure is the ultimate data-wrangling tool yet there's no chance of earning a living with it. So much for innovation. Technology is a strange industry where conservative Java bondage and a 2-bit browser scripting extension with no stdlib reign supreme.

Clojure is wholly inadequate to meeting challenges of the industry today. Not just because it's dynamically typed (which means tooling for it is close to nonexistent and it has terrible performance), but also because its ecosystem is a ghost town. It takes more than just a language to create a productive development environment in 2020, especially one which is so flawed by designed to the point of not even being stat…

Your Google skills must be short. Clojure community is on fire with open-source and it’s IDE and build support is copious and stellar. Also it’s not statically typed on purpose; the reasons for this have been described & analyzed at length. I’d recommend you get out more.

Re: Specter – Clojure API for immutable programming (2017)

#33
post #25

So it turns out that Clojure is the ultimate data-wrangling tool yet there's no chance of earning a living with it. So much for innovation. Technology is a strange industry where conservative Java bondage and a 2-bit browser scripting extension with no stdlib reign supreme.

Clojure is wholly inadequate to meeting challenges of the industry today. Not just because it's dynamically typed (which means tooling for it is close to nonexistent and it has terrible performance), but also because its ecosystem is a ghost town. It takes more than just a language to create a productive development environment in 2020, especially one which is so flawed by designed to the point of not even being stat…

[deleted]

Re: Specter – Clojure API for immutable programming (2017)

#34
post #25

So it turns out that Clojure is the ultimate data-wrangling tool yet there's no chance of earning a living with it. So much for innovation. Technology is a strange industry where conservative Java bondage and a 2-bit browser scripting extension with no stdlib reign supreme.

This is totally incorrect. Join the Clojurians slack and ask around about work. There's plenty opportunity out there. Apple, WalMart, DRW Trading, NuBank, Capital One, and the list goes on and on.

Re: Specter – Clojure API for immutable programming (2017)

#35

Earlier quoted context omitted.

1> (defstruct node () item next) # 2> (new node next (new node next (new node item 42))) #S(node item nil next #S(node item nil next #S(node item 42 next nil))) 3> (call .next.next.item *2) 42

I don't usually have a problem with you posting TXR comparisons in every lisp thread, but if you're not going to take the time to understand what the library does, this is just spam.

[deleted]

Re: Specter – Clojure API for immutable programming (2017)

#36
post #6

Specter is tremendously useful and rarely lets on a case where it can’t perform a transformation. For ensuring that you’re getting the most efficient form of a transformation [0] it’s incredible —- and it is somewhat data-oriented, allowing easy saving and reuse of navigators. Meander [1] is also wonderful. Its unification-based approach makes for nice expressions of intent. Its strategy-based approach to rewriting […

So specter is lens and meander is syb/generics. Nice

I know the author of meander, and I kind of doubt they'd describe it this way. I will ask them, though.

Re: Specter – Clojure API for immutable programming (2017)

#37

TXR Lisp: This is the TXR Lisp interactive listener of TXR 243. Quit with :quit or Ctrl-D on an empty line. Ctrl-X ? for cheatsheet. Give me all the .c files: 1> (glob "*.c") ("abcd.c" "args.c" "arith.c" "buf.c" "cadr.c" "chksum.c" "combi.c" "crazyffi.c" "debug.c" "dict.c" "eval.c" "ffi.c" "filter.c" "ftw.c" "gc.c" "glob.c" "halfsip.c" "hash.c" "highest-bit-main.c" "highest-bit.c" "highest-test.c" "isqrt.c" "itypes.c…

Clojure is already good at that- at conditional pipe / filter / aggregate semantics, bc it is a lisp. Specter is for a different problem. When you have a data structure that has some semantics and is deeply nested (and you aren't discovering the structure, like getting size from a node via a function call) Specter has a declarative set of operations to navigate and extract on that data structure, extremely efficientl…

Adding a bit of context - as Clj data structures are immutable, changing something that is deeply nested cannot be done in-place (like in a Java set of nested objects - navigate until you find the one you need, call setFoo() on it, you're done). So it gets painful real quick. Specter is like search-and-replace - first you find all the elments you need, then you can replace / change them at the touch of a fn.

Re: Specter – Clojure API for immutable programming (2017)

#38
post #25

So it turns out that Clojure is the ultimate data-wrangling tool yet there's no chance of earning a living with it. So much for innovation. Technology is a strange industry where conservative Java bondage and a 2-bit browser scripting extension with no stdlib reign supreme.

Clojure is wholly inadequate to meeting challenges of the industry today. Not just because it's dynamically typed (which means tooling for it is close to nonexistent and it has terrible performance), but also because its ecosystem is a ghost town. It takes more than just a language to create a productive development environment in 2020, especially one which is so flawed by designed to the point of not even being stat…

Yeah, just like Common Lisp and Julia have terrible performance. Extremely slow, can't do anything with them.

Re: Specter – Clojure API for immutable programming (2017)

#39
post #38

Earlier quoted context omitted.

Clojure is wholly inadequate to meeting challenges of the industry today. Not just because it's dynamically typed (which means tooling for it is close to nonexistent and it has terrible performance), but also because its ecosystem is a ghost town. It takes more than just a language to create a productive development environment in 2020, especially one which is so flawed by designed to the point of not even being stat…

Yeah, just like Common Lisp and Julia have terrible performance. Extremely slow, can't do anything with them.

[deleted]

Re: Specter – Clojure API for immutable programming (2017)

#40
post #34
post #25

So it turns out that Clojure is the ultimate data-wrangling tool yet there's no chance of earning a living with it. So much for innovation. Technology is a strange industry where conservative Java bondage and a 2-bit browser scripting extension with no stdlib reign supreme.

This is totally incorrect. Join the Clojurians slack and ask around about work. There's plenty opportunity out there. Apple, WalMart, DRW Trading, NuBank, Capital One, and the list goes on and on.

There are always a few outliers for any language but when you look at a larger sample Clojure's failure to gain adoption is undeniable. Take contract roles on IT Jobswatch, for example. 12 conracts in the last 6 months in the whole of London and 1 in the rest of the UK compared with Scala for which there were 279 in London and 128 in the rest of the UK. I'm not a Scala fanboy either. I remember back in 2013 when Clojure was hot and Clojure meetups in London were well-attended. Those days are over. London Clojurians has struggled to attract a handful of attendees since long before the COVID19 crisis.
Post reply on HN