this post was submitted on 03 Apr 2024
425 points (89.1% liked)

Programmer Humor

32050 readers
1604 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 58 points 5 months ago (2 children)

Hahaha now code-golf it. One line FTW!

remove(Image.open(‘cl.jpeg’)).save(‘output.png’)

[–] [email protected] 59 points 5 months ago (3 children)

If I find this in production I'm whipping your ballsack till you change it back.

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

import("rembg").remove(import("PIL").Image.open(‘cl.jpeg’)).save(‘output.png’)

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

Can i hire you?

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

So I'm not going to change it

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

Code golf! I just learned something new 😂

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

https://codegolf.stackexchange.com/

Enjoy a new rabbit hole to dive down

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

You never heard of code Golf before? It's usually programming challenges where the goal is to use the smallest number of source code characters possible.

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

I haven't either but I like it.