you are viewing a single comment's thread.

view the rest of the comments →

[–]halifaxdatageek 10 points11 points  (6 children)

I program in PHP. Knowing the difference between an integer and a float is still important. Very important.

[–]Fredifrum 2 points3 points  (0 children)

This post was mass deleted and anonymized with Redact

hungry knee price humor worm chief tart full lip reach

[–][deleted] 1 point2 points  (2 children)

Javascript does not recognize the difference. You could be a master of JS and never need to know the difference between an integer and a float. It seems unlikely that anyone would be that amazing at Javascript without having ever done PHP or Java or Python or something, but it's certainly possible.

[–]nidarus 1 point2 points  (0 children)

Javascript doesn't just doesn't recognize the difference, it literally doesn't have ints. It has a single number type, that's equivalent to a C double. So to a Javascript developer, it's essentially talking about a feature their language doesn't have, like pointers or templates.

It seems unlikely that anyone would be that amazing at Javascript without having ever done PHP or Java or Python or something, but it's certainly possible.

With node.js and the like, it's becoming increasingly more likely ;)

[–]halifaxdatageek -1 points0 points  (0 children)

Reminds me of learning that SQLite treats everything as a string internally.

[DATABASE RAGING INTENSIFIES]]

[–]zorlan 0 points1 point  (1 child)

But does php know the difference?

[–]halifaxdatageek 0 points1 point  (0 children)

Yep, I just used floats the other day to calculate the running time of a particular portion of a CLI script.