Live data from Hacker News

Learn PHP the Right Way

github.com

71–73 of 73 posts

Re: Learn PHP the Right Way

#71
post #13
post #10

Earlier quoted context omitted.

Please give me some examples!

Learn a functional language like Elixir. That’ll prove both useful and mind expanding!

Using Perl for sysadmin work and living life in Regex for a while has its perks too. ;)

Re: Learn PHP the Right Way

#72
post #48
post #31

Earlier quoted context omitted.

Anecdotal at best, but that is essentially the way I learned English, and definitely the reason I think I don't have a distracting accent when talking in English.

Edited to specify I'm talking about programming languages...

I'd say it depends:

- Depends on stage of study - Depends on type of concept - Depends on how the student learns the most effectively.

There's only one way I think your statement is true, and that's if you add "solely".

Re: Learn PHP the Right Way

#73
post #37

It's disappointing that PHP still gets hate in 2024. PHP of 2024 isn't the PHP of 2004. As someone with a bunch of experience in Java, C, C++, Python, PHP, Hack, Javascript and a handful of others, PHP is (IMHO) almost a perfect language for serving HTTP requests because of these characteristics: 1. Essentially an HTML document is a valid PHP program. This is an excellent starting point for beginners; 2. PHP has a st…

IMHO most of hate is just because it is fashionable to hate some languages including PHP and Perl. But there is some criticism which looks valid to me e. g. [1] Regarding embedded into HTML PHP code - it's a easy for beginners but in a large application it leads to hard to maintain mix of app logic and presentation - AFAIK this feature is rarely used outside toy project for many years. [1] https://eev.ee/blog/2012/04…

Embedding PHP in HTML is often treated as a kind of dirty legacy we don’t talk about, even though is actually an amazing prototyping feature. As long as you use it like you would use Jupyter notebooks, you’re golden.
Post reply on HN