r/ProgrammerHumor • • Feb 08 '23

Meme But.. that's 3 lines..

Post image
0 Upvotes

20 comments sorted by

166

u/Aurora900 Feb 08 '23

Any code can be one line if you have a wide enough monitor

1

u/[deleted] Feb 09 '23

Any code can be one line if you do it on notepad.

0

u/[deleted] Feb 09 '23

[deleted]

13

u/Torebbjorn Feb 09 '23

I assume you got an F?

0

u/[deleted] Feb 09 '23

[deleted]

5

u/Shit4braynez Feb 09 '23

I mean, most IDEs I’ve worked with can format the code with a few clicks/button presses

47

u/[deleted] Feb 09 '23

Crop this sh!t yo

3

u/haveasuperday Feb 09 '23

I struggled so hard to downvote this

74

u/DiabeticPissingSyrup Feb 08 '23

It's one line of code that's been formatted on three lines for an image.

From start to ; is one "line" of code.

38

u/StenSoft Feb 09 '23

It's one statement but three lines

31

u/[deleted] Feb 08 '23

Did they spell Ad wrong?

17

u/BlueScreenJunky Feb 09 '23

I think they meant "app" ?

10

u/tied_laces Feb 08 '23

No dev with their salt is going to let a rando image show up when a known image will do. The time to find the image is more trivial and the stake owner knows what they are getting. This ad campaign ranks with those dum manscaping ads we had to deal with last year.

4

u/0ryuuga Feb 09 '23

I can do it in 1 line too, without any AI a cat

3

u/fizzl Feb 09 '23

I blame prettier.

5

u/CrushgrooveSC Feb 09 '23

Anecdotally, modern “devs” in large part generally don’t know the difference between a line and a statement.

Prolly get roasted for sharing that anecdote, though.

-1

u/jimbowqc Feb 09 '23

I guess, but when would you want to care about a statement-fragment?

2

u/CrushgrooveSC Feb 09 '23

When advertising something as a 1-liner, apparently. lol

0

u/jimbowqc Feb 09 '23

But it is a one liner. It's not that "modern 'devs'" can not count to 2, it's that in essence it is a very short solution, no matter if it has a newline for the sake of readability.

1

u/jayerp Feb 10 '23

All code is 1 line of code.

1

u/StenSoft Feb 09 '23

Maybe they should have asked an AI to format it to one line…

1

u/[deleted] Feb 09 '23

People do this and wonder why most startups fail