HN user

badsavage

71 karma

i breath linux, write clojure and read hacker news. my idols are John Pierpont Morgan and Genghis Khan

Posts1
Comments57
View on HN

Spec is very useful, but please implement it without macros. Metosin did a great job to make it more usable, but we still struggle because specs could only exist in Namespaces. We want to use spec as EDN with pure functions. (+ recursive specs would be awesome)

Clojure is a different language. Being "fully compatible" with (more similar to) Java was never a goal.

Yup, Svelte is hot and Postgres is always a good decision! Thank you for the details, really interesting project!

Once I built a CSS based browser MMO myself as a challenge. I used Clojurescript and React on the front end and Clojure with a simple in memory key-value storage. My solution was basically a turn based architecture, but many turns happened in a sec, so it was semi-realtime.

CSS means I didnt use webgl, just pseudo 3D with divs and transforms. Field of view was small, but playable. :D

Why Clojure? 7 years ago

Basically you says if a type system is optional, people tend not to use it, because most of the times they are good without it.

I agree.

But we do use spec very successfully for complex data structure validations and example data generation.

Why Clojure? 7 years ago

Clojure's startup time is very slow compared to other languages, but we balance it with fully reloadable systems both on the backend or frontend.

Otherwise the speed is almost identical to the speed of native Java and native Javascript. Except when you experience the power of lazy structures, then Clojure is faster than native code.

Why Clojure? 7 years ago

Clojure has something like an extendable type system called Spec. We can create our own types lol

Why Clojure? 7 years ago

yes, immutable data is a core value of Clojure.

OP said no wrong, but think about it: Bitcoin also just stole the good parts from other software projects.

Really practical inventions usually gather the best ideas from a field.

Why Clojure? 7 years ago

looks like you don't know FP

pure functions are completely separate to every other parts of your software, they are very readable and easy to debug

* edit: don't write functions longer than a few lines

Why Clojure? 7 years ago

I agree!

When I meet a girl, I ask her about macros and functions first.

I except to hear something like: macro < function < data.

As an eastern european, I see the case a bit different. Corrupt governments and cheating locals were always able to "hack" voting. I would rather trust a blockchain based -fully transparent and real-time- voting system than the actual one.

HN creator Paul Graham was really into Lisp. HN has been built with his own Lisp, Arc. HN attracted many experienced programmers and experienced programmers usually like Lisp, because Lisp dialects are simple, elegant and powerful.

Lisp is the red pill to programming. A mind-blowing out-of-the-box experience. An alien technology. -- Lisp has a so called "no turning back point", true lispers cannot bear other dialects after experiencing it. From scientists in underground military bases to rich tech VCs: everyone obeys Lisp here..

I had a beautiful beginning with a lisp like programming language when I was 8 or something. Every other languages have been disappointments until I found Clojure a few years ago. I hope you will get it some day.