ShinyLemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago

Some people just wake up and choose violence

lemmy.world

message-square
72
fedilink
800

Some people just wake up and choose violence

lemmy.world

alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago
message-square
72
fedilink
alert-triangle
You must log in or register to comment.
  • asyncrosaurus@programming.dev
    link
    fedilink
    arrow-up
    138
    arrow-down
    29
    ·
    2 years ago

    I continue to be baffled and amused by the complete meltdown of the typescript community over the actions of a single man on a single package. The only people who have legitimate gripes are those that had been actively contributing and whose work was erased. The rest of you are acting absurdly childish. The anger and vitriol being thrown at anyone who disagrees on how to write javascript would make me embarrassed if I was associated or involved in the ts community.

    • amzd@kbin.social
      link
      fedilink
      arrow-up
      122
      arrow-down
      1
      ·
      2 years ago

      They not only removed typescript without implementing an alternative breaking many projects depending on that library but they did it without informing the open source community which means many people who invested their time in making PRs (there was 60+ open PRs) have to basically completely redo their work.

      • asyncrosaurus@programming.dev
        link
        fedilink
        arrow-up
        45
        arrow-down
        6
        ·
        edit-2
        2 years ago

        Yes, and the people directly contributing to the project have legitimate gripes. Although, the parable of dhh is if you get on an asshole scorpions back, don’t be surprised if you get stung. Dudes been an unreasonable prick for nearly 20 years now.

        My comments directed at the manufactured outrage from the tooling zealots incapable of having a mature conversation. Or even accept a difference of opinion. The number of comments that start with, "never heard of Turbo, but let me weigh in on why you’re an idiot for not liking Typescript. " is very telling…

      • learningduck@programming.dev
        link
        fedilink
        arrow-up
        23
        ·
        edit-2
        2 years ago

        Which project is this? So, the project owner did this?

        Ah, it’s Turbo

        • Riskable@programming.dev
          link
          fedilink
          English
          arrow-up
          14
          ·
          2 years ago

          To be fair, how could you not believe that he was gonna go Turbo?

    • Zeth0s@lemmy.world
      link
      fedilink
      arrow-up
      45
      ·
      2 years ago

      Ootl, what’s going on? I haven’t read anything

      • forksandspoons@lemmy.world
        link
        fedilink
        arrow-up
        42
        ·
        edit-2
        2 years ago

        Start here https://github.com/hotwired/turbo/pull/972 and then https://github.com/hotwired/turbo/pull/973

        Tldr someone moved a popular repo from typescript to JavaScript, the negative response was quite overwhelming.

        • Black616Angel@feddit.de
          link
          fedilink
          arrow-up
          14
          arrow-down
          1
          ·
          2 years ago

          The speed of a single-page web application without having to write any JavaScript

          Ahahahahahahaha! 😂

        • dukk@programming.dev
          link
          fedilink
          arrow-up
          6
          arrow-down
          1
          ·
          2 years ago

          The fact is that I actually rather like JavaScript. I’d go so far as to say it’s my second favorite language after Ruby. Yes, a distant second, but a second none the less. This wasn’t always the case. But after we got proper classes in JavaScript, and all the other improvements that flowed since ES6, it’s become a real joy to write.

          Is it just me or is the tone here unnecessarily aggressive?

          (Read the PR to understand)

        • Zeth0s@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          Cheers

      • Grappling7155@lemmy.ca
        link
        fedilink
        arrow-up
        35
        arrow-down
        1
        ·
        2 years ago

        It started here: https://world.hey.com/dhh/turbo-8-is-dropping-typescript-70165c01

    • TheRadiatorIsWarm@sopuli.xyz
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      2 years ago

      Sorry, I’m out of the loop. Can you ELI5 what happened/what even is going on with TS?

      • Phen@lemmy.eco.br
        link
        fedilink
        arrow-up
        19
        ·
        2 years ago

        Nothing is actually going on with typescript. This guy who’s a big name in programming for creating a lot of good things and having a lot of shitty opinions just removed typescript from one of their projects and some folks are desperate to make that be a big news.

        They removed typescript because they saw no benefit in using it. Then a lot of folks who can’t deal with typescript got excited because “hey someone is trashing that thing I hate”.

      • KillAllPoorPeople@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        2 years ago

        https://www.youtube.com/watch?v=5ChkQKUzDCs

        • PipedLinkBot@feddit.rocksB
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 years ago

          Here is an alternative Piped link(s):

          https://piped.video/watch?v=5ChkQKUzDCs

          Piped is a privacy-respecting open-source alternative frontend to YouTube.

          I’m open-source, check me out at GitHub.

    • DrQuint@lemm.ee
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      2 years ago

      deleted by creator

    • MashedTech@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      2 years ago

      Maybe DHH influential and many will follow in his footsteps

      • jdeath@lemm.ee
        link
        fedilink
        arrow-up
        1
        arrow-down
        8
        ·
        2 years ago

        deleted by creator

        • avonarret1@programming.dev
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          2 years ago

          Yeah, hopefully. Because walking around in a foreign country without any kind of navigation is a pure joy.

  • kingthrillgore@lemmy.ml
    link
    fedilink
    arrow-up
    46
    arrow-down
    2
    ·
    2 years ago

    When I saw “dhh” on the post about this turbo decision that said it all really. Dhh is a tool.

    • colonial@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Care to clue me in? I spend my time far, far away from the web dev sphere :p

      • kingthrillgore@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        He became a patron saint because he developed Rails, and he huffed too many of his own farts. His track record can be boiled down to thinking he knows what’s best and the evidence is damning

        • https://world.hey.com/dhh/turbo-8-is-dropping-typescript-70165c01 The decision that made the spaghetti flow out of our collective pockets
        • https://janeyang.org/2021/04/27/an-open-letter-to-jason-and-david/
        • https://www.theverge.com/2021/4/27/22406673/basecamp-political-speech-policy-controversy
        • https://tomstu.art/the-dhh-problem
        • https://www.youtube.com/watch?v=FnmZhXWohP0&t=430s&pp=ygUJZGhoIHJhaWxz
        • https://thenewstack.io/railsconf-and-dhh-go-their-separate-ways/

        See also: https://en.wikipedia.org/wiki/Narcissistic_personality_disorder

  • 00dani@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    36
    ·
    2 years ago

    huh. what was the rationale for removing it in the first place? seems like a waste to throw away a whole codebase worth of perfectly good type annotations

    • Phen@lemmy.eco.br
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      2 years ago

      They wanted to generate controversy to help market a new set of products they are announcing.

    • Nato Boram@lemm.ee
      link
      fedilink
      English
      arrow-up
      15
      ·
      2 years ago

      No rationale provided.

    • foobaz@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      shitposting

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      JSDoc enjoyers:
      Your browser does not support playing HTML5 video. You can download a copy of the video file instead. Here is a description of the content: tumbleweeds rolling

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    22
    ·
    2 years ago

    People seems to be riled up by this, but turbo is mostly used with ruby on rails, right? I’m not familiar with ruby on rails, does it actually support some form of static typing it type hints? From the blog post, the dev (which is also the ruby on rails creator) doesn’t seem to be a fan of bolting static typing into dynamic typing language.

    • tvbusy@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      20
      arrow-down
      2
      ·
      2 years ago

      RoR is very… specific. Some love it because it comes with magic. Many hate it for the same reason.

      You either knows the magic and love it, or you hate it with a passion. You never really know when (not if) your change will break the system because it’s supposed to name in a very specific way that work by, again, magic.

    • umbraroze@kbin.social
      link
      fedilink
      arrow-up
      12
      arrow-down
      2
      ·
      2 years ago

      In Ruby, the convention is usually that things are duck-typed (the actual types of your inputs don’t matter as long as they implement whatever you’re expecting of them, if not, we throw an exception). Type hinting could be possible, but it basically runs contrary to the idea.

      Now, Ruby on Rails developers are expecting some kind of magic conversion happening at the interfaces. For example, ActiveRecord maps the database datatypes to Ruby classes and will perform automated conversions on, say, date/time values. But from the developer perspective it doesn’t generally matter how this conversion actually happens, as long as there’s something between the layers to do the thing.

    • Rikudou_Sage@lemmings.world
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      It’s also used quite a bit with Symfony framework (PHP) which is strongly typed. I use it for example at https://schedule.lemmings.world. A shame, really.

  • unsaid0415@szmer.info
    link
    fedilink
    English
    arrow-up
    73
    arrow-down
    51
    ·
    edit-2
    1 year ago

    deleted by creator

    • magic_lobster_party@kbin.social
      link
      fedilink
      arrow-up
      122
      arrow-down
      1
      ·
      edit-2
      2 years ago

      CI/CD is useful regardless of which language you’re using. Sooner or later some customer is going to yell at you because you didn’t discover the fatal error before deploying.

      • jabberati@social.anoxinon.de
        link
        fedilink
        arrow-up
        2
        arrow-down
        31
        ·
        2 years ago

        @magic_lobster_party @alphacyberranger @unsaid0415 CI/CD won’t prevent that. I wonder what it is for. Not using the CPU on my laptop for tests? And why would I want to commit before knowing the tests pass?

        • AstridWipenaugh@lemmy.world
          link
          fedilink
          arrow-up
          51
          arrow-down
          1
          ·
          2 years ago

          CICD isn’t an alternative to testing your own work locally. You should always validate your work before committing. But then once you do, the CICD pipeline runs to run the tests on the automation server and kicks off deployments to your dev environment. This shows everyone else that the change is good without everyone having to pull down your changes and validate it themselves. The CICD pipeline also provides operational readiness since a properly set up pipeline can be pointed to a new environment to recreate everything without manual setup. This is essential for timely disaster recovery.

          If you’re just working on little projects by yourself, it’s usually not worth the time. But if you’re working in anything approaching enterprise grade software, CICD is a must.

        • Stumblinbear@pawb.social
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          He says as though he’s never had two PR merges conflict logically with each other

          • jabberati@social.anoxinon.de
            link
            fedilink
            arrow-up
            0
            ·
            2 years ago

            @Stumblinbear I only worked on small projects so far, that’s probably why I don’t understand it. But a merge commit is like any other commit and the person pushing this commit has to make sure it works.

            • Stumblinbear@pawb.social
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              2 years ago

              When working in teams, merging in two pull requests with seemingly unrelated changes is common practice. If I had to rebase and re-run tests every time another PR got merged in while mine was awaiting reviews, I’d spend most of my time running tests

    • jmk1ng@programming.dev
      link
      fedilink
      arrow-up
      60
      arrow-down
      4
      ·
      2 years ago

      Did it work? How do you know that? A consumer of your package sends a int when your package expects a string.

      What now?

      • sik0fewl@kbin.social
        link
        fedilink
        arrow-up
        46
        arrow-down
        1
        ·
        2 years ago

        Consumer just needs to write 4x as many unit tests to make up for lack static typing. Hopefully the library author has done the same or you probably shouldn’t use that library.

        • marcos@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          2 years ago

          4x as many unit tests

          Well… the people fighting against TS are simply not testing things thoroughly. So they are not writing those tests.

          Some times that’s even perfectly ok. But you don’t want to build things over a complex library that has this attitude.

          (Except for svelte. It’s meaningless for svelte, as TS was always a really bad fit for it.)

        • Stumblinbear@pawb.social
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          It’s ok, just do what my company does and write no tests at all!

      • jet@hackertalks.com
        link
        fedilink
        English
        arrow-up
        36
        arrow-down
        2
        ·
        2 years ago

        Hey man it passed the CICD. Not my problem

      • Null User Object@programming.dev
        link
        fedilink
        arrow-up
        3
        arrow-down
        20
        ·
        2 years ago

        Theoretically, they’ll test and notice that doesn’t work and fix their code before they deploy it to production.

        • The Quuuuuill@slrpnk.net
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          2 years ago

          Where can you point to other developers evidence that the code in git matches the code you deployed? Deploying locally built packages to prod is an automatically fireable offense because its not auditable

          • Null User Object@programming.dev
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            2 years ago

            WTF are you talking about? All I’m saying is that if you write code (that in the context of this discussion passes arguments to a method you didn’t write, that may not be the type the author of the method expected someone to pass, but really, that’s completely beside the point), you should, oh, I don’t know, maybe test that it actually works, and maybe even (gasp) write some automated tests so that if anything changes that breaks the expected behavior, the team immediately knows about it and can make appropriate changes to fix it. You don’t need a strongly typed language to do any of that. You just need to do your job.

    • Ranman@lemmy.world
      link
      fedilink
      arrow-up
      26
      arrow-down
      2
      ·
      2 years ago

      deleted by creator

      • Pyro@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        2
        ·
        2 years ago

        I thought it was clear: they’re implying JS is simpler/faster to write and deploy because transpilation is necessary when using TS (unless you use a modern runtime).

  • Sgarcnl@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    2 years ago

    Repo?

    • annoyed-onion@lemmy.world
      link
      fedilink
      arrow-up
      28
      arrow-down
      1
      ·
      2 years ago

      It was for turbo

      Pr: https://github.com/hotwired/turbo/pull/972

      Context: https://youtu.be/Bv3YhGku92w?si=uuyb8Cyfn06BLX6o

      • UlrikHD@programming.dev
        link
        fedilink
        arrow-up
        28
        arrow-down
        4
        ·
        2 years ago

        Got a few minutes into the context video before I head to close it. Do people actually enjoy YouTubers presenting stuff in this manner?

        • PizzaDeposit@lemm.ee
          link
          fedilink
          arrow-up
          10
          ·
          2 years ago

          Yes I do.

        • annoyed-onion@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Found him when learning vim and watched a few of his twitch streams. Quite enjoy his takes on things. Not the biggest fan of this new reaction content but do occasionally watch ones related to the tech I use for the day job

          • MashedTech@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            Yeah, sometimes it’s too over the top. But he has some thoughts that are kind of refreshing to hear in this Twitter driven development world.

      • dingleberry@discuss.tchncs.de
        link
        fedilink
        arrow-up
        16
        arrow-down
        1
        ·
        2 years ago

        Do we now have “influencer programmers” now? 🤣

        • annoyed-onion@lemmy.world
          link
          fedilink
          arrow-up
          12
          ·
          2 years ago

          We always have had em, they’re just on YouTube now too 😂

        • Tuna Casserole@programming.dev
          link
          fedilink
          arrow-up
          7
          ·
          2 years ago

          Huh… now that you mention it, I guess that’s what people like Bob Martin and mpj (along many others of course) might classify as. Would any guru fall under this category?

        • DrQuint@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          deleted by creator

      • PipedLinkBot@feddit.rocksB
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        4
        ·
        2 years ago

        Here is an alternative Piped link(s): https://piped.video/Bv3YhGku92w?si=uuyb8Cyfn06BLX6o

        Piped is a privacy-respecting open-source alternative frontend to YouTube.

        I’m open-source, check me out at GitHub.

      • Rooki@lemmy.world
        link
        fedilink
        arrow-up
        9
        arrow-down
        4
        ·
        2 years ago

        I still dont get it why they remove ts??? its dumb in many ways.

        • annoyed-onion@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          2 years ago

          Is strange… In the video I linked, he said it apparently broke some repos. He also said that they could have at the very least added in jsdoc comments to keep types without requiring extra tooling.

          • Rooki@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            ok.

      • baltakatei@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        What’s with that si parameter?

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 years ago

          I think it is share ID. I’ve noticed YouTube started putting them in links made with the share button.

        • annoyed-onion@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Not sure, I copied the link from the share button on the mobile app

    • AureumTempus@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      2 years ago

      deleted by creator

  • tills13@lemmy.world
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    2 years ago

    I’d reject anything from Theo too tbh

    • sip@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 years ago

      shots fired

    • foobaz@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      more like t -3

  • fbmac@lemmy.fbmac.net
    link
    fedilink
    arrow-up
    14
    arrow-down
    4
    ·
    2 years ago

    are browsers and libs good enough to do front end without a build step yet?

    • adrian783@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      2 years ago

      you’re perfectly welcome to throw hand rolled html/css/js on an ftp server

    • kuneho@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      2 years ago

      I feel that’s something frontend devs deliberately left behind to make them feel like big dogs do /s

    • JDtheGeek@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Watching Bun 1.0 release closely, as seems to be helping move web development much closer to that goal. Fingers crossed.

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    arrow-down
    18
    ·
    2 years ago

    #971 is correct

  • TheHolyT@lemmygrad.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    44
    ·
    2 years ago

    Ts is shit, just use js they even want to add types to vanilla js

    • sveske_juice@lemmy.world
      link
      fedilink
      arrow-up
      27
      arrow-down
      1
      ·
      2 years ago

      There is a reason types exists…

    • JakenVeina@lemm.ee
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      So, they want to incorporate TypeScript into vanilla JS?

      • FooBarrington@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        No. They want to add syntax which allows browsers to parse typed code, but it would just be ignored - the type checking would still have to be done by e.g. Typescript.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.1K users / day
  • 4.69K users / week
  • 9.14K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.35K Posts
  • 46.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org