News for hackers. Stuff that matters.
Re:Clojure at Netflix (2013) [slides] by StreamBright on Wednesday October 31, 2018 @10:15AM (#18345843)
They just disagree without explaining why. Anyways, I sometimes have typos in my Clojure code, but once I follow through with your mental model and just reproduce the problem in REPL it is easy to find these sort of bugs.
Re:Clojure at Netflix (2013) [slides] by kamaal on Wednesday October 31, 2018 @10:19AM (#18345879)
I'm not sure, but if people have problems, as bad as things like hiring programmers who struggle with indenting code, making typos in variable names, write functions hundreds of lines long, can't modularize code, write 3 nested for loops, or write nested if's where '&&' suffices.

Then you are having far bigger problems related to project management, hiring and overall direction in which you are running your team/company.

Clojure as a tool doesn't aim to fix these kind of problems. And it can be argued no tool will fix these problems.

Re:Clojure at Netflix (2013) [slides] by tome on Wednesday October 31, 2018 @10:40AM (#18346049)
> if people have problems, as bad as things like hiring programmers who struggle with indenting code, making typos in variable names

Those are the kind of things that the computer is best suited to. It's better if the programmer's brain is left to other, more challenging tasks.

Re:Clojure at Netflix (2013) [slides] by kamaal on Wednesday October 31, 2018 @10:48AM (#18346116)
One wonders what kind of challenging tasks a programmer who can't even indent code, can solve.

By the way indenting code happens to be the most basic of code review checks.

Re:Clojure at Netflix (2013) [slides] by 200px on Wednesday October 31, 2018 @11:19AM (#18346394)
Code indentation has been automated away since like 10 years or ago or maybe even more.

Vim, Emacs, Atom, Sublime Text, Visual Studio, Eclipse, IntelliJ, NetBeans can all auto-indent code for you. Combined with linters they can also automate stylistic checks and coding convention.

I don't know anyone who indents code themselves. The editor/IDE does it for them.

Indenting code is certainly not a code review check. No sane workplace should waste a senior developer's precious time commenting about indentation problems during code reviews. It is a tooling check that is part of CI/CD.

Re:Clojure at Netflix (2013) [slides] by tome on Wednesday October 31, 2018 @10:58AM (#18346202)
Why waste human time on what can be done by a machine?
Re:Clojure at Netflix (2013) [slides] by cmoscoso on Thursday November 01, 2018 @01:32PM (#18356353)
In my experience, a compiler would be wasting my time interrupting me with errors that are easily catch later, playing with the clojure REPL.