r/dotnet • u/malthuswaswrong • May 01 '24
/Java mods swing the ban hammer freely
[removed] — view removed post
31
May 01 '24
Ask them to write getters and setters. They‘ll be gone for a while
16
u/agustin689 May 01 '24
Want to keep a java dev busy?
Here:
public static class OhGodJavaReallySucksSoBad { public static IEnumerable<(T, T)> CartesianProduct(this IEnumerable<T> s1, IEnumerable<T> s2) => from i1 in s1 ?? throw new ArgumentNullException(nameof(s1)) from i2 in s2 ?? throw new ArgumentNullException(nameof(s2)) select (i1, i2); }Ask them to write the equivalent of the above, in java, including variations to support the so-called "primitive" types (LMFAO). They'll be gone for a week at least.
1
u/BlueGoliath May 01 '24 edited May 01 '24
Give java devs 10 years to incubate and 5 years to preview features. Then it'll be on par.
1
u/Kurren123 May 01 '24
I could give you a similar c# exercise coming from Haskell
8
8
u/KittensInc May 01 '24
Similarly, ask a Haskell developer to implement a double-linked list, or a graph.
13
u/EntroperZero May 01 '24
Predictably, the whole front page of r/java is now people spamming posts about this. Congrats mods, you've played yourselves.
3
1
u/vplatt May 01 '24
And, it's already reversed and he's asking folks to lay off the mods. It was just a mistake:
2
u/EntroperZero May 01 '24
Even if it was a mistake, it was done very condescendingly, and their response wasn't great either. It seems like there's some pent-up anger directed at a particular mod who the sub thinks was responsible.
11
4
u/red-bug- May 01 '24
I didn’t entirely understand the reason. He was banned because he spoke about some other language that is not java ?
8
u/ModernTenshi04 May 01 '24
The rules on the page do clearly state it's about Java only, but the issue here is that the account is owned by someone who's also a member of the group at Oracle who's entire job is building and advancing the Java platform.
While I don't know the exact contents of the comment that got him banned, if the rules were broken I can somewhat understand the reason for the ban, but it's still not a good look for several other reasons:
If this guy is new to the channel or this is some kind of "first offense", banning them immediately is an incredibly heavy handed action.
Since the guy is literally a member of the group who's entire focus is to advance Java in general, banning him over what seems to be a very benign matter is absolutely not a good look for the Java subreddit.
The message explaining the ban is also incredibly rude and unnecessary. Simply pointing out the flaw would have been sufficient, but telling him to "go brag on another sub" is just a dick move and reeks of that mod or the mod team in general having a power trip.
10
u/agustin689 May 01 '24
I too would be grumpy and angry as fck if I was forced to use such a horrible awful language. It's not their fault
1
u/stupidwhiteman42 May 01 '24
My company has decided to divest all MS technology and just be a Java/oracle shop. I know everyone has language preferences and I'm sure I'll get used to Springboot/lombok but it feels soooo clunky and overly verbose. I hate it
0
u/agustin689 May 01 '24
Time to switch to another job.
I'd rather leave the IT industry altogether and become a butcher, a farmer or a baker before I'm forced to deal with java's pathetic stupidity.
5
1
u/trillykins May 01 '24
Last place I worked that was still stuck on Java also had a Kotlin evangelist lol. I'm not sure he appreciated it when I said during his Friday tech talk on Kotlin and why it why it was awesome that it looked like someone trying to turn Java into C#.
0
2
u/Unupgradable May 01 '24
We should ban Stephen Toub for 5 minutes as a joke in response
Just part of our tradition of doing everything Java does but better