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

Programmer Humor

38016 readers
134 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
all 33 comments
sorted by: hot top controversial new old
[–] arudesalad@sh.itjust.works 243 points 2 years ago (3 children)

It didn't change anything for me...

[–] hakunawazo@lemmy.world 99 points 2 years ago (1 children)

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

[–] Rinna@lemm.ee 38 points 2 years ago* (last edited 2 years ago) (1 children)

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

[–] knorke3@lemm.ee 7 points 2 years ago

i think the problem there is more structural than formatting

[–] Rivalarrival@lemmy.today 54 points 2 years ago

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

[–] devilish666@lemmy.world 10 points 2 years ago

Congrats...

[–] TrickDacy@lemmy.world 58 points 2 years ago (1 children)

So it's just a wrapper for prettier?

[–] thetreesaysbark@sh.itjust.works 21 points 2 years ago

Buuurrrnnnn

[–] midori@lemmy.world 38 points 2 years ago (1 children)
[–] Toldry@lemmy.world 68 points 2 years ago (3 children)
[–] HangingFruit@lemmy.world 22 points 2 years ago
[–] Omega_Haxors@lemmy.ml 1 points 2 years ago

The addition of comments makes this radioactive to the one kind of person who wouldn't mind reading ugly code.

[–] nachtigall@feddit.de 26 points 2 years ago

So basically GNU style formatting?

[–] DannyBoy@sh.itjust.works 23 points 2 years ago (1 children)

Bet it adds { on the next line.

[–] perishthethought@lemm.ee 21 points 2 years ago (1 children)

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

[–] Imgonnatrythis@sh.itjust.works 27 points 2 years ago (1 children)

Inconsistentcy is key for good shitification!

[–] knorke3@lemm.ee 7 points 2 years ago* (last edited 2 years ago)

Programmer is insufficiently polite

- INTERCAL

[–] OpenStars@startrek.website 22 points 2 years ago (1 children)

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

And Reddit too.

[–] threelonmusketeers@sh.itjust.works 5 points 2 years ago (1 children)

It went from Twitter to Xitter to Xittier.

[–] OpenStars@startrek.website 3 points 2 years ago

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

[–] eatham@aussie.zone 13 points 2 years ago (1 children)

Is this available for Android studio

[–] gingernate@lemmy.world 15 points 2 years ago

It is android studio

[–] Magister@lemmy.world 11 points 2 years 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

This is not a minifier

[–] shotgun_crab@lemmy.world 10 points 2 years ago

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

[–] mesamunefire@lemmy.world 9 points 2 years ago

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

[–] bstix@feddit.dk 7 points 2 years 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.

[–] brian@programming.dev 17 points 2 years ago

this guy writes shitty code

[–] theneverfox@pawb.social 2 points 2 years 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.

[–] 7heo@lemmy.ml 3 points 2 years ago