3 ms·
PHP is not an easy language for someone just learning programming, it has tons of annoying quirks and is hard to debug. Visual Basic is better, I'd also reccomm
by smokey221 16y ago
PHP is not an easy language for someone just learning programming, it has tons of annoying quirks and is hard to debug. Visual Basic is better, I'd also reccommend Ruby. Not only is it a very easy language to learn, it also provides him with decent career prospects.
- thaumaturgy 16y agoI selected languages based primarily on the range and depth of programming concepts that they use. So, PHP because it's relatively straightforward, but not Javascript because of its use of closures. Even though a beginner doesn't need to learn closures in Javascript, it's likely that they'll encounter them before long, and lots of experienced programmers have had to spend effort trying to get their head around them. But, you're right, PHP does have a bad reputation in programming circles. > hard to debug. True, but there are ways to remedy this. My primary development environment is a PBG4; since I'm doing lots of Javascript/PHP work these days (and hating most of it), I have MAMP set up for a local development environment, with MacGDBp for debugging, and a couple of bash scripts that let me rsync between my laptop and various servers. With MacGDBp, I can step through PHP code, set breakpoints, examine variables, the usual debuggery stuff. There are Windows equivalents for all of these tools.