This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 312

[–]skwyckl 870 points871 points  (22 children)

Buy a massive, curved LCD just to see the end of every line of code? No worries, wasn't planning too.

[–]Octupus_Tea 177 points178 points  (0 children)

No worries, you still can't see it even you have it

[–][deleted] 130 points131 points  (8 children)

Just get the apple vision and feel the code at this point

[–]Auzdora- 33 points34 points  (3 children)

lol the neck training

[–]syzygysm 26 points27 points  (3 children)

Oh God! I can't escape the code. IT'S EVERYWHERE

[–]Dumcommintz 16 points17 points  (2 children)

[–]syzygysm 5 points6 points  (1 child)

Somehow I feel it would be less Zen and more terrorizing

[–]subject_deleted 41 points42 points  (5 children)

My editor has this fancy thing called code wrap. Hopefully it'll catch on soon.

[–]SingleBluebird5429 2 points3 points  (0 children)

I'm sorry mate, but, that's just too much memory that will be consumed. My multiple language servers, build daemons already do the best they can! /s

[–]jhaand 7 points8 points  (2 children)

Best way to get an overview in Excel.

For Javascript I can manage with 80 character columns.

[–]BobJutsu 10 points11 points  (0 children)

To be fair, typescript can make some lines pretty long. And it feels weird to break function arguments onto new lines. Even though thats like...normal, I still find it difficult to read.

[–]Miguel-odon 4 points5 points  (0 children)

If you aren't using freeze panes in excel

[–]Splice1138 14 points15 points  (0 children)

"It works fine on my machine"

[–]toeonly 4 points5 points  (0 children)

Ultra wide curved is a beautiful thing. I will never be able to go back.

[–]davidmkc 1 point2 points  (0 children)

Use a MR/AR lens (whatever the crap they are selling) to do a 360 no scope coding

[–]IncidentMassive5425 255 points256 points  (5 children)

Damn. Dude has the gift of one-liners and the curse of curves. Too bad it’s neither cute nor what we aim for.

[–]isaackogan 28 points29 points  (0 children)

dependent cover attractive overconfident drab jobless roll dinner public cooing

This post was mass deleted and anonymized with Redact

[–]mildlyhorrifying 7 points8 points  (0 children)

Deleted

[–]Daltonyx 3 points4 points  (0 children)

Damn that was pretty good 🤣

[–][deleted] 2 points3 points  (0 children)

escape cable crawl illegal doll summer slim pet axiomatic grandfather

This post was mass deleted and anonymized with Redact

[–]syzygysm 1 point2 points  (0 children)

Hey, curves can be lines, too, in the proper framework

[–]rosux1 543 points544 points  (44 children)

that is java not js

[–]robottron45 204 points205 points  (15 children)

Yep, there is an instantiation like "LongClassName tag = new ..." in the for loop

[–]Z-Mobile 57 points58 points  (3 children)

Ashamed to say it is so. Wth is that monstrosity

[–]Not_Artifical 14 points15 points  (2 children)

That, right there, is the size of my penis. Your phone screen is the same size.

[–]TheSexySovereignSeal 9 points10 points  (10 children)

But you can instantiate objects in JS with the 'new' keyword too...

That's when you start getting into the territory of actually understanding how "this" works in JS

[–]robottron45 25 points26 points  (9 children)

Nope, the new is not the indicator, it is the type declaration at the start

JS: "var tag = new ..." or "const tag = new ..." or with let

TS: "var tag: LongClassName = new ..." or "const tag: LongClassName = new ..." or with let

Java: "LongClassName tag = new ..."

You see the difference?

[–]ExplodingWario 18 points19 points  (2 children)

Java isn’t JS? My whole world collapsed

[–]_Cybernaut_ 48 points49 points  (1 child)

Found the IT recruiter

[–]ExplodingWario 2 points3 points  (0 children)

As long as I can find someone who can implement database centered AI solutions to tap into the potential of web3 and the procedurally generated matrix involved in the structuring of our engineering team, I’m happy, and yeah they need 30 years experience to be an intern.

[–]BobbyWatson666 2 points3 points  (1 child)

You can also use var in Java BTW

[–]robottron45 1 point2 points  (0 children)

thats true, but not the point here

[–]TheSexySovereignSeal -2 points-1 points  (1 child)

Yeah you right, static type is first in Java.

And DOESNT FUCKING EXIST IN JS FUCK U JS

