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

help-circle

  • I think you’re wrong. But not because you’re illogical. On the contrary I think you’re thinking rationally if you assume businesses are running to make better products. If you do. You’re right.

    These companies are not running to make better products than their competitors. They are running to monopolize their industry to a degree that gives them enough power to sell absolute garbage.

    Look no further than the gaming industry. This is the exact type of garbage we are seeing from other industries now.

    They are not interested in making better products. They are interested in making profits. And if the entire market is held together by 2-3 major players all replacing workers with AI slop they will have no reason to change. They will all do it together.

    No amount of “indie” projects will ever threaten their market domination.

    This is then future that will happen. Don’t expect “markets” to save us from this. The myth of “free markets” is how we got here in the first place.


  • 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.




  • LeninOnAPrayer@lemm.eetoProgrammer Humor@programming.devparseInt(5)
    link
    fedilink
    English
    arrow-up
    72
    arrow-down
    6
    ·
    edit-2
    2 months ago

    People give JS a lot of shit. And I do too. But it’s meant to continue running and not fail like C code would. It’s meant to basically go “yeah, sure I’ll fuck with that” and keep trucking.

    So you can always make it do stupid shit when you use it a stupid way.

    Is this bad? Maybe. Was it the intention of the language? Absolutely.

    Typescript fixes a lot of these headaches. But I feel like JS is doing exactly what it was meant to do. Keep trucking even when the programmer asks it to do stupid shit.

    If you’re using JS and don’t understand this then it’s your fault and not the languages fault.

    Do we all want to live in a world of typedefs as strict as C and have our webpages crash with the slightest unexpected char input? Probably not.

    We don’t notice all the time JS goes “yeah I can fuck with that” and it works perfectly. We only notice the times it does that and it results in something silly.

    TLDR: JS does what it was made to do. And because of that it looks absolutely ridiculous sometimes.



  • I’m impressed it hasn’t become a bloated copilot mess like all other Microsoft products have. It’s still relatively as quick and functional as it’s ever been.

    I wouldn’t say it’s perfect. Definitely not. But it’s definitely on the highest end of Microsoft owned products.

    Probably because it’s very similar to how it was before they bought it.

    I primarily do not use it for development though. So take that with a grain of salt. Some small projects I contribute to still.


  • I work for Microsoft. When I had a kid they sent a “care package” with some items. But literally every item had “Microsoft” or “Met Life” (our employee life insurance I think) all over everything.

    I ripped the “met life” shirt off of the snoopy plush and trashed everything else.

    It’s not just limited to backpacks. They try to turn everything, even a kids blanket, into a fucking ad. It’s so gross.

    You can’t send some cheap items to your employee without branding it with an ad.

    I don’t work for MetLife. Why the fuck would that even be on there? I guess they want to keep reminding me to get life insurance because I’m a kid. Like, holy fuck, I hate this shit.

    Fuck Microsoft. Fuck their support of genocide. I didn’t even choose to work here. They bought my startup company for pennies on the dollar during Covid.