I recently made a small pure JS package at my company. It just fucking worked, can you believe it? No setting up compilation and CI/CD for build + release. Just put it in the repo and publish manually, and it just worked, it’s ridiculous
Some people just wake up and choose violence
Submitted 1 year ago by alphacyberranger@lemmy.world to programmer_humor@programming.dev
https://lemmy.world/pictrs/image/7bccaee9-921b-420d-9e83-81041dc1d2f0.webp
Comments
unsaid0415@szmer.info 1 year ago
magic_lobster_party@kbin.social 1 year ago
CI/CD is useful regardless of which language you’re useful. Sooner or later some customer is going to yell at you because you didn’t discover the fatal error before deploying.
jmk1ng@programming.dev 1 year 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 1 year 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.
jet@hackertalks.com 1 year ago
Hey man it passed the CICD. Not my problem
nulluser@programming.dev 1 year ago
Theoretically, they’ll test and notice that doesn’t work and fix their code before they deploy it to production.
Ranman@lemmy.world 1 year ago
[deleted]Pyroglyph@lemmy.world 1 year 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).
00dani@lemmy.blahaj.zone 1 year 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 1 year ago
They wanted to generate controversy to help market a new set of products they are announcing.
NatoBoram@lemm.ee 1 year ago
No rationale provided.
foobaz@lemmy.world 1 year ago
shitposting
QuazarOmega@lemy.lol 1 year ago
JSDoc enjoyers:
tumbleweeds rolling
redcalcium@lemmy.institute 1 year 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 1 year 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 1 year 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@lemmings.world 1 year ago
It’s also used quite a bit with Symfony framework (PHP) which is strongly typed. I use it for example at schedule.lemmings.world. A shame, really.
Sgarcnl@lemmy.world 1 year ago
Repo?
annoyed_onion@lemmy.world 1 year ago
It was for turbo
UlrikHD@programming.dev 1 year 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?
dingleberry@discuss.tchncs.de 1 year ago
Do we now have “influencer programmers” now? 🤣
PipedLinkBot@feddit.rocks [bot] 1 year ago
Here is an alternative Piped link(s): 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 1 year ago
I still dont get it why they remove ts??? its dumb in many ways.
tills13@lemmy.world 1 year ago
I’d reject anything from Theo too tbh
sip@programming.dev 1 year ago
😂
foobaz@lemmy.world 1 year ago
more like t -3
fbmac@lemmy.fbmac.net 1 year ago
are browsers and libs good enough to do front end without a build step yet?
adrian783@lemmy.world 1 year ago
you’re perfectly welcome to throw hand rolled html/css/js on an ftp server
kuneho@lemmy.world 1 year ago
I feel that’s something frontend devs deliberately left behind to make them feel like big dogs do /s
JDtheGeek@lemmy.world 1 year ago
Watching Bun 1.0 release closely, as seems to be helping move web development much closer to that goal. Fingers crossed.
asyncrosaurus@programming.dev 1 year 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 1 year 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 1 year ago
Yes, and the people directly contributing to the project have legitimate gripes. Although, the parable of dhh is if you get on am asshole scorpions back, don’t be surprised if you get stung. Dudes been an unreasonable price 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 1 year ago
Which project is this? So, the project owner did this?
Zeth0s@lemmy.world 1 year ago
Ootl, what’s going on? I haven’t read anything
forksandspoons@lemmy.world 1 year ago
Start here github.com/hotwired/turbo/pull/972 and then! github.com/hotwired/turbo/pull/973
Tldr someone moved a popular repo from typescript to JavaScript, the negative response was quite overwhelming.
Grappling7155@lemmy.ca 1 year ago
It started here: …hey.com/…/turbo-8-is-dropping-typescript-70165c0…
Overlock@sopuli.xyz 1 year ago
Sorry, I’m out of the loop. Can you ELI5 to me what happened/what even is going on with TS?
Phen@lemmy.eco.br 1 year 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 1 year ago
www.youtube.com/watch?v=5ChkQKUzDCs
MashedTech@lemmy.world 1 year ago
Maybe DHH influential and many will follow in his footsteps
jdeath@lemm.ee 1 year ago