• 0 Posts
  • 15 Comments
Joined 2 years ago
cake
Cake day: November 19th, 2023

help-circle












  • Xerxos@lemmy.mlto196@lemmy.blahaj.zoneManual
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    3 months ago

    Yes I had a coworker that commented like that:

    i++; // increase i by one

    Tells you nothing new - a wasted comment. Everyone who can program know this. A comment that describes what you do.

    i++; // increase i to move to the next entry

    A better comment, explaining why you do what you do. Always add information in your comments that the code doesn’t supply already. If you name your variables and methods well, good code is often self-explanatory. Use comments when it’s not.

    Of course in this trivial example no comment would be needed.

    Oh and use XML comments, when applicable.


  • Xerxos@lemmy.mltoTechnology@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    36
    ·
    3 months ago

    How the hell are we supposed to install it without a Internet connection? I worked in a company that was so hard on security that only certified machines were allowed access to the net, so virtual machines were not allowed to access the LAN and therefore the Internet. Generally not a problem as we just used them to test software on different OS versions, so no Internet required.

    This change disallows all offline installs. What is their gain? Are they that keen on our data or are they planning to use the connection to a Microsoft account for something even worse than just selling personal information? I could think of a few reasons and none are nice…