Hacker Newsnew | past | comments | ask | show | jobs | submit | novarac23's commentslogin

dang sorry to hear that man :/ that's exactly why I don't want to upgrade just yet.


I think, as a community, we all have to make a mental note, that this shit is tough but with struggle comes the reward. We could learn a lot from pro athletes. Our general rule that we are "lazy" is so bad. You should not be lazy. Do the damn thing. It will be hard, but you are doing it for a reward.

It is super hard to remember that fact, when you are deep down in Node.js trying to figure out how streaming and event loop goes on. But thats where notes and big posters come in :)


Totally agree about the part where people who can do CSS and HTML and know that '.htaccess' is the file to configure stuff for your Wordpress website call themselves "web devs". And I think people from the engineering world look at those people ( since there is a lot of those people) and put a lot of hate on that title. I know this for a fact because I know a few people that are calling themselves just that "web devs". And when ever I get into talking about anything more advanced then CSS and PHP if statments they get lost. Things like concurrency, microservices, encryption etc. Don't get me wrong, there is nothing wrong to be that person, everybody starts there, but you need to evolve.


The conveyor belt metaphor is one of the best that I have ever heard.

It's fine to start out with anything, I did pascal/visual basic in high school. Then did Java/PHP in college. First year of college I did contract work in PHP and in WordPress. It was fun the first year or so and I love that I could have that "instant gratification" moments that PHP is famous for. Then as I grew and learned about things like concurrency, algorithms, HTTP, networking I found myself wondering off to other languages such as Ruby. Then I learned Ruby and now for a year already am doing Rails and Angular and truly enjoy it.

The thing to note here is back in a day when I was doing PHP , I heard a lot from community members and other software engineers saying something like "PHP SUCKS" and stuff like that, but I did not care because everything I wanted to build in that time I could do with procedural PHP or some OOP php or some Wordpress magic. When I realized and knew `why` I want to learn other stuff everything became clear.


The hatred of PHP amongst a certain type is hilarious, they automatically assume that if you chose PHP (or worse program in it because it was what you inherited as well) you are a "lesser programmer".

I choose to use PHP despite been capable of using most any language I wanted, over the years I've used and forgotten many languages and for the requirements I have PHP was a good fit.

Also modern PHP really isn't like old PHP, composer, PSR's, The FIG folks, decent frameworks (Symfony in particular along with Laravel), huge numbers of usable libraries.

Yeah the language has issues but then a) what language doesn't b) with experience you can avoid them.

When you get down to it I only care about providing value whether that is to myself or my customers and they really don't care what language was used as long as it works.


> if you chose PHP (or worse program in it because it was what you inherited as well) you are a "lesser programmer".

If you choose php, I will assume that you.

1. Either is not aware of that php has a million gotchas that you need to avoid at every step. Take a look at the ever growing (!) list at /r/lolphp.

2. You don't see the significance of the aforementioned gotchas. For eg, you can show things like php's registerglobals to a newbie, and he will be impressed by how convenient it is. He won't see how bad it actually can be. This is not because he is a "lesser programmer", but due to a case of "unknown unknowns". Note that you can have 10 years of PHP experience and can still be like this.

> Also modern PHP really isn't like old PHP, composer, PSR's, The FIG....

These things does make a difference. But only on the surface, not deep down where it is really rotten.


Your post is a perfect example of what the author is referring to: stupid people in the community trying to make others feel inferior for programming in a certain technology. When it comes to PHP, such posts are inevitable (that's how I know PHP is actually a good, useful language). About the people who post them, I will assume that you:

1. Are incredibly stupid (register globals has been deprecated for years) 2. Are incredibly closed minded because you make comments like "These things does make a difference. But only on the surface, not deep down where it is really rotten" 3. Can't actually program in PHP and have not written large production apps in it 4. Probably can't actually program any language because you don't realize every single language has a million gotchas

My assumptions may be wrong, but it really doesn't matter. That's the problem with assumptions ... the damage is already done.


FWIW, PHP 4.x was completely awful for large and/or OOP codebases due to the totally insane copy-by-default semantics, the need to use &= perfectly at every call site that returned an instance of a class, and a handful of reference-counting bugs that caused interpreter crashes and still weren't fixed when 5.x matured.

It's definitely gotten better; I feel like a lot of people who swore off PHP forever are remembering version four.


> I feel like a lot of people who swore off PHP forever are remembering version four.

I think that's a valid point however I'm not sure if that is better or worse when they are attacking something.


Oh, almost certainly worse, unless Rasmus Lerdorf is going on another mailing list tirade and flaming them directly.


There are objective differences between programming languages and it's reasonable to have strong opinions about the relative merits and demerits of each. Yes, it's toxic when people who have no real-world experience with a language or platform rant about it, because this tends to be useless bile. But that does't mean PHP is just as good as anything else.

If you only know a single programming language, you should have some inner doubts, no matter what that language is. This is healthy.


Of course languages are different. Some are better for some things than others. Choosing a language without knowledge of its tradeoffs is not a vary good idea.

The issue the parent is comments is judging someone based on their use of a language without knowing if that person has any knowledge of the tradeoffs is doing them a disservice. Spewing that judgement on the internet is actively harmful.


You can assume whatever the hell you want it doesn't really matter to me since I'm well aware of 1 and 2.


Calm down about "gotchas", please, it's already annoying . Every language has gotchas and trade offs. Modern PHP is really much superior than even early versions of PHP 5, not even talking about PHP 4. You can write very clean code in PHP and very smelly in C - it's all up to you.


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

Search: