+ 3

Are you able to put a function inside a function and a switch inside a switch?

15th Jan 2017, 8:52 PM
kelogames
kelogames - avatar
3 Answers
+ 6
Yes... Nested function, why not ( it's the case to simulate class ), but nested switch should be avoid: it's suppose a complexity surely requiring factorization, at least for readability ^^
15th Jan 2017, 9:03 PM
visph
visph - avatar
0
oh sorry
30th Jan 2017, 8:34 PM
ConCon Beisser
ConCon Beisser - avatar
- 1
No, I think not
30th Jan 2017, 8:34 PM
ConCon Beisser
ConCon Beisser - avatar