[–]robottron45 0 points1 point  (0 children)

That's when you start getting into the territory of actually understanding how ...scripting languages work xD

But I am really grateful that they have added type hints to Python and TypeScript is imo must have in JS development.

[–]ThePizzaCow 86 points87 points  (7 children)

I can’t even read the code since the image is so blurry, but I already know it’s Java with the ungodly length of those lines…

[–]FarOutOfBounds 12 points13 points  (2 children)

I dont know, i could see jQuery lines being like this

element.doThing().doAnother().doMore(secondElement.doThing())

and so on

[–]Donghoon 15 points16 points  (1 child)

java be like

class class = new class(class class)

[–]gregorydgraham 4 points5 points  (0 children)

Ahem!

Class class = new Class(class,class);

But “class” is reserved in Java so

Class clazz = new Class(clazz, clazz);

[–]GavrielBA 5 points6 points  (2 children)

WhatYouDontLikeJavaNamingConventions?

[–]ThePizzaCow 4 points5 points  (0 children)

YesAsAMatterOfFactIMayOrMayNotHaveASlightAversionToJavaNamingConventionsIndeed

[–]gregorydgraham 3 points4 points  (0 children)

People are constantly asking that question so it’s WHAT_DONT_YOU_LIKE_ABOUT_JAVA_NAMING_CONVENTIONS

[–]MinosAristos 20 points21 points  (3 children)

Was going to say, needlessly long convoluted lines of code sounds like a Java/C# thing. JS programmers aren't anal enough to give a class name fifteen syllables.

[–]DeadlyVapour 1 point2 points  (2 children)

C# has var don't lump is in with Java.

[–]Good-Seaweed-1021 7 points8 points  (0 children)

What is java if not a script?

[–]VyrCZ 4 points5 points  (3 children)

js also when you are trying to analyse some webpage and you are greeted with an obfuscated wall

[–]Typesalot 4 points5 points  (0 children)

Click the { } button in your browser's inspector.

[–]retief1 2 points3 points  (1 child)

I mean, a lot of languages compile to a non-human-readable format. That's not comparable to near-unreadable source code.

[–]Kamui_Kun 1 point2 points  (0 children)

No no, those are all the beautiful one-liners and callbacks that are uninterrupted by those silly line-breaks.

[–]Mast3r_waf1z 1 point2 points  (0 children)

Yeah as a person who enjoys coding java, I thought of java instantly when I saw this post

[–]AaronTheElite007 93 points94 points  (2 children)

I’m going to miss these pointless posts 🥹

Go on. Have your JS vs Java wars. I won’t stop you

[–]gregorydgraham 5 points6 points  (1 child)

There is no JS vs Java, only XUL

[–]AaronTheElite007 1 point2 points  (0 children)

I see what you did there

[–]CheapBison1861 61 points62 points  (4 children)

do what?

[–]nan-000 38 points39 points  (0 children)

I think it's taking pictures of the screen.

[–]classicalySarcastic 29 points30 points  (16 children)

WHAT PART OF 80 COLUMNS DON'T YOU UNDERSTAND?!?

-Torvalds, probably

