English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
3

nesting functions or assigning functions
and why?

2006-12-19 08:12:45 · 2 answers · asked by Rami 5 in Computers & Internet Programming & Design

attempting to to get to best programming practice

2006-12-19 08:23:21 · update #1

2 answers

Can't. Nesting functions can get tricky, but assigning functions can be tricky, too, when you don't consistently assign a function.

Be consistent and logical when programming otherwise you lose what you are doing every time. As you get more experience in programming you will know when you can mix the two, but for now stay consistent and do what works for you.

2006-12-27 06:53:05 · answer #1 · answered by Ding-Ding 7 · 3 0

Either as long as you don't intoduce loops.
Looping code increases cpu usage, and a mistake could result in an infinit loop. The goal should be to roll out loops into liner code for best performance.

2006-12-21 15:21:37 · answer #2 · answered by mapleguy 7 · 0 0

fedest.com, questions and answers