A programming instructor shares a memorable story about a student who fundamentally misunderstood how functions and variables work in Ruby. The student wrote two separate functions with hardcoded values instead of a single general-purpose function, believing one function couldn't return two different results. The author draws

3m read timeFrom marcgg.com
Post cover image
Table of contents
The CodeA Few Takeaways

Sort: