• IcecreamMelts@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Microsoft has not made a good product. Ever. Every program has issues that should not be there if you’re selling it. Yet they get away with it

  • nephs@lemmygrad.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Most technology, programming languages and frameworks feel just the same, in a professional environment. Majority of web and apps is so simple that literally anything will do. Simple api consumption, simple database crud stuff. The tech stack doesn’t matter that much.

  • hansl@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Hot take: people who don’t like code reviews have never been part of a good code review culture.

  • pelotron@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Carbon? Just what we were all hoping for, yet another programming language from Google. They can keep it.

  • Zoolander@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Most frameworks are garbage and most programmers that use them have no idea how they work and that makes them shitty programmers. I hate when people use frameworks without even knowing why they’re using them.

  • nous@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    In unit testing, a “unit” does not have to be the smallest possible section of code. It can be a while class or module or even set of related classes/modules. Testing individual functions in isolation leads to brittle tests that easily break during refactoring. Testing overall system behaviour results in more robust tests that require fewer changes during refactoring which gives you more confidence then you have not introduced a regression.

  • popcar2@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Web development feels like it’s stuck in the early 2000’s. I’ve ranted a lot about it over the years but I just don’t know how everyone is okay with it. I’m sure tons of people will disagree.

    HTML is bad. The language itself feels unintuitive and is clunky compared to modern markdown languages, and let’s be honest, your webpage just consists of nested <div> tags.

    CSS is bad. Who knew styling can be so unintuitive and unmanageable? Maybe it made sense 25 years ago, but now it’s just terrible. It’s very clunkily integrated with HTML too in my opinion. Styling and markdown should be one easier to use language where 50% of it isn’t deprecated.

    Javascript has been memed to death so I won’t even go there. Typescript is OK I suppose.

    And now for my hottest take: ~10+ years ago I saw web building tools like Wix and I completely expected web development to head in the direction using a GUI to create, style, and script from one interface, even allowing you to create and see dynamic content instantly. I’ve seen competitors and waited for “the big one” that’s actually free and open source and good enough to be used professionally. It never happened. Web dev has just gone backwards and stuck in its old ways, now it’s a bloated mess that takes way more time than it deserves.

    The Godot engine is actually a pretty good option for creating GUI apps and it’s exactly what I envisioned web dev should’ve been this past decade. One language, intuitive interface, simple theming and easy rapid development… Shame it never happened.</div>

  • Buttons@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Shorter code is almost always better.

    Should you use a class? Should you use a Factory pattern or some other pattern? Should you reorganize your code? Whichever results in the least code is probably best.

    A nice thing about code length is it’s objective. We can argue all day about which design pattern makes more sense, but we can agree on which of two implementations is shorter.

    It takes a damn good abstraction to beat having shorter code.

  • OADINC@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    This is the only way;

    if (condition) {
        code
    }
    

    Not

    if (condition)
    {
        code
    }
    

    Also because of my dyslexia I prefer variable & function names like this; ‘File_Acces’ I find it easier to read than ‘fileAcces’

  • argv_minus_one@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Dynamic typing is insane. You have to keep track of the type of absolutely everything, in your head. It’s like the assembly of type systems, except it makes your program slower instead of faster.

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    When writing software that will be deployed to a production environment, it’s better to slow down and take the time needed to write a higher quality, more durable solution than to rush and quickly kick a product out the door.

    I don’t know why this is a hot take, but sometimes it feels like it is.

  • MrTallyman@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    My take is that no matter which language you are using, and no matter the field you work in, you will always have something to learn.

    After 4 years of professional development, I rated my knowledge of C++ at 7/10. After 8 years, I rated it 4/10. After 15 years, I can confidently say 6.5/10.