News for hackers. Stuff that matters.
Re:Show HN: CPU simulator in 60 lines of code by canacrypto on Tuesday October 13, 2015 @02:37PM (#10382498)
He could have saved another 10 lines by dropping the braces around the if statements :P
Re:Show HN: CPU simulator in 60 lines of code by wkoszek on Tuesday October 13, 2015 @02:45PM (#10382554)
The idea was to make it small, but not too "compressed". And I always like having braces everywhere for clarity.
Re:Show HN: CPU simulator in 60 lines of code by JustSomeNobody on Tuesday October 13, 2015 @02:53PM (#10382613)
I, too, prefer braces for clarity.