this post was submitted on 29 Feb 2024
782 points (98.4% liked)

Programmer Humor

31793 readers
33 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 32 comments
sorted by: hot top controversial new old
[–] arudesalad 244 points 5 months ago (3 children)

It didn't change anything for me...

[–] [email protected] 100 points 5 months ago (1 children)

I think it's only worrying if it makes your code look better.

[–] [email protected] 39 points 5 months ago* (last edited 5 months ago) (1 children)

Wonder what will happen if we put Yandere Simulator's code in there.

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

i think the problem there is more structural than formatting

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

I got an email from the devs asking for style advice.

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

Congrats...

[–] [email protected] 86 points 5 months ago (1 children)

Why use this tool? Just hire some of the people from my dev team.

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

I got a couple of guys you can borrow as well; fuck shit up real nice

[–] [email protected] 58 points 5 months ago (1 children)

So it's just a wrapper for prettier?

[–] thetreesaysbark 21 points 5 months ago

Buuurrrnnnn

[–] [email protected] 38 points 5 months ago (1 children)
[–] [email protected] 68 points 5 months ago (2 children)
[–] [email protected] 22 points 5 months ago
[–] [email protected] 26 points 5 months ago

So basically GNU style formatting?

[–] DannyBoy 23 points 5 months ago (1 children)

Bet it adds { on the next line.

[–] [email protected] 21 points 5 months ago (1 children)

See the example someone else posted. It does as you say but only some times!

[–] Imgonnatrythis 27 points 5 months ago (1 children)

Inconsistentcy is key for good shitification!

[–] [email protected] 7 points 5 months ago* (last edited 5 months ago)

Programmer is insufficiently polite

- INTERCAL

[–] [email protected] 22 points 5 months ago (1 children)

Someone seems to have run this on the UI of Twitter during its conversion into X.

And Reddit too.

[–] threelonmusketeers 5 points 5 months ago (1 children)

It went from Twitter to Xitter to Xittier.

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

When will it hurry up to become Xhittiest and then we can all be done with it!? :-P

[–] [email protected] 13 points 5 months ago (1 children)

Is this available for Android studio

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

It is android studio

[–] [email protected] 11 points 5 months ago (1 children)

Like the good old BASIC compactor we had in the 80s, and this also exists for Javascript, replace all variables with a to z then aa to az etc if more than 26, compact every line with ';' etc in the end it's uneradable

[–] aBundleOfFerrets 1 points 5 months ago

This is not a minifier

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

I expect this to be non-deterministic with random amounts of whitespace each time you run it

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

Any recommendations? I think a collection of tools like this would make for a hilarious local meetup.

[–] [email protected] 7 points 5 months ago (2 children)

Honestly.. clean code can be hard to read. It's sometimes easier to recognise certain parts in shitty code because it has a more distinctive appearance.

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

this guy writes shitty code

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

... What? Code quality is "does it work" followed by readability, only then do you get into performance and other things

Good code is better than shitty code by definition.

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