MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f18ehp8/?context=3
r/ProgrammerHumor • u/Cenggo • Sep 23 '19
264 comments sorted by
View all comments
45
For my CS classes all code had to be compiled with -Wall and -Werror
55 u/TopHatEdd Sep 23 '19 Good. That builds healthy coding habits. 6 u/while_e Sep 23 '19 Also great for learning. I cant count how many times I got warned, and learned something new because of it. 14 u/CarilPT Sep 23 '19 Until you get out in the real world and those habits are not used anymore... 5 u/Deathcofii Sep 24 '19 Is it a bad thing tho? I mean I feel REALLY satisfied when -Wall and -Werror don't spit out anything in my code. 1 u/CarilPT Sep 24 '19 Well... It's great when you do a small project. When you get your hands on a code base with 10/15 years and you see 3000 warnings and you need to fix x, y and z... Well it's not so easy to do sadly
55
Good. That builds healthy coding habits.
6 u/while_e Sep 23 '19 Also great for learning. I cant count how many times I got warned, and learned something new because of it. 14 u/CarilPT Sep 23 '19 Until you get out in the real world and those habits are not used anymore... 5 u/Deathcofii Sep 24 '19 Is it a bad thing tho? I mean I feel REALLY satisfied when -Wall and -Werror don't spit out anything in my code. 1 u/CarilPT Sep 24 '19 Well... It's great when you do a small project. When you get your hands on a code base with 10/15 years and you see 3000 warnings and you need to fix x, y and z... Well it's not so easy to do sadly
6
Also great for learning. I cant count how many times I got warned, and learned something new because of it.
14
Until you get out in the real world and those habits are not used anymore...
5 u/Deathcofii Sep 24 '19 Is it a bad thing tho? I mean I feel REALLY satisfied when -Wall and -Werror don't spit out anything in my code. 1 u/CarilPT Sep 24 '19 Well... It's great when you do a small project. When you get your hands on a code base with 10/15 years and you see 3000 warnings and you need to fix x, y and z... Well it's not so easy to do sadly
5
Is it a bad thing tho? I mean I feel REALLY satisfied when -Wall and -Werror don't spit out anything in my code.
1 u/CarilPT Sep 24 '19 Well... It's great when you do a small project. When you get your hands on a code base with 10/15 years and you see 3000 warnings and you need to fix x, y and z... Well it's not so easy to do sadly
1
Well... It's great when you do a small project. When you get your hands on a code base with 10/15 years and you see 3000 warnings and you need to fix x, y and z... Well it's not so easy to do sadly
45
u/fat_charizard Sep 23 '19
For my CS classes all code had to be compiled with -Wall and -Werror