• 0 Posts
  • 5 Comments
Joined 3 months ago
cake
Cake day: July 3rd, 2024

help-circle
  • doktormerlin@feddit.orgtoProgrammer Humor@lemmy.mlComenting code
    link
    fedilink
    Deutsch
    arrow-up
    2
    arrow-down
    1
    ·
    1 day ago

    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


  • A colleague of mine has one. They are easy to overlook and he sometimes has pretty bad looking crashes (from the outside) but the chassis themselfs are extremely sturdy and protecting. He slid down a road 25m at one point, crashing into a pole, but only got a bruise from it. Because, and that’s the main point: these things are not going down 50mph, they are at 18mph and the only dangerous parts are intersections where cars are slower anyways