Program in assembly, 40 columns is plenty. You just need an awful lot of rows.
Same monitor, just rotate it.
If you don’t use a vertical monitor I don’t consider you a real programmer.
Joke’s on you: I don’t consider myself a real programmer either
We need the same monitor, vertically!
Just think of that hurt my neck. Imagine have to constantly look upward.
Removed by mod
Clever, at that point, I guess there better be a coding mode in a VR headset that I can have as many desktop/monitor as I want.
One problem solved. Three problems created. SOP.
As someone that first learned to program in 8008 machine code, you aren’t really wrong, but formatting is and always will be for the weak.
Jfc. Do people really write code like this? I’ve been writing code in Java for 15+ years and have never seen anything like this.
You need more skill, not a wider monitor. SMH.
Hello world in Java:
class 9-A { public static endangered therefore protected final void main(String[] args) { System.prepareTheOutputBufferForPrintingAsTheNextStatementWillDoSo(args); System.in.out.in.out.shake.it.all.around("Java is a programming language " + "invented by the intelligent monkeys " + "working at Sun Microsystems."); return void; // duh! } }ROFL you’ve proved my point. Just because Java gives you an opportunity to hang yourself doesn’t mean you should or have to.
You took one line of code and turned it into a novel. Bad programmers do this and then ignorant folks blame it on the language when it’s really just a lack of knowledge/skill.
You must be fun at parties! Seriously, this is a meme sub and the wildly exaggerated helloworld example I pasted (from this hilarious article) is obviously satire. I agree, that
- There are way worse programming languages than Java
- The verbosity is not the biggest problem of java, it is rather the dogmatic OOP paradigm that sucks.
I get making fun of java’s verbosity for things like checked exceptions but hello world really isn’t that much worse than most other languages especially considering all the “boilerplate” is required for any program more complicated than hello world in pretty much every language. But if a useless program really is too verbose for you see java 21.
void main() { System.out.println("hello world"); }
Yeah, you never see this in enterprise settings. Sure builders or streams can get a bit long but you just pop each .x() on a new line.
And when they’re on new lines intellij has a cool feature where it creates a little UI only comment next to the line showing what type it returns.
In an enterprise setting we’d definitely create a method in that object what would have that chain in it, and call that instead… It seems like it’s used over, and over again.
Anyhow, we’re sitting here trying to make sense of something that obviously some sort of joke haha.
Man we’re such fucking nerds.
Somewhere someone probably does… But this piece of code really look like someone either tried to inline a bunch of calls or this is code generated object mapper from json or other nested model.
Nobody with a sane mind and serious attitude will use this code as a “real” code. (I still believe in people, despite all the evidence to the contrary I get every day)
As a fun bit though this taken some dedication.
Had an ultra wide for a while, went back to 2 27" monitors after 2 years. 2 monitors is more convenient imo. I can flip one vertical whenever. Less fiddly to have multiple things open at once. One is centered while the other is on the side and angled, much nicer way of separating what’s my focus. Easier to screen share. I always found the curve distracting for text.
I use a Ultrawide as my main monitor, a 1440p vertical one on the right and 2 portable 15" 1080p under the Ultrawide.
When I need to share, I share one of the 15". I keep my notes and the call on my Ultrawide. I think it’s a great setup.
But if you don’t want as many monitors, for sure 2x 16:9 is much better than 1x 21:9 or even 1x 32:9.
I set up my wife with a single 39" ultra wide instead of two separate monitors and it lets you use two cables so each half of the display acts as it’s own unit. Then it’s like having two monitors without a seam in the middle and doesn’t take over the whole desk. I use two 43" 4k monitors side by side in the same way as you though and definitely prefer that.
You might have just saved me a heap of money.
Screen sharing would suck with an ultra wide.
Is this a good thing I’m looking at or a bad thing? I don’t get it but then again, I’m not a programmer.
The joke is Java is verbose. It takes many characters to accomplish simple routines. Depending on your view that could either be good or bad for reading the code later.
Got it! Thanks for the explanation!
LOL, that said. The BEST thing I ever bought when WFH started was a 4k monitor.
The extra screen real estate is amazing
You’re dangerously close to the edge there bud, what’s your plan B when that starts to overflow huh?
Buy a second monitor with the same space
Type aliasing in java could have saved us from the current pixel shortage, but at least kotlin is giving us a cheaper path forward.
…and that, kids, is why java has this thing called imports
Imports wouldn’t help. It’s setters with a ton of chained getters
Mostly they’re all the same up to the last one or two methods - just set the common part as a variable?
Definitely. I’m pretty sure they modified the code to look as bad as possible just to take the photo though. You can clearly see all the lines are marked as modified in the gutter.
It’s also a good way to potentially multiply your query costs and slow down the function, while introducing possible inconsistencies if the objects are modified between the first and last time they are requested.
This is the best answer… Or the outer classes being delegated access to the inner ones and so on, like an onion.
I wonder if this is one of the situations that Kotlin delegated parameters were designed to handle? (I’m new to Kotlin and still don’t understand that “by” construct there)
that’s some serious chaining lol
For java programmers afraid of explicitly allocating any varables
AbstractInitiatorFactoryDelegateVisitorFactory
Will nobody comment on the level of indentation? It looks like 10 leves deep.
Damn it hurts my eyes. I don’t like when verbose languages require such long lines, it feels uncomfortable.
So THAT’S what that is! I always wondered what it was trying to say
Gonna need a factory or two imo










