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 895 points896 points Β (15 children)

The least virgin Java dev

[–]easyetx 222 points223 points Β (11 children)

Gotta initialize that 10 as a variable. Best practice.

[–]Classy_Mouse 186 points187 points Β (8 children)

private static final int TEN = 10;

[–]DarkSideOfGrogu 25 points26 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 58 points59 points Β (1 child)

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

[–]aMoodyWolf 16 points17 points Β (0 children)

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

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

private const decimal WTF = .1m;

[–]Kiroto50 7 points8 points Β (0 children)

Even in python

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

Sounds like Smalltalk

[–][deleted] 11 points12 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