by geek_at · 3y ago · 0 comments
This was also how I got into CS many years ago. The old tricks still work
[1] https://blog.haschek.at/2014/why-hackits-are-the-first-thing...
GPT gets JavaScript numerical semantics utterly wrong but the only non-integer operation is a red herring: "the result [of 14/3] is approximately 4.6667, but JavaScript will store it as 4 since we are not using floating-point numbers"
Do you mind me asking what you did after you left teaching?
That usually is an eyeopener to how the whole thing is working.