Remove Article Remove Java Remove JavaScript
article thumbnail

Mangling JSON numbers

TechEmpower

If we have a long (64-bit integer) that we serialize into JSON, we might be in trouble if JavaScript consumes that JSON. JavaScript has the equivalent of double (64-bit floating point) for its numbers, and double cannot represent the same set of numbers as long. The output of x.toString() in JavaScript is suspicious.

article thumbnail

How to Teach Computational Thinking

Xconomy

Yes, there’s certainly a need for some number of software engineers in the world who can write low-level programs in languages like C++ or Java or JavaScript—and can handle the details of loops and declarations. One can express things at a much higher level—so one can concentrate on computational thinking, not mere programming.