View Single Post
Old 01-22-2013, 08:59 PM   PM User | #4
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,454
Thanks: 0
Thanked 498 Times in 490 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Most procedural languages have copied a lot for C so learning C would give you a good start to understanding other procedural languages. It does mean you need to install a compiler on your computer to be able to run the code you write though.

With regard to object oriented programming both C++ and PHP suffer from having the ability to use them to write procedural code so if you are going to use either to learn OOP then you need to ensure that you actually use the OOP features of the language and not just the procedural ones.

JavaScript has the advantage that it runs in a web browser without needing a separate compiler. From the security viewpoint it has the disadvantage that because it runs in the browser it doesn't actually have access to anything that presents a security issue. The security issues that are JavaScript related involve security holes in code written in a server side language such as PHP.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote