←back to thread

129 points surprisetalk | 4 comments | | HN request time: 0.001s | source
1. huhtenberg ◴[] No.44454546[source]
The title is wrong. It should've been

  PHP, a Real Programming Tool.
That's it. That's the story.
replies(1): >>44454999 #
2. naikrovek ◴[] No.44454999[source]
It’s certainly useful, but without looking, what is the difference between these two methods in the standard library:

array_sort

sortArray

Even if you can answer that off the top of your head, consider how ridiculous it is that you needed to memorize that at some point. This is not the only example of such a thing a PHP dev needed to remember to be effective, either.

Any programming language can be wielded in a simple way. Perl, for example, is superior to PHP in every way that is important to me.

Go is as well, even though it’s slightly more verbose than PHP for the authors imagebin tool.

We don’t do things simply because we’ve all been taught that complexity is cool and that using new tools is better than using old tools and so on.

My employer creates pods in Kubernetes to run command line programs on a fixed schedule that could (FAR MORE SIMPLY) run in a cronjob on a utility server somewhere. And that cronjob could email us all when there is a problem. But instead I have to remember to regularly open a bookmark to an opensearch host with a stupidly complex 75-character hostname somewhere, find the index for the pod, search through all the logs for errors, and if I find any, I need to the dig further to get any useful contextual information about the failure … or I could simply read an email that cron automatically delivered directly to my inbox. We stumble over ourselves to shove more things like that into kubernetes every day, and it drives me nuts. This entire industry has lost its goddamned mind.

replies(1): >>44455198 #
3. hnthrow90348765 ◴[] No.44455198[source]
>This entire industry has lost its goddamned mind.

Yep, stay-with-the-fad pressures mean people need to farm experience using those fads.

It won't change until the industry is okay with slowing down

replies(1): >>44463413 #
4. naikrovek ◴[] No.44463413{3}[source]
This industry is STILL growing so fast that there is no negative selection pressure to weed out bad ideas. There’s no punishment at all for doing things in stupid or inefficient ways. There is only reward for completing the project.

I like doing things properly and almost no one else at my enormous employer does. Certainly no one on my team does, and it is extremely stressful. I feel like I am talking to a wall when I talk to my team members. No one understands. No one wants to.