My Computer Forum Computer Science Forum

Go Back   My Computer Forum > Computer Science Forum > Programming

Programming Programming Languages, Interpreters, and Compilers - Assembly, Declarative, Machine, Object Oriented, Iterative


Reply
 
LinkBack Thread Tools Display Modes
March 17th, 2013, 08:20 AM   #1
Site Founder
 
julien's Avatar
 
Joined: Dec 2007
Posts: 414
Automatic types conversion

Here's an interesting article about automatic types conversion in Javascript: http://www.sitepoint.com/automatic-type-conversion/
I don't know what you think about it, but personally I always make sure about the data type which is passed to a function as an argument by testing the type first (typeof() in javascript, is_int, ... etc ... in PHP).
julien is offline  
 

My Computer Forum is free to register and we welcome everyone!

Reply

  My Computer Forum > Computer Science Forum > Programming

Tags
automatic, conversion, types



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Types johnny Databases 11 January 2nd, 2014 06:33 AM
Merge Sort (Two types ?) david cool Algorithms 4 April 29th, 2008 10:18 PM





Copyright © 2018 My Computer Forum Forum. All rights reserved.