• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: August 10th, 2023

help-circle






  • Indeed, you can achieve a better result with less verbose naming convention. And choose better variable name to make it obvious than 0 Hp is death. While i don’t like having too verbose variable name (as it impacts the readability and quick understanding of the function), i’m not against that for the function name… without going too far of course!

    Best is too have proper datamodeling of the object manipulated on top of some classic basic comments. Good interface contract is also a minimum. Best is to have full datamodeling of all the services, objects, in and out interactions between them, etc.

    Documentation is a mandatory piece of the code delivery (with tests being the other important part) far too much forgotten if you don’t enforce it on your teams.



  • Enoril@jlai.lutoNo Stupid Questions@lemmy.worldXXX
    link
    fedilink
    arrow-up
    4
    ·
    8 months ago

    You don’t get it… Why we should be afraid of someone breaking our house?

    Thiefs don’t carry weapons. If they were arrested with deadly weapons (including knife), that would add decade of prison time for them. It’s being like that since centuries…

    Also: they breaks home when we are not home.

    So weapons are useless. You are not more safe with them. It’s just a way to escalate a dangerous situation to a deadly situation.