I think most people loathe PHP because it was initially poorly designed (if not designed at all), plus it allowed for so many bad practices and thus, so many early PHP adopters ( still many more today) were/are bad programmers because of this. Many PHP programmers i have come across don't even know how to test their code, version control was/is still to some a foreign idea, I know a PHP guy who's very good with it but doesn't even use git, so he's a maintaining a Huge Monolith of a codebase that's not Versioned and he's making money off it. Of course he'll always give you an example of facebook, yahoo, and wikipedia, sometimes it feels that the worst part about PHP is that it actually works whether you do it right or wrong. Yes most of these PHP guys adjusted to challenges that was posed by much cooler languages like Ruby and Python and became good programmers but there's more bad PHP programmers than the good ones, so yeah, that's one of the reasons most programmers don't like php.
Because it's off topic. Start your own threadNaona watu wametaja language nyingi sana lakin sijaona language moja ambayo iko so familia katika vyombo vya electronic. Mwenye uelewa na Aduino plz come on the board
Actually I don't mean Python is superior, I use PHP a lot , but Python Zen is convincingstormryder how many languages have you used for backends that convinces you that Python have no match? I love and drum behind Python a lot but I find your statements always overstated. Python have a lot of matches in backend and like all languages it is beaten by some in some areas
May be hujafanya utafiti, Language tulizosema humu can be used also in electronics, eg C/C++, watu wametaja Golang which primarly is system language wametaja Java, Python which now is second in embedded system programming hasa mwenye Raspberry Pi na Arduino also Kuna Web Technologies kama Node Js na PHP can be used in IoT tafuta board za Intel Edison, simply inabidi uelewe Programming is modifying system behaviour hata web unaweza ukaandika kwa Assembly like languages hata kwa 1 and 0 cha msingi uweze kuwa na Logic ya unachotaka kufanyaNaona watu wametaja language nyingi sana lakin sijaona language moja ambayo iko so familia katika vyombo vya electronic. Mwenye uelewa na Aduino plz come on the board
zech I don't write unit test or any other tests. I haven't found yet a convincing reason why I should do, so far. Am super debugger guy and can locate issues easily. May be you can convince me today.
I version my stuff though. I know its super important. And git is cooler than old good svn and grandma cvs
You're right. It's latter. But I'm yet to fibd convincing reason yo do it even after learning it. The day I find reason to do it I'll definitely jump into it. Maybe share your experience on that?
You can't hate a tool for allowing you to use it badly. It must be noted that, programming is not just a career, but a way of life, a lifestyle, you've to be passionate about it and not the type that must be enforced by a tool to become a good programmer.
You've to be the type that spends long hours learning new ways of making your programming skills better, making use of every known concept out there. Ensuring every line of code you write can be useful to others, and more importantly, can make sense to you one year later.
Making use of tools like PHPUnit for unit testing through the development cycle, taking precautions and ensuring security (develop defensively), incorporate helpful designing concepts such as DRY and ORM, Indent your code properly and use meaningful naming conventions, profile your code with tools such xdebug.....
I can go on and on, but my point is simply about taking charge as the developer, being mature and disciplined enough to be relied upon. Language/tool haters are just lazy-bums who find solace by blaming anything, there are also the so called "purists" who pretends to hate Python simply because it allows dynamic typing as opposed to "true languages" that enforces static typing such C and C++.
You might be one of the good guys, but sadly most of them are not, and we're having to maintain some of the mess they leave on the internet. I had to cut my Christmas holidays short last year because some PHP developer decided to do some Wordpress installation on a client's project with all its default malpractices, it wasn't a good experience i can tell you that.
zech I don't write unit test or any other tests. I haven't found yet a convincing reason why I should do, so far. Am super debugger guy and can locate issues easily. May be you can convince me today.
I version my stuff though. I know its super important. And git is cooler than old good svn and grandma cvs
WordPress is a good example of abuse of PHP. I worked some time back to develop plugins and it was headache. Legacy code... Uh!
I am not an expert on WordPress, apart from putting up a few websites with it. But I believe as a developer, it's your responsibility to ensure every plugin you develop meets every possible security requirements. The system core comes loaded with security, but the moment you begin to install plugins left right with abandon, that's when things gets murky.