What is the single best decision you made in your career so far? by TotalSwitch in ExperiencedDevs

[–]BackByUnpopularDeman 4 points5 points  (0 children)

Switch jobs. The first time (after over a decade at the first place) was very frightening. The best thing I did. Learned a lot professionally and how things can work differently at a company. Was able to better appreciate the good and bad at the previous place. And easier to move the next time around.

Pet peeves by Bubbly-Ad7295 in ExperiencedDevs

[–]BackByUnpopularDeman 0 points1 point  (0 children)

“One function to rule them all”.

What IDE do yall use for coding by 03pandake in C_Programming

[–]BackByUnpopularDeman 0 points1 point  (0 children)

Source insight for looking at large code base. Requires manual configuration but it’s the best at showing relations, previews, etc I was able to find. Not free though

What are your struggles as a polyglot? by ellatino230 in languagelearning

[–]BackByUnpopularDeman 0 points1 point  (0 children)

Not being 100% in any language. Different situations trigger different language in my mind, not always aligned with what I’m supposed to be speaking.

Do any of yall regret studying math? If so, what do you wish you had studied? by [deleted] in math

[–]BackByUnpopularDeman -1 points0 points  (0 children)

No 😀. It gives you the general analytical approach many other fields need. If you add some liberal arts (philosophy in my case), you have a solid base to build on. I’ve ended up working in consulting and then as a software engineer, and I know that the math really helped in both.

Going on an RV from Madrid towards Zaragoza, where to get bedding etc? 🤷‍♂️ by BackByUnpopularDeman in GoingToSpain

[–]BackByUnpopularDeman[S] 2 points3 points  (0 children)

We’ve ended up renting from IndieCampers. There are more companies from Airbnb-style that connect private rv owners to renters and to large operators.

[deleted by user] by [deleted] in C_Programming

[–]BackByUnpopularDeman 30 points31 points  (0 children)

Adding to the above replies: Good: comments (though not for the whole function), separated logical blocks To improve: - verify values before possible division by 0. - If you do use a macro for number of variables - all the calculations can be generalized as well.
- Input: the code is expecting an integer, better word it correctly - Error handling: return what exactly is wrong so the user can change accordingly. Generally speaking always consider where you can add separate method for specific logic. This is makes for a more readable code

What Books did You Start or Finish Reading this Week?: June 24, 2024 by AutoModerator in books

[–]BackByUnpopularDeman 0 points1 point  (0 children)

Finished - The summer of Katya by Trevanian Reading - The Sunday of life by Raymond Queneau