2 points

@Vordimous Wait for daylight saving time…

permalink
report
reply
1 point

Is that when all of the devs write the comments on the line after the code?

permalink
report
parent
reply
2 points

When you ask a Dev to test their own code

permalink
report
reply
2 points
// Open file
fopen();
permalink
report
reply
1 point

Commenting code is a super important habit to get into—it not only helps others understand your thought process but also makes it easier for you to pick up where you left off if you revisit the code later. Plus, well-commented code can significantly reduce the onboarding time for new developers on a project. Remember, comments should explain the “why” behind the code, not just the “what.” For instance, stating why you chose a particular algorithm or data structure can be far more helpful than just labeling it. According to a study by SmartBear, 44% of developers regard poorly documented code as a top cause of project delays, so it’s definitely worth the extra effort!

permalink
report
reply
1 point

But it’s also important to learn that comments should be brief and concise. We have one file from an ex-dev in which there are 750 lines of code and 2000 lines of comment, when someone wants to maintain this code they always have a hard time because this many comments are taking up so much screen real estate that you can’t find the code that actually does stuff

permalink
report
parent
reply
2 points

Gotta get a 4k monitor

permalink
report
parent
reply
1 point

I only have a 3k monitor, and I can manage it. Sometimes I comment line-by-line even.

permalink
report
parent
reply
7 points

basically how it feel when a professor requires u comment every single line of code u write to explain it. I know people tend to drop out of real engineering to do programing but an entire 4 years of this bullshit as opposed to just a couple classes sounds way worse than calc 3 or differential equations.

permalink
report
reply
1 point
*

The only problem with courses like calc 3 and differential equations (in my experience, as a mathematician) is that they are cheating somewhat. By cheating I mean relying on inadequate, flawed or entirely omitted proofs. How can the students truly understand something if they are not presented the whole story (or at least reference)?

The good thing about these courses are that there are usually no shortage of relevant exercises!

permalink
report
parent
reply
1 point

u could be right calc 3 was alright, pretty fun actually but differential equations i still dont get at all, maybe i should try learn it on my own now with more time and no pressure.

permalink
report
parent
reply
1 point

I detested differential equations. However, that was more due to how it was presented than the underlying, surprisingly, beautiful math.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.2K

    Monthly active users

  • 816

    Posts

  • 7.7K

    Comments

Community moderators