News for hackers. Stuff that matters.
Re:Introduction to Compilers and Language Design (2021) by programmer_dude on Wednesday May 18, 2022 @04:47AM (#31420541)
Pseudocode can be easy to understand but you (also) need a real language to cement your understanding of the subject.
Re:Introduction to Compilers and Language Design (2021) by dunefox on Wednesday May 18, 2022 @08:57AM (#31422172)
> you (also) need a real language to cement your understanding of the subject.

That's why I'd like to use a language that I already know instead of learning a new one while also learning new material.

Re:Introduction to Compilers and Language Design (2021) by d_tr on Wednesday May 18, 2022 @11:15AM (#31423839)
Well you can. If you understand the algorithm you can write it in any language you know. Additionally, C is at basic level just loops, conditionals and function calls so it will be easy to translate from it if you need to. And then there are other books using other languages out there and people can choose.
Re:Introduction to Compilers and Language Design (2021) by Koshkin on Wednesday May 18, 2022 @08:00PM (#31429093)
It is also manual memory management, lack of generics, of polymorphism, and what not else. Even C++ would be a better choice.
Re:Introduction to Compilers and Language Design (2021) by programmer_dude on Wednesday May 18, 2022 @09:33AM (#31422553)
Basic C is not that hard. Probably one of the easiest languages to get into.
Re:Introduction to Compilers and Language Design (2021) by Koshkin on Wednesday May 18, 2022 @08:01PM (#31429104)
Sure, but it’s a hard language to write good code in.