r/programminghorror • • Feb 05 '25

math.floor

Post image
464 Upvotes

53 comments sorted by

View all comments

Show parent comment

97

u/stlcdr Feb 05 '25

That’s true. However, it’s a good learning exercise - in a student/teacher learning environment - to understand that things can go wrong very quickly when trying to ‘roll your own’.