4 ms·
Funny, i had a really hard time understanding something even more basic: functions. I mean, i understood i could call them with arguments and they would do wha
by orwin 6y ago
Funny, i had a really hard time understanding something even more basic: functions. I mean, i understood i could call them with arguments and they would do what i wanted them to do, but i didn't _understood_ them.
When my main was "too big", i created another function to trim it. I did not get recursive backtracking until i really had to, and then everything lit up for me. I then became a big fan of functionnal programming after that revelation.
- Gibbon1 6y agoWhat found interesting is I learned assembly first. Understanding C pointers and function was pretty easy from there. But C's notation for dealing pointers is non-obvious. Random old school thought. BASIC has an unappreciated feature in that every line of code stands mostly on its own. It's either valid or it's not. In the case of C/C++ that isn't true. A line of codes validity depends on the lines before it.