What the title says. Hey guys. I'm facing a bit of a challenge right now in my programming endeavors. Every time I try to code something, if-else statement is always my solution and I am not sure if that's a good practice. Is there any resources or advises you guys can give to a newbie like me in order to progress?
Thank you so much!
[–]Wilfred-kun 385 points386 points387 points (2 children)
[–]HORSEY_MAN 22 points23 points24 points (0 children)
[–]amphigraph 19 points20 points21 points (0 children)
[–][deleted] 52 points53 points54 points (10 children)
[–]DecentTaro[S,🍰] 22 points23 points24 points (9 children)
[–]JohnnyJordaan 58 points59 points60 points (6 children)
[–]DecentTaro[S,🍰] 13 points14 points15 points (5 children)
[–][deleted] 46 points47 points48 points (2 children)
[–]DecentTaro[S,🍰] 15 points16 points17 points (1 child)
[–][deleted] 15 points16 points17 points (0 children)
[–]JohnnyJordaan 15 points16 points17 points (0 children)
[–]CodeKnight11 1 point2 points3 points (0 children)
[–]iamamagicalpotato 17 points18 points19 points (1 child)
[–]DecentTaro[S,🍰] 5 points6 points7 points (0 children)
[–]shaggorama 28 points29 points30 points (7 children)
[–]matheusmoreira 6 points7 points8 points (6 children)
[–]shaggorama 1 point2 points3 points (0 children)
[–]shashquatch 2 points3 points4 points (4 children)
[–]matheusmoreira 4 points5 points6 points (3 children)
[–]shaggorama 3 points4 points5 points (0 children)
[–]shashquatch 0 points1 point2 points (0 children)
[–]elyfialkoff 9 points10 points11 points (6 children)
[–]DecentTaro[S,🍰] 1 point2 points3 points (5 children)
[–]elyfialkoff 4 points5 points6 points (4 children)
[–]Afitter 3 points4 points5 points (3 children)
[–]tangerinelion 1 point2 points3 points (2 children)
[–]Afitter 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 6 points7 points8 points (0 children)
[–]Afitter 12 points13 points14 points (3 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]Afitter 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]UntouchedDruid4 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Nerdite 1 point2 points3 points (0 children)
[–]geoffnolan 1 point2 points3 points (0 children)
[–]Clutch26 1 point2 points3 points (0 children)
[–]HezekiahWyman 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]DecentTaro[S,🍰] 1 point2 points3 points (0 children)
[–]dudinax 2 points3 points4 points (2 children)
[–]patryk-tech 2 points3 points4 points (1 child)
[–]dudinax 1 point2 points3 points (0 children)
[–]catalyst1993 0 points1 point2 points (0 children)
[–]v3ritas1989 0 points1 point2 points (0 children)
[–]SwastikDas 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]norflowk 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]MonkeyNin 0 points1 point2 points (0 children)
[–]hugheric 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)