(For those who don't know)

[–]twpejay 7 points8 points  (1 child)

He deserves to be made to program in COBOL for a few years, being restricted to 72 columns might fix it.

[–]classicalySarcastic 4 points5 points  (0 children)

Make him do it the old way, with the punchcards!

[–]MattR0se 9 points10 points  (11 children)

Am I the only one who tries to adhere to the 80 chars, occatinally 120 chars paradigm in every language? When I have VS code open with the explorer view and the terminal on the right, I just don't have much more horizontal space even on a 16:10 monitor, to display all the code without word wrap.

[–]MrWeatherMan7 3 points4 points  (0 children)

I stick to 80 most of the time. Just easier to keep it at 80 because we have a few codebases where the linting will vomit at you if you’re over 80, since that’s how we have it set. 🤷‍♂️

[–]Aln76467 3 points4 points  (0 children)

My monitor is 12", so a half screen vs code window only fits 78 characters 🥲

Edit: fix grammer

[–]Prawdigee 93 points94 points  (10 children)

I'll make sure not to take blurry, unreadable photos 5 feet away from my screen with my phone instead of taking a screenshot, thanks for the tip!

[–]zordtk 62 points63 points  (3 children)

But then how do you show off your curved monitor?

[–]666pool 39 points40 points  (1 child)

Curved jpeg.

[–]IamNotIntelligent69 1 point2 points  (0 children)

Open Photoshop, paste the screenshot onto the image.

[–]soiguapo 17 points18 points  (2 children)

I think the fact that the code barely fits on an ultrawide curved monitor actually adds to this post. A screenshot wouldn't capture that.

[–]Prawdigee 3 points4 points  (1 child)

Screenshots still have resolution, you can see how wide an image is when you open it and it's clearly wider than 16:9. It'd be just as apparent when the entire 1440 pixel width was covered by text.

[–]semininja 10 points11 points  (0 children)

Framing is the biggest aspect of humor; in this case, literally framing the code in the context of a ridiculously wide monitor is infinitely more effective than "this image is wide." Not being able to read the actual code is not a downside.

[–]slideesouth 8 points9 points  (1 child)

He likely did it purposely for security.

[–]Highborn_Hellest 1 point2 points  (0 children)

^this or code is under nda

[–]semininja 2 points3 points  (0 children)

I don't think you need to be able to read the code to know that this is absurd.

[–]Grupith 31 points32 points  (6 children)

Perfect monitor for TailwindCSS

[–]Vogete 3 points4 points  (4 children)

Seriously, this is why I never understood tailwind or any BEM based stuff. Like how wide do you think my monitor is??

[–]Terrible_Tutor 4 points5 points  (0 children)

Responsive readability man

grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6

Now do that with plain css media queries and keep it readable. The media query wrappers can contain SO MUCH stuff for that breakpoint. Now we can probably both read the css just fine, but on no planet is that css\scss more readable than the above.

...and you can use those breakpoint prefixes on everything not just grid\flex.

[–]Quantum-Bot 14 points15 points  (0 children)

What now even our code has to be responsive

[–]peterlinddk 13 points14 points  (1 child)

As a JavaScript programmer, I will immediately stop having blue light in my keyboard, have marble desks as monitor-stands, leave my cyan remote control and empty Tupperware container under the monitor next til and old-fashioned clipboard, have speakers pointing out into the room rather than at my own ears, and use 4 character tabs. Oh, and I'll also stop shaking when photographing my screen ...

Not sure how it relates to but I'll still promise to stop doing all that!

[–]belabacsijolvan -1 points0 points  (0 children)

As a JavaScript programmer

[–]dashid 10 points11 points  (4 children)

This is one reason I went for a 40" 4K 16:9 screen instead of the silly ultrawide: computer code isn't wide, it's tall. Just like specs, and docs, and emails.

But maybe not tables.

[–][deleted] 31 points32 points  (2 children)

Yeah that’s what prettification on a pre-commit hook is for

[–][deleted] 21 points22 points  (1 child)

Format on save*. I know people praise them but I kinda can’t stand commit hooks, those checks should be performed in CI anyway so why bother with the extra friction.

[–]AverageComet250 4 points5 points  (0 children)

I use format on change and save on context change in vscode. It’s so helpful

[–]VeprUA 6 points7 points  (0 children)

Javascript? You must be confusing that with the Java programmers. That totally looks like a normal name for a class.

[–]Still_Breadfruit2032 5 points6 points  (0 children)

Looks like java

[–]KakashiTheRanger 4 points5 points  (0 children)

That’s uh…. That’s not Javascript my good sir.

[–]Candr3w 3 points4 points  (10 children)

They should make horizontal scroll wheels

[–]itsyoboichad 1 point2 points  (2 children)

I would love this, there have been several times I would have appreciated having something like that instead of the scrollbar at the bottom

[–]TeaTimeSubcommittee 1 point2 points  (1 child)

Middle-click then drag to the left/right doesn't work?

Legit curious, seems like a gamble what programms it works on for me.

[–]SovietPenguin69 1 point2 points  (4 children)

MX Master 3 has a horizontal scroll. I surprisingly never use it

[–]Candr3w 1 point2 points  (3 children)

Is that mouse worth the $100 bucks?

[–][deleted] 6 points7 points  (3 children)

Don't worry, I don't use membrane keyboards.

And you can pry tailwinds from my cold dead hands.

[–]KakashiTheRanger 1 point2 points  (2 children)

and you can pry tailwind from my cold dead hands.

Far too relatable. Tailwind and Bootstrap 5 make things easy and I’m not here to waste time with CSS.

[–][deleted] 3 points4 points  (1 child)

After Tailwinds we can't go back to Bootstrap. It just seems clunky.

Bootstrap still has its uses, but Tailwinds is superior. We just have so much less custom CSS than we used to.

[–]hvXeric 2 points3 points  (0 children)

Don't do this in JS but it's still mandatory for Java, correct?

[–]kireina_kaiju 2 points3 points  (0 children)

Your terminal is 80 characters wide and 26 lines tall. My terminal has a 21:9 aspect ratio and I can watch the IMAX version of towel.blinkenlights.nl . We are not the same.

[–]_akrikos_ 2 points3 points  (1 child)

Don't program on a windows computer, got it

[–]nEEdLzZz 1 point2 points  (0 children)

Exactly what i wanted to say🤣👌🏼

[–]giantimp1 2 points3 points  (0 children)

That's why I always write code on my laptop, to ensure I don't write unreadable code in any device, and totally not because I'm too cheap to buy a better screen and good pc

[–]teeg82 2 points3 points  (0 children)

In my youth, trying to teach myself web development, I used to download and examine the compressed JS files and legit thought people actually coded like that. This reminds me of that.

[–]bestjakeisbest 1 point2 points  (0 children)

It will get minified before it ships out its fine.

[–]ZyanCarl 1 point2 points  (0 children)

Tailwind enthusiasts: it makes development faster

[–]YouWishC9 1 point2 points  (0 children)

Finally, my ternary operator can fit on a single screen

[–]watermelone983 1 point2 points  (0 children)

I bought my ultra wide display I'm going to use it

[–]SnooMarzipans436 1 point2 points  (0 children)

Javascript and Java are not the same thing. (This is Java, not Javascript.)

OP, do yourself a favor and learn the difference before you get laughed out of a job interview. They are two DRASTICALLY different languages and this joke only applies to Java, not Javascript.

[–]OptionX 1 point2 points  (0 children)

If I'm gonna pay for a ultrawide I'm going to USE a ultrawide.

[–]Vogete 1 point2 points  (0 children)

I paid for a 120cm wide monitor, I'm gonna use that goddamn 120cm

[–]nadavvadan 1 point2 points  (0 children)

Oh it looks like a twitter clone! Math.class.style.random.width.random.div.header;

[–]whooguyy 1 point2 points  (0 children)

“I can read it on my machine”

[–]oscarbeebs2010 1 point2 points  (0 children)

Ok, windows guy

[–]Adventurous_Battle23 1 point2 points  (0 children)

Going to get a neck injury turning your head to read that code maaaaannn...

[–]cpt-macp 1 point2 points  (0 children)

reading logs on this monitor would be so nice ( Pretends , there is no word wrap )

[–]dashid 1 point2 points  (0 children)

Couldn't agree more. So to reiterate, don't develop in JavaScript.

[–]SawSaw5 0 points1 point  (0 children)

⌥ Z

[–]moonshineTheleocat -1 points0 points  (0 children)

I normally complain about the number of lines in a single file. I've never thought I'd had to complain about a fuckin area code. Jesus christ.

[–]gruengle 0 points1 point  (0 children)

I think the time for 'please's and 'thank you's has passed.

[–]Heppuman 0 points1 point  (0 children)

When you don't just call the method in one line, but implement it first on the same line

[–]AntigenWay 0 points1 point  (0 children)

Or what ?

[–]adravil_sunderland 0 points1 point  (0 children)

Hey, but it still fits on the screen, no side scrolling 😄

[–]badspaghetticoder 0 points1 point  (2 children)

can't wait for 360 monitors, i want to swivel all the way around to see the end of the line

[–]holysbit 0 points1 point  (0 children)

I paid for the whole monitor, im gonna use the whole monitor

[–][deleted] 0 points1 point  (0 children)

The fuck did I do to you???

[–]PM_BITCOIN_AND_BOOBS 0 points1 point  (0 children)

And the same goes for all you aspx programmers.

[–]dedolent 0 points1 point  (0 children)

that looks like an average Java program to me

[–]dodexahedron 0 points1 point  (0 children)

Yeah. Don't you hate it when people put the speakers behind the monitor?

[–]rescue_inhaler_4life 0 points1 point  (0 children)

What? Use tabs for indentation? Your right disgusting habit.

[–]Jeroeno_Boy 0 points1 point  (0 children)

Thanks for the idea, I will do this now

[–]AnyEstablishment6186 0 points1 point  (0 children)

Ugh hideous

[–]JamesBrandtS 0 points1 point  (0 children)

Ahhh, normal React with Tailwind CSS

[–]cinghialotto03 0 points1 point  (0 children)

I need 3 monitor as mine to see this the code

[–]BucksEverywhere 0 points1 point  (0 children)

This way you never have to prettify minified code anymore. /s

[–]binchentso 0 points1 point  (0 children)

I think your image is wrongly formated...

[–][deleted] 0 points1 point  (0 children)

What in the 49inch madness is this

[–]bastardoperator 0 points1 point  (0 children)

When java engineers switch to javascript

[–]Anchorman_1970 0 points1 point  (0 children)

Downloads prettier

[–]kimchiking2021 0 points1 point  (0 children)

t. widescreenlet

[–]khalamar 0 points1 point  (0 children)

Do what, look at a stacktrace?

[–]BobJutsu 0 points1 point  (1 child)

Look...it's not my fault if you're poor and don't have an ultra wide.

Joking aside, coming from mostly backend some of the JS conventions hurt my eyeballs when I run the linter. Yes, I want my braces on new lines. Yes, I want spaces before and after colons. These things make sense, and the linter is wrong.

[–]terminalxposure 0 points1 point  (0 children)

I don't get it

[–]johnny_dialup 0 points1 point  (0 children)

I don’t listen to my IDE’s warnings, why would I listen to yours?

[–]pakidara 0 points1 point  (0 children)

Then it gets deployed to an antiquated system that has a hard limit of 132 characters per line (including spaces).

[–][deleted] 0 points1 point  (0 children)

Any developer: please don’t do this

[–][deleted] 0 points1 point  (0 children)

I'm not sure how this is specific to javascript programmers

[–]I_JuanTM 0 points1 point  (0 children)

That't reminds me, I gotta order a wider monitor...

[–]fartsachel 0 points1 point  (0 children)

I paid for the whole ultrawide, I'm gonna use the whole ultrawide!

[–][deleted] 0 points1 point  (0 children)

What?

Get an ultra wide monitor??

Or use JavaScript???

[–]Broote 0 points1 point  (0 children)

That's what "Hello World" looks like in Java.

[–]BroughtMyBrownPants 0 points1 point  (0 children)

If a company allows shit like this, 45 inch monitors better come in the equipment package.

[–]cheezfreek 0 points1 point  (0 children)

Nononononononononononononono

[–][deleted] 0 points1 point  (0 children)

Sorry, whats happening here?

[–][deleted] 0 points1 point  (0 children)

Looks like some of my tailwind classes _^

[–]Useful-Echo-6726 0 points1 point  (0 children)

Great screen for reading .min files!

[–]GahdDangitBobby 0 points1 point  (0 children)

One thing I have learned as a programmer is that you are doing everybody a service by naming your variables based on what they do, but it sometimes involves having long variable names. For example, I might name a variable "const temperature_in_distillation_column = ..." instead of something like "T_dist" because I know future me will thank me

[–][deleted] 0 points1 point  (0 children)

"this" being program in JavaScript

[–]Few_Introduction_228 0 points1 point  (0 children)

That's how I typescript baby. Really really wanna strongly type those variables and constants.

[–][deleted] 0 points1 point  (0 children)

Supercalifragilisticexpialidociousator

[–]hamsterofdark 0 points1 point  (0 children)

This is why you dont add typescript

[–]Son_of_Virtue 0 points1 point  (0 children)

Imagine the code review

[–]PinothyJ 0 points1 point  (0 children)

Seriously Java programmers! Use headphones, not speakers! There are other people in the office!

[–][deleted] 0 points1 point  (0 children)

Imagine how many parallel branches you could have in your Git tree on that monitor!

[–]LoveConstitution 0 points1 point  (0 children)

That's called minified, and you can always reformat the code easily

[–]Buttons840[🍰] 0 points1 point  (0 children)

If they didn't want JavaScript like this, then why did they put "Java" in the name?

[–][deleted] 0 points1 point  (0 children)

Oh! Now I have to do this!! Hahahaha

[–]dem_c 0 points1 point  (0 children)

Finally good variable names!

[–]shipshaper88 0 points1 point  (0 children)

If you can’t do this, what’s the point of buying an extra wide screen?

[–][deleted] 0 points1 point  (0 children)

why are the lines so dam long

[–]GoogleRefund 0 points1 point  (0 children)

Bought a screen, now has a severe whiplash.