Hacker News new | ask | show | jobs
by BoiledCabbage 2159 days ago
If you already knew C++, that's not a particularly useful comparison. Of course you were more comfortable reading and writing code in a language you already knew, than one you were learning.

An equivalent would be a class teaching c++ and writing and interpreter at the same time. And my gut says that would be more complex for unnecessary reasons than the class you took.

1 comments

I did not already know C++. I did already know Java since we did java for our intro class (101/102) and then the next year we did Compiler theory (240). But the professors who know more than me an entry level student designed this structure.

And I did write that same compiler in c++ and sure it was more lines of code but I understood it better.

I've also worked on a scheme interpreter in C++ that someone wrote in a game engine and it wasn't all that complicated.