3 ms·
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 be
by jcranmer 7y ago
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.
- wrs 7y agoI 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.
- saagarjha 7y ago> 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?
- andrewflnr 7y agoI 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.
- davidcuddeback 7y ago> it's not going to be on the necessary track for a degree Compilers was a required 2-class series for my CS degree.