News for hackers. Stuff that matters.
Re:Thought Experiment: An Introductory Compilers Class by jcranmer on Monday February 17, 2020 @06:15PM (#22351845)
Personally, I feel that a compilers course should actually be about learning how to build a compiler. After all, the only reason to take a compiler course is because you want to--it's not going to be on the necessary track for a degree. The attitude of "you're not going to remember anything about compilers anyways, so let's make this an advanced math class" is quite frankly insulting, most especially to people who actually want to take a compilers course to learn about compilers.
Re:Thought Experiment: An Introductory Compilers Class by andrewflnr on Monday February 17, 2020 @08:02PM (#22352510)
I mean, I wouldn't object to having compilers be mandatory. Out of the other side of my mouth, I like to say that a compiler has great properties for teaching actual software engineering, e.g. managing complexity, dealing with changes (hey kids, we're adding a new syntax feature! Now we're adding closures!), while still teaching you that compilers aren't magic... so that's another approach I would endorse. At that level, you actually would want some formality, but you could add it gradually.
Re:Thought Experiment: An Introductory Compilers Class by wrs on Tuesday February 18, 2020 @11:37AM (#22357265)
I think it is required at some institutions (pretty sure it was at CMU when I was there), because not only is it useful to understand such a fundamental daily tool at a deeper level, but as the post says:

>everything in compilers is packed to the gills with absolutely gorgeous algorithms

So you get to see practical usage of some advanced things rather than just abstractions.

Re:Thought Experiment: An Introductory Compilers Class by davidcuddeback on Monday February 17, 2020 @09:38PM (#22352982)
> it's not going to be on the necessary track for a degree

Compilers was a required 2-class series for my CS degree.

Re:Thought Experiment: An Introductory Compilers Class by saagarjha on Monday February 17, 2020 @06:25PM (#22351911)
> After all, the only reason to take a compiler course is because you want to--it's not going to be on the necessary track for a degree.

I think that depends on the program?