69 points

Program in assembly, 40 columns is plenty. You just need an awful lot of rows.

permalink
report
reply
35 points

Same monitor, just rotate it.

permalink
report
parent
reply
6 points

If you don’t use a vertical monitor I don’t consider you a real programmer.

permalink
report
parent
reply
39 points

Joke’s on you: I don’t consider myself a real programmer either

permalink
report
parent
reply
15 points

We need the same monitor, vertically!

permalink
report
parent
reply
4 points

The Samsung 55" Oddity in ‘cockpit’ mode has you covered.

permalink
report
parent
reply
4 points
*
Deleted by creator
permalink
report
parent
reply
2 points

Just think of that hurt my neck. Imagine have to constantly look upward.

permalink
report
parent
reply
6 points
*
Removed by mod
permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
32 points
*

I have a monitor that’s almost like this and it’s surprisingly nice. It feels like a two-monitor setup. Two actual monitors would probably have been cheaper, but I got mine from work, so it wasn’t a factor.

The real advantage of having two actual monitors is being able to flip one vertically for reading code.

EDIT: a word

permalink
report
reply
14 points

Everyone at my work who has this runs into issues whenever they need to share their screens, apologizing for low resolution or painstakingly resizing every window to mimic multiple screens anyway.

permalink
report
parent
reply
9 points

I just share one window at a time. I put the meeting on one half and the window I want to share on the other, which makes it 16:9 and works perfectly for what I need to share.

permalink
report
parent
reply
3 points

Yeah people do that, until you’re sharing a code window and then need to see if it works on a browser and then your dev tools are popped out so you have three windows…or you don’t want to just have one meeting and one window visible, you also want slack or a window for googling or something similar…

It’s all workaround-able, it’s just minor annoyance after minor annoyance lol.

permalink
report
parent
reply
9 points
*

I bought one after some months of remote work in 2020. Then when I started my new job they gave me another one (different manufacturer but exact same panel size). I needed to rearrange my desk a lot, but holy shit so much room for error messages!

Yes, I’m a Java developer ¯\_(ツ)_/¯

permalink
report
parent
reply
4 points

It was either that or a C++ programmer. Those template error messages are gnarly.

permalink
report
parent
reply
6 points

The real advantage of two monitors is that you can turn one off if you don’t need the full 50000px width.

permalink
report
parent
reply
1 point

As far as I’m concerned the advantage is I can have three windows (or three editor views) tiled horizontally and each one is the perfect width. A half width (half of 1080p/16:9) is too narrow and a full width window wastes space, but a 2/3 (of 1080p) width window is about perfect. If I tried to do that with two regular monitors, the middle window would be split across the bezel.

*When I say 1080p, I really mean the aspect ratio. My monitor is effectively a double width 1440p monitor, but with the display scaling I use the space is effectively 1080p.

permalink
report
parent
reply
22 points

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.

permalink
report
reply
19 points

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!
    }
 }
permalink
report
parent
reply
6 points

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.

permalink
report
parent
reply
1 point

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

  1. There are way worse programming languages than Java
  2. The verbosity is not the biggest problem of java, it is rather the dogmatic OOP paradigm that sucks.
permalink
report
parent
reply
3 points

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");
}
permalink
report
parent
reply
12 points
*

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.

permalink
report
parent
reply
3 points
*

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.

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
12 points

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.

permalink
report
reply
30 points

Java is a programming language that is notorious for being verbose, the joke is that you need a massively wide monitor to view it without the text being cut off

permalink
report
parent
reply
3 points

Ah, thanks for the explanation!

permalink
report
parent
reply
2 points
*

I don’t understand why people don’t break stuff like this up with newlines

permalink
report
parent
reply
5 points

We would. And we’d tend not to be using such verbose variable names. Avoiding abbreviation in the method and type-names is idiomatic though.

permalink
report
parent
reply
14 points

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.

permalink
report
parent
reply
16 points
*

Sure, but most of the lines in the screenshot break down to:

object1.setA(object2.getX().getY().getZ().getI().getJ().getK().getE().getF(i).getG().toString())

Aside from creating a method inside the class (which you should probably do here in Java too) how would another language do this in a cleaner way?

permalink
report
parent
reply
8 points

You shouldn’t reach through an object to invoke a method. That tightly couples the classes which getJ and getG (for instance) return.

permalink
report
parent
reply
3 points
*

Kotlin would represent the getter/setters as synthetic properties (and do so automatically, since Kotlin interops with Java).

object1.A = object2.X.Y.Z.I.J.K.E.getF(i).G.toString()

Of course it’s still not great (there’s still too much nesting, there’s something fundamentally wrong with how the data is structured) but at least the code is less noisy.

permalink
report
parent
reply
3 points

Well I guess the point is that you shouldn’t need all these method calls to achieve simple goals. Most of those “getF” are calls to some SystemFactory to get a GenericObjectFactory and so on and so forth.

permalink
report
parent
reply
2 points

Got it! Thanks for the explanation!

permalink
report
parent
reply
11 points

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.

permalink
report
reply
4 points

The ultra-wide’s big appeal is definitely more for gaming than programming.

permalink
report
parent
reply
2 points

I have a 49" ultrawide, running a tiling window manager under Linux.

I heavily utilize virtual desktops in my workflow. Always 10 on each monitor, accessed by Ctrl-{0…9}. Switching between monitors by AltGr+{1…n}. Programs always stay on the same virtual desktop no, so terminals on 2, browsers on 3 and so on. This enables me to access more or less any window in under a second, never having to look for it visually.

I usually work with 4 or 5 24" monitors, as a single program seldom needs more space for me. What he ultrawide brings to the table is the capability under Linux to create arbitrary virtual monitors.

I can for example have two evenly created monitors (two 27"). My usual for development is three, split as 2:3:2.

Another possibility is using a small script that analyses movie resolution and creates two monitors, one with the exact aspect ratio of the movie, eliminating black borders, and another for using while watching said movie :)

As Linux sees them as separate monitors, I can also have easily managed screen sharing.

Having the flexibility of software defining my monitors has been great as a developer; separation of many, screenwise often small, applications is highly useful to me. A couple of quick scripts to switch between different setups has integrated it nicely into the workflow, and I usually changes monitor config at least a couple of times per day.

permalink
report
parent
reply
3 points

You might have just saved me a heap of money.

Screen sharing would suck with an ultra wide.

permalink
report
parent
reply
2 points

It does, but it depends on the tool. Zoom lets you simply draw a rectangle which will be shared, I typically select 2/3 of my screen. It’s great when all have the same screen though.

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.4K

    Monthly active users

  • 1K

    Posts

  • 37K

    Comments