this post was submitted on 10 Sep 2023
793 points (98.3% liked)

Programmer Humor

18958 readers
927 users here now

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

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 106 points 11 months ago (7 children)

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.

[–] [email protected] 119 points 11 months ago (2 children)

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.

[–] [email protected] 38 points 11 months ago* (last edited 11 months 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...

[–] [email protected] 22 points 11 months ago* (last edited 11 months ago) (1 children)

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

Ah, it's Turbo

[–] [email protected] 14 points 11 months ago

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

[–] [email protected] 45 points 11 months ago (2 children)

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

[–] [email protected] 42 points 11 months ago* (last edited 11 months ago) (3 children)

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.

[–] [email protected] 13 points 11 months ago

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

Ahahahahahahaha! 😂

[–] [email protected] 5 points 11 months 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)

[–] [email protected] 3 points 11 months ago
[–] [email protected] 12 points 11 months ago* (last edited 11 months ago) (3 children)

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

[–] [email protected] 19 points 11 months 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".

load more comments (2 replies)
load more comments (4 replies)
[–] [email protected] 42 points 11 months ago (2 children)

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

load more comments (2 replies)
[–] [email protected] 36 points 11 months ago (4 children)

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

[–] [email protected] 16 points 11 months ago

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

[–] [email protected] 15 points 11 months ago

No rationale provided.

[–] [email protected] 10 points 11 months ago

shitposting

[–] [email protected] 5 points 11 months ago

JSDoc enjoyers:
tumbleweeds rolling

[–] [email protected] 22 points 11 months ago (3 children)

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.

[–] [email protected] 18 points 11 months 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.

[–] [email protected] 10 points 11 months 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.

[–] [email protected] 6 points 11 months 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.

[–] [email protected] 20 points 11 months ago (2 children)
[–] [email protected] 27 points 11 months ago (7 children)
[–] [email protected] 23 points 11 months ago (3 children)

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

[–] [email protected] 10 points 11 months ago
load more comments (2 replies)
[–] [email protected] 14 points 11 months ago (3 children)

Do we now have "influencer programmers" now? 🤣

[–] [email protected] 11 points 11 months ago

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

[–] [email protected] 7 points 11 months 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?

load more comments (1 replies)
[–] [email protected] 6 points 11 months ago (2 children)

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

load more comments (2 replies)
[–] [email protected] 5 points 11 months 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.

load more comments (3 replies)
[–] [email protected] 12 points 11 months ago (2 children)

I'd reject anything from Theo too tbh

load more comments (2 replies)
[–] [email protected] 10 points 11 months ago (3 children)

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

[–] [email protected] 12 points 11 months ago

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

load more comments (2 replies)
load more comments
view more: next ›