Re:One-letter programming languages
by k__ on Sunday May 08, 2016 @06:54AM
(#11653510)
"a manager counted the lines of software coming out of the cubicle farm and determined that programmers wrote N lines of code a day. It didn't make a difference what language was used -- the company would get only N lines out of them. The manager promptly embraced APL, the tersest, most powerful language around"
They can only do N lines, so the natural decision was to use terser languages, I love it.
I mean, yes there are reasons to use a special language for a problem (for example Elixir instead of Ruby, for distributed systems). Also sometimes some problems get solved more elegant in newer languages (Rust instead of C++ for system programming).
But if the only metric is lines of code, every language solves this with enough abstraction layers...
Re:One-letter programming languages
by eru on Sunday May 08, 2016 @07:26AM
(#11653579)
Just the opposite. If you figure out the number of lines of code is constant, like the alleged manager, you can start taking it as a constraint and optimizing for other things.
They can only do N lines, so the natural decision was to use terser languages, I love it.
I mean, yes there are reasons to use a special language for a problem (for example Elixir instead of Ruby, for distributed systems). Also sometimes some problems get solved more elegant in newer languages (Rust instead of C++ for system programming).
But if the only metric is lines of code, every language solves this with enough abstraction layers...