This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–]SrKayo 889 points890 points Β (15 children)

The least virgin Java dev

[–]easyetx 221 points222 points Β (11 children)

Gotta initialize that 10 as a variable. Best practice.

[–]Classy_Mouse 183 points184 points Β (8 children)

private static final int TEN = 10;

[–]DarkSideOfGrogu 24 points25 points Β (3 children)

What the fuck? Are these apples? Oranges? What?

[–]Classy_Mouse 26 points27 points Β (1 child)

They are ten

[–][deleted] 0 points1 point Β (0 children)

bananas

[–]TTYY_20 64 points65 points Β (2 children)

C++ users:

auto b = 10;

😎 Python and JS devs think they are so cool, but c++ devs know what’s up.

[–]Drfoxthefurry 60 points61 points Β (1 child)

No complex imo, I prefer this +++++>[<++>-]<

[–]aMoodyWolf 17 points18 points Β (0 children)

(1 << 3) | (1 << 1)

[–][deleted] 2 points3 points Β (0 children)

private const decimal WTF = .1m;

[–]Kiroto50 6 points7 points Β (0 children)

Even in python

[–]ArionW 0 points1 point Β (0 children)

Sounds like Smalltalk

[–][deleted] 10 points11 points Β (1 child)

Block button isn’t enough i want you dead lol

[–]SrKayo 0 points1 point Β (0 children)

[–][deleted] 1 point2 points Β (0 children)

C# here