News for hackers. Stuff that matters.
Re:Show HN: YinYang, a usable live programming language by joshribakoff on Saturday October 19, 2013 @09:51PM (#6578705)
This is sort of possible with any language, in the sense of unit testing. You can even setup a file watcher to run your unit tests automatically whenever the code changes, and some IDEs save the file while being edited, only when the syntax is correct. In effect, you get real time testing of your code that tests the logic.
Re:Show HN: YinYang, a usable live programming language by seanmcdirmid on Saturday October 19, 2013 @10:04PM (#6578724)
Continuous execution and testing is useful, but its just not good enough. You want to also provide programmers with a decent debugging experience as well, which doesn't happen in a continuous testing framework (something is broken, but what?).
Re:Show HN: YinYang, a usable live programming language by joshribakoff on Sunday October 20, 2013 @10:13AM (#6579936)
Unit tests each have an assertion message that states what's wrong, and the frameworks should each print the line # & stack trace. My IDE parses that output & highlights the errors in my code too.
Re:Show HN: YinYang, a usable live programming language by seanmcdirmid on Sunday October 20, 2013 @01:52PM (#6580722)
Lovely but nothing very new. Does your IDE also allows you to poke around local variables and the call stack while changing code in realtime?