Re:Advice for new software devs who've read all those other ...
by hudell on Wednesday December 20, 2023 @08:32AM
(#38708446)
I once worked on a project that would not even compile if a function had a param without a comment explaining the purpose of that param written with a specific format. Every comment was validated on compile time, you couldn't even comment code just to test something. Life was hell.
Re:Advice for new software devs who've read all those other ...
by EZ-E on Wednesday December 20, 2023 @08:28AM
(#38708409)
I have memories at my post grad school where any deviations from the expected code source formatting led to a -1 on the mark. On the first few projects it was not rare to see students getting marks well into two or three digits negatives.
Re:Advice for new software devs who've read all those other ...
by bluGill on Wednesday December 20, 2023 @11:18AM
(#38710281)
Things that don't matter much. A nice consistent style is good to have, but it isn't something worth worrying about that much.
Re:Advice for new software devs who've read all those other ...
by yakshaving_jgt on Wednesday December 20, 2023 @10:13AM
(#38709522)
What's stopping you from configuring your editor to automatically strip trailing whitespace on save?
Re:Advice for new software devs who've read all those other ...
by skirmish on Wednesday December 20, 2023 @11:57AM
(#38710766)
Code reviewers that made me type in trailing whitespace that editor stripped: "this change is on lines you are not modifying". Still makes my blood boil many years later.
Re:Advice for new software devs who've read all those other ...
by max_sendfeld on Wednesday December 20, 2023 @10:24AM
(#38709659)
Mostly the fact that this was 15 years ago :-)
And notepad++ had no easy way of showing trailing whitespace. So every commit was a dance of commit -> read rejection log -> remove trailing whitespace -> commit again.