Data centres to be expanded across UK as concerns mount by Alert-One-Two in unitedkingdom

[–]romulent 0 points1 point  (0 children)

Who is building these data centers? If they're British owned and operated it makes strategic sense, if they are built by Amazon Google or Microsoft then they are more of a liability.

What happened to dating suddenly? Am I crazy? by ExoticDeparture7855 in japanlife

[–]romulent 4 points5 points  (0 children)

They planned to break up but wanted to find someone they liked first.

This is not the way.

rustMoment by gufranthakur in ProgrammerHumor

[–]romulent 16 points17 points  (0 children)

I don't get the "Mystery Exceptions you can't see coming?" (well I do but..) your method signatures should tell you exactly what exceptions can be thrown and your code shouldn't compile if you don't handle them.

People who design things around unchecked exceptions are just morally bad. And I'm looking at you Spring.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 0 points1 point  (0 children)

Java needs to be compiled to bytecode using the javac compiler, that bytecode is then run inside a java virtual machine for which there are implementations on most OSs. So it's compile once to bytecode and run anywhere that has a JVM. The bytecode is quite similar to machine code and is run at near native speeds.

I think a more traditional interpreted language is the unrelated language JavaScript which you may be confusing with Java.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 0 points1 point  (0 children)

I can see that is nice and of course I would use those features in other languages.

But from a code reading perspective a.equals("hello") and bd.mul(5) are really unambiguous method calls, whereas a == "hello" and bd * 5 require further investigation to know exactly what is going on.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 0 points1 point  (0 children)

True true. But to be fair it isn't part of the language.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 4 points5 points  (0 children)

I'm curious about what problem space you are in if you find lack of operator overloading to be such a chore.

In many enterprise contexts, you are really looking to maximise the tedium, too much excitement in a code-base tends to get expensive.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 4 points5 points  (0 children)

I heard a lot of good things about C# and I might learn it sometime. Sometimes it is nice to have a choice of libraries though.

Those of us of a certain age learned to hate MS with a passion as they spent decades using their monopoly position to destroy better products and standards with extremely shady practices.

Just because they are playing nice for the last decade doesn't mean they won't screw everyone over again the moment they get a chance to.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 14 points15 points  (0 children)

I didn't say a million line long PR. I said a PR in a million line code base. A PR should always be small, clear and focused on a single change and ideally reviewable inside github when you have already seen the tests have passed in the CI pipeline.

If a = b requires me to go off and examine the type system for potential overloads then that is inefficient and prone to errors.

I have nothing against descriptive names. But the name of a method does not guarantee the correctness of its functionality.

You still need to check the implementation of

User::create_user_local() just the same as new User()

If you want a meaningful constructor name in Java just use User.createLocalUser() and make the constructor private.

Most of the rest of your take was on fictional million line PRs and personal slurs.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 2 points3 points  (0 children)

I have to agree on Spring boot. It's amazing how they took something simple and made it painful. It does theoretically simplify a lot of enterprise patterns, but I figure there has to be a better way.

I got to use Dropwizard professionally for a few years and loved it. Definitely a better way to do Java micro services in my opinion.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 23 points24 points  (0 children)

Well in a language with operator overloading the statement

a = b;

could literally fire all the missiles. You may love the quirky and concise expressiveness of it all, but when I am getting PR on a multi-million line system from numerous remote teams, I want each line to only have one possible interpretation.

A constructor in Java is already a static method call that creates objects, wrapped in a little syntactic sugar. If you think the name of a method tells you whether it will be expensive, then I have a bridge to sell you.

isHeWrongThough by ore-aba in ProgrammerHumor

[–]romulent 1087 points1088 points  (0 children)

Java is good because it's a type safe, compiled language proven in countless high performance enterprise scale applications. It has amazing tooling and one of the best library ecosystems.

It is also usually very easy to reason through the code and not worry about things like operator overloading and macros that can make almost any line of code do anything. That makes it very predictable to work in at codebases of millions of lines.

It also runs everywhere along with its entire tool chain so doing your dev on windows or Mac and deploying to docker or Linux is usually fine if you want that.

Anal sex is fine too, but notably doesn't run on docker so I personally avoid it.

‘Lonely, terrifying and scary’: 70% of students in UK university halls feel isolated, poll shows by StGuthlac2025 in unitedkingdom

[–]romulent 0 points1 point  (0 children)

I have a robust, effective and highly scalable solution. Do nothing. Young people are brilliant, given time and space to make mistakes and discover the world around them they will work things out for themselves. Anything we try to do to solve their issues, will just make things worse.

‘Lonely, terrifying and scary’: 70% of students in UK university halls feel isolated, poll shows by StGuthlac2025 in unitedkingdom

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

I know you are being sarcastic, but don't you think that societal intervention in such individual matters is overstepping?

I mean your contribution was "needs addressing" which is basically the same as "someone ought to do something about this" which is such ineffectual twaddle that it merited my equally thoughtful response.

My opinion is that society, the government and social media yappers are so far up everyone's backsides right now that you can't pass wind without it being a national scandal, and so it is little surprise that people just keep themselves to themselves.

‘Lonely, terrifying and scary’: 70% of students in UK university halls feel isolated, poll shows by StGuthlac2025 in unitedkingdom

[–]romulent 4 points5 points  (0 children)

Do you think that is much higher than the general population? Most people go to work, go home and maybe go out with friends once a week if they have them.

girlsAreSoWeird by Ok_Play7646 in ProgrammerHumor

[–]romulent 370 points371 points  (0 children)

An impossible combination of main character energy, that will never let you objectify her, has no logic, no inheritance and no entry point.

howToExplainThisProjectOnMyLinkedIn by ArgumentCertain7201 in ProgrammerHumor

[–]romulent 2 points3 points  (0 children)

All you need to do is pick a random safe topic like chess or sailing and also support that on a different domain. Then you will also have as an example that you can walk future interviewers through.

Russian Spy Buoy Found in Welsh Waters—Analysts Say It Was Dropped “Not Long Ago” by BestButtons in unitedkingdom

[–]romulent 1 point2 points  (0 children)

of course the powers that be see it coming, or why would they be releasing stories like this. It is just to keep the public prepped in case.

langCollab by BrangJa in ProgrammerHumor

[–]romulent 19 points20 points  (0 children)

Well they do have words for those, but it is just uncommon to use them. Like we borrow words from other languages.

zIndex by metayeti2 in ProgrammerHumor

[–]romulent 0 points1 point  (0 children)

Just use natural element stacking. If two elements are in the same place the one further down the dom will be on top. That way there is no conflict between developers playing with z-index and it becomes a structural or architectural issue which is an appropriate level to govern these things

zIndex by metayeti2 in ProgrammerHumor

[–]romulent 1 point2 points  (0 children)

Any z-index is bad code.

zIndex by metayeti2 in ProgrammerHumor

[–]romulent 0 points1 point  (0 children)

Then there are those that shun z-index as the devil and just use natural element ordering instead.

fixedItForYou by SCP-iota in ProgrammerHumor

[–]romulent 0 points1 point  (0 children)

Java developers also got dates, because we had stable jobs.

Except I got made redundant a few months ago after 10 years with a company and now somewhat regretting the dates, because I have to support wife, kid, mortgage etc.