109 points

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.

permalink
report
reply
121 points

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.

permalink
report
parent
reply
39 points
*

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…

permalink
report
parent
reply
23 points
*

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

Ah, it’s Turbo

permalink
report
parent
reply
14 points

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

permalink
report
parent
reply
45 points

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

permalink
report
parent
reply
42 points
*

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.

permalink
report
parent
reply
13 points

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

Ahahahahahahaha! 😂

permalink
report
parent
reply
5 points

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)

permalink
report
parent
reply
3 points

Cheers

permalink
report
parent
reply
12 points
*

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

permalink
report
parent
reply
19 points

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

permalink
report
parent
reply
2 points
4 points

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.

permalink
report
parent
reply
0 points
Deleted by creator
permalink
report
parent
reply
-1 points

Maybe DHH influential and many will follow in his footsteps

permalink
report
parent
reply
-7 points
Deleted by creator
permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
44 points

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

permalink
report
reply
1 point

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

permalink
report
parent
reply
36 points

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

permalink
report
reply
16 points

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

permalink
report
parent
reply
15 points

No rationale provided.

permalink
report
parent
reply
10 points

shitposting

permalink
report
parent
reply
5 points

JSDoc enjoyers:

permalink
report
parent
reply
22 points
*
Deleted by creator
permalink
report
reply
121 points
*

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.

permalink
report
parent
reply
-29 points

@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?

permalink
report
parent
reply
49 points

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.

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
56 points

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

What now?

permalink
report
parent
reply
45 points

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.

permalink
report
parent
reply
6 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
34 points

Hey man it passed the CICD. Not my problem

permalink
report
parent
reply
-17 points

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

permalink
report
parent
reply
6 points

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

permalink
report
parent
reply
24 points
Deleted by creator
permalink
report
parent
reply
7 points

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

permalink
report
parent
reply
22 points

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.

permalink
report
reply
18 points

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.

permalink
report
parent
reply
10 points

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.

permalink
report
parent
reply
6 points

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.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

Community stats

  • 3.4K

    Monthly active users

  • 1K

    Posts

  • 37K

    Comments