• 0 Posts
  • 6 Comments
Joined 4 months ago
cake
Cake day: February 14th, 2025

help-circle
  • This. I hate it. It feels like a modern day factory worker job.

    When I first graduated I was all caring about design, mainability, etc.

    Nope. All that shit is pointless in a large company. Took me too long to notice that Cisco was essentially just throwing as many code monkeys at the problems until things work.

    “Fix” a bug in a hacky way that creates 10 more bugs that won’t be found for weeks and be another teams problem because they can’t directly point to your hacky code anyway? That engineer is getting promoted. They fix so many bugs. So many commits!

    Take the time to understand the bug and do a rewrite to ensure other platforms are not effected and setup the design so it’s easier to debug in the future? Well, you spent all week on one bug you lazy engineer!

    It took me too long to realize that I was the bad programmer. That this is actually what companies want and reward their employees for.

    Sorry. Didn’t mean to rant. But your short comment triggered it I guess.

    I fucking hate this field. I still love programming though.




  • If the file is just a class I usually put example usage with some default arguments in that block by itself. There is no reason for a “main” function. It’s a nice obvious block that doesn’t run when someone imports the class but if they’re looking at the class there is a really obvious place to see the class usage. No confusion about what “main()” is meant to do.

    if __name__ == '__main__':
        # MyClass example Usage
        my_object = MyClass()
        my_object.my_method()
    

  • This sadly excludes the majority of bad UX decisions that are done entirely to maximize users time inside of the app as well as display advertising.

    So many functional apps are destroyed by these incentives. There is literally a “skill issue” but in the opposite direction. The design is either purposely malicious in a subtle way with “dark patterns” (something Amazon is insanely guilty of. Literally just go try and return and item.) or is purposely annoying trying to ensure the user purchases the “free trial” to actually make the app functional. Knowing a lot of users will be charged at least once for the free trial.

    I guess my point is that there is so so so so much wrong with UX design today. But for the majority of people that’s not because of a bad programmer with no design knowledge. It’s on purpose in most cases.