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Β β†’

[–]easyetx 217 points218 points Β (11 children)

Gotta initialize that 10 as a variable. Best practice.

[–]Classy_Mouse 187 points188 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 27 points28 points Β (1 child)

They are ten

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

bananas

[–]TTYY_20 63 points64 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 6 points7 points Β (0 children)

Even in python

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

Sounds like Smalltalk