Hacker News new | ask | show | jobs
by guyrap 992 days ago
Compiling diffs - but if the user experience is REPL-ish and it can help some people learn the _basics_ of the language, what's wrong with that?

(Wrong as in "murdering puppies" wrong, not as in "here are the downsides of X" which I believe exist for every X.)

2 comments

> what's wrong with that?

Why nothing at all, of course. A REPL need not be more than a way to test and explore syntax, functions, and logical structures.

> the user experience is REPL-ish and it can help some people learn the _basics_ of the language

PREPLISH exists for Perl ^_^

https://github.com/viviparous/preplish

The inefficiency of that process increases electricity usage, the carbon footprint, and therefore contributes to climate change. Which, eventually, murders puppies.

Good enough for your arbitrary standard? I would have thought the fact that all preceding side effects will be re-executed each time a new line is written is bad enough, but whatever.

>The inefficiency of that process increases electricity usage, the carbon footprint, and therefore contributes to climate change. Which, eventually, murders puppies.

You'll waste more electricity trying to solve it correctly than it will ever waste.

The real problem to solve would be: how to make GCC, Clang, etc. fast. Or how to make C++'s syntax easy and fast to work with.

Or how to convince people to switch to Rust? ;)

Penny wise, pound foolish. By this logic computer games are a genocide in which millions participate every second
The true question this types of discussion evoke to me is :

Are we able to live ethically ?

(Which leads to "What is ethics ?", which eventually leads to " Ethics is nonsensical".)

When my dad saw a queue of tourist cars on a weekend around half of the ring of the capital city he said that if this really causes global warming, this must be banned immediately.
Well, if you ban tourism, you're on an efficient track of slowing global warming.
Banning Python would also be huge for reducing our carbon emissions.