• 0 Posts
  • 10 Comments
Joined 3 months ago
cake
Cake day: April 26th, 2025

help-circle

  • 3abas@lemm.eetoProgrammer Humor@programming.devJavaScript
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 month ago

    Sure. And you’re entitled to yours. But words have meaning and this isn’t MY OPINION, it’s objective reality. It follows strict rules for predictable output, it is not nonsensical.

    You’re entitled to think it’s nonsense, and you’d be wrong. You don’t have to like implicit type coercion, but it’s popular and in many languages for good reason…

    Language Implicit Coercion Example
    JavaScript '5' - 1 → 4
    PHP '5' + 1 → 6
    Perl '5' + 1 → 6
    Bash $(( '5' + 1 )) → 6
    Lua "5" + 1 → 6
    R "5" + 1 → 6
    MATLAB '5' + 1 → 54 (ASCII math)
    SQL (MySQL) '5' + 1 → 6
    Visual Basic '5' + 1 → 6
    TypeScript '5' - 1 → 4
    Tcl "5" + 1 → 6
    Awk '5' + 1 → 6
    PowerShell '5' + 1 → 6
    ColdFusion '5' + 1 → 6
    VBScript '5' + 1 → 6
    ActionScript '5' - 1 → 4
    Objective-J '5' - 1 → 4
    Excel Formula "5" + 1 → 6
    PostScript (5) 1 add6

    I think JavaScript is filthy, I’m at home with C#, but I understand and don’t fear ITC.


  • 3abas@lemm.eetoProgrammer Humor@programming.devJavaScript
    link
    fedilink
    arrow-up
    11
    arrow-down
    5
    ·
    1 month ago

    It’s not nonsensical, implicit type coercion is a feature of JavaScript, it’s perfectly logical and predictable.

    JavaScript is a filthy beast, it’s not the right tool for every job, but it’s not nonsensical.

    When you follow a string with a +, it concatenates it with the next value (converted to string if needed). This makes sense, and it’s a very standard convention in most languages.

    Applying arithmetic to a string would be nonsensical, which they don’t do.




  • Is you want to understand the spirit of the rules, look no further past the first one:

    Calling for the dissolution of Israel, or calling for a one-state solution without specifying equal rights for all people; Jewish in particular.

    Why Jewish in particular? How is “equal rights for all people” compatible with “one group of people in particular”?

    Jewish supremacism, Israel and Zionism is Jewish ISIS, and trying to hide that part of Israel and punish any discourse around that problem is fascism.

    They may let you call Israel fascist in passing, but they won’t let you describe its fascism, that is the bannable offense.


  • 3abas@lemm.eetoFediverse@lemmy.worldAre people blind on PeerTube?
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    3
    ·
    2 months ago

    Yes, yes, you named the benefits and convenience of a centralized system.

    Federalized systems require individual federated maintenance, and that comes with some challenges, but maybe it’s not the worst thing in the world if the random videos you uploaded to youtube that never get any views eventually disappeared… Maybe the planet shouldn’t bear the burnt of indefinitely holding those videos in replicated backed up storage forever. Maybe that’s not valuable data we need for future civilizations.

    What if a valuable creator dies and noone is there to run their instance? These are important things to consider and think through so we can solve them. Maybe the answer is a community driven peer node replication?

    These aren’t unsolvable hurdles, they’ve been solved already.


  • Real world development isn’t creating exciting apps all the time, it’s writing the same exact boring convention based code sticking to an established pattern.

    It can be really boring and unchallenging to create your millionth respiratory, or you can prompt your ide to create a new repo and with one sentence it will create stub out 10 minutes worth of tedious prep work. It makes programming fun again.

    In one prompt, it can look at my finished code and stub out half decent documentation that otherwise wouldn’t have been completed at. It does hallucinate sometimes, or it completely misunderstands the code, so you have to correct a few sentences, but the brain drain of coming to with the sentence structure to write useful documentation is completely lifted, and the code is now well documented.

    AI programming is more than just vibe coding, and it’s way more useful than everyone here insists it’s not.


  • Non of those examples are relevant.

    Those examples are specific tools or specific implementation pattern, AI in development is a tool.

    It doesn’t dictate how to write software or what the written code will look like, it’s a tool that speeds up your code wiring. It catches typos and silly bugs that take hours to debug, it’s able to generate useful unit tests, it can clean up and apply my code style way better than codemaid or resharper ever code, it’s taken care of so much tedious shit and made software development fun again.

    Vibe coding is not the future of development. If you aren’t learning to use AI as a tool in development, you are going to be left behind.

    It’s more apt to compare it to IDEs. Sure, you can still write you entire app in vim and compile it in the terminal, but you would have been very foolish to deny the future of development was in IDEs.