17
Comments
  • 7
    You dislike naming variables with meaningful names? I think I would not enjoy working with you.
  • 3
    @CodeMonkeyG maybe he likes working with obfuscated code
  • 2
    @ruhe maybe that why his username is what it is.
  • 6
    I dislike the part where I have to think about what name to give em
  • 1
    @confusedGuy-sh but that way a person that reads your code won't have to
  • 2
    I'm lik
    test1 or t1 or just t
    a b c :D
  • 2
    @PVeda You will really never need to obfuscate with that method๐Ÿ˜‚
  • 2
    @PVeda i do x, xx, xxx
    Let me tell you that, it is not smart, especially not if you're working with x and y coordinates
  • 4
    @cave
    of course in that case u should use i and j :D
  • 3
    @confusedGuy-sh I still don't get it why people think it is hard to name variables in a meaningful way...
    I mean you are literally in the process of declaring a variable for specific data you know it will hold.
    Just call it, for what it will hold.
    What the fuck is so difficult about it? ๐Ÿ˜„
  • 4
    It's difficult sometimes, but don't you feel good when you get a good variable name and you're all like: "fuck yea a dog could read this and itdt make sense"
  • 2
    Writing clean, easy to read and maintain code is an art form that you only learn to appreciate after years of team development
  • 1
    @cjbatz but that's what comments are for. \s
  • 0
    @CodeMonkeyG If you write clean code using good variable, method, and class names you will only need code comments to explain why you do something that seems odd or unusual. If another developer needs comments to understand your code, it is poorly written.

    Edit : Sorry, didn't see the /s
  • 1
    @cjbatz please help me explain this to my coworkers. Apparently I'm not a real engineer based on the fact that I don't use comments even though my code reads like an instructional manual.
  • 0
    @CodeMonkeyG perhaps show them articles/blog posts by industry leaders explaining all of this and ask them to explain why they are using comments in this way. Also, choose your battles wisely
Add Comment