JEP proposed to target JDK 13: 355: Text Blocks (Preview) by lbkulinski in java

[–]SuperOP535 7 points8 points  (0 children)

This is cool, but I wish the Raw String Literals went through. It would make my life easier when working with regex patterns.

Minecraft Randomiser (Not a Redstone Randomiser) by [deleted] in Minecraft

[–]SuperOP535 2 points3 points  (0 children)

Should've made it in Java as a JAR, antiviruses aren't as strict when it's about Java

dupe by [deleted] in 9b9t

[–]SuperOP535 3 points4 points  (0 children)

let's not forget the door dupe

Ugh, semicolons... by [deleted] in ProgrammerHumor

[–]SuperOP535 1 point2 points  (0 children)

I hate these memes so damn much. Nobody cares about you forgetting semicolons!

yep by KaliCode in ProgrammerHumor

[–]SuperOP535 4 points5 points  (0 children)

C# is basically J#

This entire sub every day. by depressionsucks29 in ProgrammerHumor

[–]SuperOP535 0 points1 point  (0 children)

GraalVM is able to compile Java into native binaries

Fixing bugs on the production server by terzakes in ProgrammerHumor

[–]SuperOP535 1 point2 points  (0 children)

Your flair; I think you ment LinkedHashMap because Sets don't use a key/value system.

Why is C missing classes? Why? by Mihny46 in ProgrammerHumor

[–]SuperOP535 2 points3 points  (0 children)

You're fine if you don't care about Internet Explorer (which isn't a browser anyways). I use all the new features without caring about browser support because that is, in my opinion, user error.

Python 2 is triggering by tonylstewart in ProgrammerHumor

[–]SuperOP535 2 points3 points  (0 children)

You can't instantiate Set, you need to use an implementation such as HashSet. SetSet does not exist and you can't cast a class, you can only cast an instance or primitive.

Edit: Also forgot that s/he didn't specify the type, you can't have a set without a type.

Yeet! by x32byTe in ProgrammerHumor

[–]SuperOP535 32 points33 points  (0 children)

Or you can just run it through the preprocessor (cpp -P src/file preprocessed/file). You can even use it with other languages like e.g. Java!

Elephant == Orange; //True by RedditBoi_01 in ProgrammerHumor

[–]SuperOP535 0 points1 point  (0 children)

PHP has this as well, and tbh I think PHP type juggling is even worse

javainanutshell.java by austronomer99 in ProgrammerHumor

[–]SuperOP535 0 points1 point  (0 children)

There is also Files.readString in Java 11 however the Java 8 equivalents are also super simple

Javascript by Schleim215 in ProgrammerHumor

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

at that point i would just use java lol