@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
People keep saying that you should write code that is self explanatory instead of using comments. Do you think this is better than using comments?
Tweet media one
318
750
8K

Replies

@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
"Don't use i, j, k in for-loops" Say no more:
Tweet media one
11
39
1K
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
Follow me for more programming shitposts. I also make horror games and shit.
Tweet media one
2
2
268
@JessieTheFish1
Jessie "The Fish"
4 months
@Phantom_TheGame Why is there no bool for player losing the game?
1
0
6
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@JessieTheFish1 Because I don't make games for losers
0
1
108
@FlipbookGames
Flipbookee
4 months
@Phantom_TheGame Looks beautiful 😻 self explanatory as hell!
1
0
2
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@FlipbookGames Maybe this is what I should keep doing then
0
0
3
@comp3int
𝙲𝙾𝙼𝙿-𝟹 π™Έπ™½πšƒπ™΄πšπ™°π™²πšƒπ™Έπš…π™΄ 🐷
4 months
@Phantom_TheGame I know it's a meme but I genuinely hate people who don't use comments with a passion
8
0
164
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@comp3int // why do you hate me :(
1
0
92
@write_int
Write Int
4 months
@Phantom_TheGame we like to keep it simple with abbreviations. tAMThP_has
1
0
6
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@write_int Very clever, always try to save the characters. They don't grow on trees.
0
0
3
@night_tonic
TeaTonicNight
4 months
@Phantom_TheGame Not gonna lie, I'm one of those people that has written out functions... so feel kinda attacked right now but that's okay because it's... better
2
0
20
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@night_tonic As exaggerated as in the post? πŸ˜‚
1
0
6
@JennaGrip
Jenna Grip
4 months
@Phantom_TheGame I'll stick to: lol, foo, bar, cd and bj.
1
0
2
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@JennaGrip For me it's i, j, k (or i1, i2, i3) for ints, f, f1, f2, f3 for floats, d1, d2, d2 for double, b, b1, b2 for bools. That way I will always know what type the variable is!
1
0
1
@BarrierXI
Nikodem Lokatelj
4 months
@Phantom_TheGame This is a bit extreme, but unironically yes, this is better than comments πŸ˜„
1
0
29
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@BarrierXI Or descriptive names with additional info if it's hard to explain in the variable name 😎 Usually though a variable name with like 2-5 keywords should do the trick.
0
0
6
@sixbitglitch
Sixbit
4 months
@Phantom_TheGame Oh this is beautiful... I'm inspired to try harder for longer variable names ❀️❀️
1
0
1
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@sixbitglitch I believe in you. You too can make beautiful and readable code like me
0
0
2
@simeonvisser
Simeon Visser
4 months
Tweet media one
7
4
143
@Phantom_TheGame
Fear the Phantom (game in bio)
4 months
@simeonvisser omfg πŸ˜‚
0
0
13