Better HN
topnewbestaskshowjobs
Log inSign up

cbebdhhd

28 karma · joined Jul 1, 2016 (10y ago) · 3 submissions

Submissions

comment 10y ago · link · parent

Could you pretty, pretty please allow for an option to have automatic parentheses insertion, similar to how javascript will insert semicolons, making them optional? This is almost exactly the language that I've been planning for the last six months, and if you would be so kind as to implement that one feature, it would save me a lot of reinventing the wheel.

I was originally envisioning having the compiler being able to infer parentheses based on code indentation.

Also have you considered compile time AST evaluation and simplification?

comment 10y ago · link · parent

I always thought this* was a much better demonstration of evolution in action because it's completely undirected by the user and quickly converges to fit solutions from obvious randomness.

* http://rednuht.org/genetic_cars_2/

comment 10y ago · link · parent

There really ought to be some sort of PE-equivalent certification for mission critical software, where they're required to sign off on the code before it can be legally distributed. It seems like the majority of today's catastrophic failures are due to faulty software and currently there's no accountability when it happens. If engineers were routinely crashing aircraft and breaking MRI's they would be going to prison because of the accountability procedures that are in place.