News for hackers. Stuff that matters.
Re:Eve: Programming designed for humans by ifdefdebug on Friday October 28, 2016 @02:12PM (#12818997)
Well, I did skim a little bit through Eve's source code, specifically the files in https://github.com/witheve/Eve/tree/master/src and subs, and the first thing that stroke me was: it's not literate. As a matter of fact, it doesn't have more comments than an average code base, maybe even less.

Why? Where is the prose? What makes programs supposed to be written in Eve different from Eve itself?

Re:Eve: Programming designed for humans by ibdknox on Friday October 28, 2016 @02:56PM (#12819476)
Trying to do literate programming in traditional languages is pretty crappy [1]. Some heroic effort ended up having to go into this release as well so things aren't as commented as we wanted, but that will improve. There are a few files that are pretty good though [2].

Our Eve source on the other hand is wonderfully literate and it's been a really great experience. Here's the code that makes the inspector work [3].

[1]:http://programming.witheve.com/deepdives/literate.html

[2]: https://github.com/witheve/Eve/blob/master/src/runtime/join....

[3]: http://play.witheve.com/#/examples/editor.eve

Re:Eve: Programming designed for humans by brianwawok on Friday October 28, 2016 @03:48PM (#12819971)
I only looked at 2.. but honestly, that looked like the kind of code I got delivered from offshore teams. 3 lines of comments saying what a for loop will do, then 1 line to do the for loop. I would -1 most of that on a code review, and ask for comments that just describe what the code is doing to be removed.
Re:Eve: Programming designed for humans by zubairq on Tuesday November 01, 2016 @05:28AM (#12844338)
I can show you plenty of crappy code delivered from local teams too, especially myself!
Re:Eve: Programming designed for humans by ThePhysicist on Friday October 28, 2016 @04:41PM (#12820455)
Good software can be written with bad code.

Python is just "ugly" C underneath, containing for example a 1500 line switch statement, but this does not in any way change the fact that it's a great piece of software.