3 ms·
I studied programming in college...and while I liked the assembly-code + controller projects, I wish there was more focus on web development...because the one t
by danso 15y ago
I studied programming in college...and while I liked the assembly-code + controller projects, I wish there was more focus on web development...because the one thing that has gotten me excited about programming is the potential to share (i.e. brag) about my work.
Making clever paint/tic-tac-toe/sudoku programs in Java/C++ are good exercises...but I lost interest in programming when I couldn't see it being used for more day-to-day practical tasks.
One specific topic I wish had been taught was regular expressions. In my first year of comsci classes, regexes were in the optional chapters of the book. Knowing about them would've led me to do more data-processing/information-gathering type programming, which is the track I am on now.
Plus, they're just damn plain useful in every coding context, even for project code-search-and-replace.
- brimpa 15y agoIt was my understanding that most CS programs include a course covering formal languages and grammars. At my school it was called (creatively) Theoretical Computer Science. Learning to break apart a regex and rebuild it as a state machine is where the real magic happens.
- jholman 15y agoAny decent CS program should contain such a course, sure, but it is probably not in the required curriculum, and it's probably not taken by very many students. As for names, at SFU (my alma mater) it's called "Formal Languages and Automata". Well, actually, there are actually about half a dozen courses covering parts of this material, but that's the most-perfect match for what you described.
- bad_user 15y agoLearning to break apart a regex and rebuild it as a state machine is where the real magic happens. That's useful for sure, but modern regex libraries have facilities that can only be translated into a pushdown automaton and you end up using those facilities a lot, even if you don't realize it.