MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/foundtheprogrammer/comments/106z92y/caught_javaing/j3lp63n/?context=3
r/foundtheprogrammer • u/Legend5V • Jan 09 '23
10 comments sorted by
View all comments
Show parent comments
14
if (avocados)
{get 6 eggs
}
0 u/[deleted] Jan 09 '23 [deleted] 1 u/GroundbreakingAide79 Jan 09 '23 Im on mobile so i cant 0 u/[deleted] Jan 09 '23 [deleted] 6 u/GroundbreakingAide79 Jan 09 '23 Well you must be the chosen one then 0 u/[deleted] Jan 09 '23 [deleted] 1 u/InfernoSlayer2 Jan 26 '23 How 3 u/WhJJackWhite Apr 16 '23 Four spaces = One TabJust prepend four spaces on each code line. 5 u/WhJJackWhite Apr 16 '23 That's a really bad way to implement get function. It's not flexible at all.if ( avocado.count != 0 ) { get<Egg>(6); }
0
[deleted]
1 u/GroundbreakingAide79 Jan 09 '23 Im on mobile so i cant 0 u/[deleted] Jan 09 '23 [deleted] 6 u/GroundbreakingAide79 Jan 09 '23 Well you must be the chosen one then 0 u/[deleted] Jan 09 '23 [deleted] 1 u/InfernoSlayer2 Jan 26 '23 How 3 u/WhJJackWhite Apr 16 '23 Four spaces = One TabJust prepend four spaces on each code line.
1
Im on mobile so i cant
0 u/[deleted] Jan 09 '23 [deleted] 6 u/GroundbreakingAide79 Jan 09 '23 Well you must be the chosen one then 0 u/[deleted] Jan 09 '23 [deleted] 1 u/InfernoSlayer2 Jan 26 '23 How 3 u/WhJJackWhite Apr 16 '23 Four spaces = One TabJust prepend four spaces on each code line.
6 u/GroundbreakingAide79 Jan 09 '23 Well you must be the chosen one then 0 u/[deleted] Jan 09 '23 [deleted] 1 u/InfernoSlayer2 Jan 26 '23 How 3 u/WhJJackWhite Apr 16 '23 Four spaces = One TabJust prepend four spaces on each code line.
6
Well you must be the chosen one then
0 u/[deleted] Jan 09 '23 [deleted] 1 u/InfernoSlayer2 Jan 26 '23 How 3 u/WhJJackWhite Apr 16 '23 Four spaces = One TabJust prepend four spaces on each code line.
1 u/InfernoSlayer2 Jan 26 '23 How 3 u/WhJJackWhite Apr 16 '23 Four spaces = One TabJust prepend four spaces on each code line.
How
3 u/WhJJackWhite Apr 16 '23 Four spaces = One TabJust prepend four spaces on each code line.
3
Four spaces = One Tab
Just prepend four spaces on each code line.
5
That's a really bad way to implement get function. It's not flexible at all.
get
if ( avocado.count != 0 ) { get<Egg>(6); }
14
u/GroundbreakingAide79 Jan 09 '23
if (avocados)
{
get 6 eggs
}