Hacker News new | past | comments | ask | show | jobs | submit login

There is probably a set of "good languages to learn" for every individual. There are two good reasons to learn a programming language:

1. You're using it for actual work

2. Learning it will teach you something fundamental

I feel like the only way 2. might happen with PHP is if it's the first language you're learning.




PHP was my gateway to understanding C. It wasn't my first, but it definitely helped me learn more computer fundamentals than other languages.


PHP was my gateway to _everything_, most importantly employment.

I don't use it any more, but in 2002 when shared hosting and deploying by uploading files via FTP was the thing it was a lot easier to get started with than Perl or Java (which I desperately tried to get into back then).


Oh yeah. PHP was the first language where I thought "hey, this thing that already works, I could rewrite it in exactly the same form in another language". I rewrote a Perl payment gateway thing that I had written almost alone earlier into PHP, made it OO and everything. No point whatsoever but what an exercise :P This was ~1997.

So it was almost the first language I used to make actual money.


I felt like PHP set me back as a first language (many moons ago). It just works so differently to other languages.


Can you pinpoint anything in PHP that allowed you to gain such knowledge better than whatever your first language was?


I started with BASIC, then shell scripting, then an internally developed language similar to COBOL. Being self taught I didn't really "get" data types, so the big names at the time like C and Java made no sense. PHP was a crutch that allowed me to learn and experiment with functions that were pretty forgiving. The eventual type related bugs I'd introduce into my code where it would work but not correctly eventually helped the concept click in my brain. I still don't get Java.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: