r/foundtheprogrammer • • Jan 09 '23

Caught java-ing

Post image
161 Upvotes

10 comments sorted by

View all comments

Show parent comment

14

u/[deleted] Jan 09 '23

[removed] — view removed comment

0

u/[deleted] Jan 09 '23

[deleted] — view deleted comment

1

u/[deleted] Jan 09 '23

[removed] — view removed comment

0

u/[deleted] Jan 09 '23

[deleted] — view deleted comment

6

u/[deleted] Jan 09 '23

[removed] — view removed comment

0

u/[deleted] Jan 09 '23

[deleted] — view deleted comment

1

u/InfernoSlayer2 Jan 26 '23

How

3

u/WhJJackWhite Apr 16 '23

Four spaces = One Tab

Just 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);
}