Java is indeed a pajeet language
Nobody force you to use this syntax.
Java allow you to do each and everything you need.
>>62442019
Why is this syntax even allowed?
>>62441992
Can somebody care to explain to me the difference of each?
>>62441992
I see nothing wrong with this
In C/C++ this is valid:
arr[3] == 3[arr]
>>62442098
All four are valid.
>>62442123
What's the multi dimensional array equivalent?
>>62442031
To do the needful
>>62442098
They're all identical, because in Java multidimensional arrays are "jagged". They're lists of lists rather than a singular block of data, and different rows can have different lengths. Number 2 is the ideal syntax.
>>62442232
>Multidimensional arrays
>Different rows can have different lengths
>>>>>>Lists
Why do people still use Java when C# exists? It makes no sense at all.
>>62442442L I N U X S U P P O R T
I U
N P
U P
X O
R
T
Why the fuck would anyone run C# in a Linux server environment if they had the choice not to?
>>62442368
Yes, they're not really 2D arrays in the traditional sense.
>>62441992
Fun fact - in verilog there is a difference when you put the []:
After name - the structure of the array, like most languages (unpacked)
before name - the structure of each cell in the array - you cab create a 2D array of vectors, 2D arrays etc. (packed)
>>62442442
because java has better tooling and libraries
>>62442624
Microsoft is making "good noises" so all the hipster developers love them now.
I still remember the 90s.
I actually like the syntax of java, it can be nice and clean when used right.
The echo system around it really sucks though.
>>62442624
I love Linux, but I like .NET
>>62442624
> Why the fuck would anyone run C# in a Linux server environment
LXC hypervisor
More lightweight, still headless
Well-known debug tools
>>62442624
Why not? It works fine on Linux.
>>62443609
>libraries
>>62445321
what did you mean by this shitty post? java has high quality libraries for almost anything. dotnet is way behind
And what makes that C++?
>>62442098
>Can somebody care to explain to me the difference of each?
Can somebody explain to me the care of each difference?
>>62442031
it's for C/C++ compatibility. in java the int[] a style is preferred but if you copy and paste some C/C++ code that uses int a[] declarations you can just leave it like that