Prettier? Nah I got something way better
ฝัง
- เผยแพร่เมื่อ 21 ส.ค. 2024
- As soon as I saw this I knew I had to try it. It's the first formatter good enough for HTMX. Sorry Prettier, time to move aside for...SHITTIER!
GITHUB github.com/roh...
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏
Breaking news: Theo harasses open source projects
open source in shambles right now
I ran shittier on my project, I think it's still working, because nothing has changed
git diff
>
how are the odds that shittier would format shitty code into properly formatted code xD
@@rodjenihmhe saying it didn't change because it was already shitty.
damn... that's cold bro 😅😅😅😅
@@breadles_yes and he is saying that git diff would reveal the same thing, no changes
Ok 500 response was the funniest point in the video
Especially the irony that the 500 was because of formatting in a PR about a formatter
@@luketurner314 Parser, actually.
Ah, finally a library that replaces my code.
This was the perfect response of github 🤣 4:12
can't script this shit, so funny lmao
I'm a former Turbofan Test Engineer for Lockheed and Rolls-Royce. During engine tests, we had to log activity as the test progressed. One final event was shutting down the engine, where we were instructed to type "Shutting down engine". However, we would "accidentally" type "Shitting down engine. Until engineering came back and said "we run scripts to detect various events and sync to the data, could you please ensure you are typing the comments as instructed?"
Good times!
That poor engine
I ran shittier on my project, but it changed nothing! 😮😅
0:25 "Okay, so this is like gofmt then."
- Theo Browne, 2024
0:17 nice one editor
he had one job (tbf. google mostly scans the first 2min for what it categorizes as "cussing")
@@masterflitzer isn't it first 15 seconds?
@@birthdayzrock1426 no definitely not that short, it was 1 or 2 min, but I can't reference you a source so not 100% certain
@@masterflitzer well fuck
@@birthdayzrock1426 yeah, I'm sure the video is yellow in theos dashboard, if he really cares about it he should've proof watched the editors work specifically in this video xD
I've been doing this myself all this time, when this already existed?? Game changer. Thanks!
My man made a whole video just so he could express his feelings about gofmt and I couldn't love this more hahaha
Was gonna click off but now I gotta find out what he says about gofmt.
✨This is art✨
this is garbage.
@@itzhexen0 I'm joking because theo said it
@@itzhexen0well sometimes art is garbage
@@masterflitzer i agree. sometimes garbage is art.
editor gave up lmao
TH-cam makes it so you can't cuss in the first 30 seconds of the video or whatever or else you get immediately demonetized
@@lamspam oh
Wait, it totally broke the jQuery code though. Look at line 8 and 28 for instance (1:52).
It changed `import { fnToString } from ...` to `import { function toString() { [native code] } } from ...`, and more `[native code]` in other places.
It makes it even funnier how Theo just blindly trusted this and made a PR and made fun of the checklist, completely ignoring it
this is jQuery and now it is fixed. 💀
The disclaimer is good, and the joke is funny, but you probably shouldn't have done it anyway, because people are idiots.
Some more than others.
Yeah, don't want to remember what happened to expressjs
@@harshmpatil Don't remember what happened to JS
01:56 function Object() { [native code] } : Jquery ,
this is not valid javascript!
seems to be the `constructor' property name in the jQuery.fn = jQuery.prototype declaration.
@@yanmorin1503does shittier use javascript non-null prototype object as hashmap?
"this is hilarious" he said with the most dead inside voice I ever heard
So, is it deterministic or not?
Sounds like no, unless the "random" spacing is seeded from the line it's operating on.
“Shittier looks ‘PRETTY’ great.”
I see what you did there 😂
now we need a prettier is shitty bad video
1:52 You know what? I feel like there's a lesson to be learned with the indented imports.
People always argue for or against ordering and grouping them by leaving empty lines, etc.
But maybe the solution would be to uniquely indent each group, something like:
import * from 'react';
import * from 'jquery';
import * from 'lodash';
import * from 'components/Button';
import * from 'services/Users';
import * from './styles'
It clearly separates the groups visually, without creating unnecessary extra lines
I love prettier to format my markdown files to keep consistency, I actually thought this was going to be better and got excited. As my daughter would say, I'm heartbroken 😂😂😂😂
Loved it though
I'm going to use shittier on my copy paste code from Chat GPT so my boss thinks I wrote it.
I'm sure a few colleagues at work has been using this in the past.
software engineers are getting replaced faster everyday
It's funny, because I was just studying clean code stuff today 😂
I dont understand/cant tell if theo actually dislikes htmx or not though...
Ah classic. Microsoft makes everything they buy shittier. Submit a pull request and server error. I await the apologists in the crowd making excuses such as "he entered bad input" as though that's a valid reason for a server to crash instead of displaying a message telling you that you entered something wrong.
I've interviewed people who format code like that. :(
Wow!, and no need for a config file either
Do what I say, not what I do.
Hey Theo! Do you recommend this for production apps?
1:15
The No. 1 requirement for writing shitty code is using JavaScript.
Don't do what? I am already doing it. JK 😆
Good thumbnail
15 sec rule well respected!
theo just hire me please i wont even charge you a dollar your editor just gave up bleeping in 3 seconds 😭I'll email you my deets
That's because only first 30 seconds get you demonetized ;)
01:34 javascript is case sensitive so shittier breaks code
Not if it changes every instance. Can we say modified globals?
@@anon_y_mousseGeNERaTenUmbERS is exported
other modules that import test.js need change
would use this instead of prettier tbh
you borked github, lol
quackier
How am I this early to one of Theo's videos?!?!
An achievement of a lifetime
This will go down in the annals of history
torture...
Good luck python
LGTM!
🤪🤪🤪🤪🤪 That's going crazy. This is good for ADHD.
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
The editor gave up real fast 😅
I think people only bleep the first X seconds of a video because swearing in the first X seconds makes youtube stop serving it to people or something like that.
awesome
This tool is bad, there is no random single/double quotes. So no thank you
And it doesn't randomly change some of your variable names into emojis or swear words.
i literally couldn't watch