Coffeehouse Post

Single Post Permalink

View Thread: Oh come on, no Mars thread?
  • User profile image

    , Bass wrote


    On the contrary. If they used JavaScript we'd probably have Mars bases by now because of the improved productivity. Type casting couldn't make rockets go boom, because JavaScript only has one number type. So there. Smiley

    Type-casting happens all the time in Javascript. Difference is that the programmer doesn't get to choose when or how it happens - it just happens under the hood without telling you.