3 ms·
Back when I was a teacher's assistant in college, the professor for an introductory "learn to program" course was teaching students this is the right way to def
by Izkata 2y ago
Back when I was a teacher's assistant in college, the professor for an introductory "learn to program" course was teaching students this is the right way to define an array of chars:
{'h,', 'e,', 'l,', 'l,', 'o'};
He also gave them sample code where the assignment was to fill in the body of one of the functions, but in an unrelated part of the code he had a typo that resulted in infinite recursion in an object constructor.