HN user

shakesbeard

174 karma
Posts1
Comments70
View on HN

What a lot of folks are struggling to understand (myself included) is how this actually reflects on the quality of life?

You're more productive? Nice ... for you or your business/employer? Do you also get more free time out of it? With all this free time you could actually travel and do a language school for 3 months. That sounds like an improvement in quality of life to me. Not better translations in that language.

The life of my family (we have a good life) hasn't become significantly improved with LLMs. We still struggle with the same problems as before. These companies don't solve the big problems of societies and that's why I feel like their value is not justified.

We've only made good experiences with layered architecture (onion architecture in particular, which is quite straight forward). We also never built it with the idea in mind to ever replace the storage engine. No, the big, big benefit has been that we can test everything without ever mocking a single class.

I also don't get the point about "going back to IoC" ... how is that mutually exclusive from using a layered architecture. This section was weird and didn't offer any good alternative.

and now 20 years later we are still stuck with the same garbage.

and it hasn't been an issue ever. because all userland code lives in its own namespaces.

That's just not true. It's not JS. Composer will install exactly one version of every package. If your dependencies have incompatible dependencies themselves, then Composer will refuse to install the package. And this fact has led to PHP packages actually being maintained and kept compatible with each other. Of course, sometimes you run into dependency issues, but it's worth it because you'll always have quite clean, flat and small vendor directory. Compared to the node_modules horror it's great for maintenance.

I loved Flattr ~10 years ago. You said "I have $40/month" and then these funds were allocated based on which things you flattr'd during the month (there were little buttons on the websites/blogs). Of course you could also say "include this content creator every month".

It was so simple and elegant. As a consumer I had cost control, too. Plus there were no micro-transactions, only one charge to me.

An Internet of PHP 3 years ago

You shouldn't deploy .env files to production. You should set the actual environment variables on production. .env files are intended for convenience on non-prod systems.

What I haven't seen mentioned here is that as a backend dev you're usually much closer to the business people. You'll have to talk to them, understand their needs and translated them from their language into code. You'll have to come up with a design and implement it. Business logic is more common to be found in backends than frontends in my experience unless you do something with really sophisticated UIs.

You may have missed it, but with PHP 7 the language has even more shifted towards stricter typing paradigms. People use strict comparison, typed properties, typed arguments, etc. Couple that with one of the popular static analysis tools and you'll never see any such errors.

How Rebounds Work 12 years ago

"We were standing in the lay-up line, warming up and shooting, and Rodman was standing back and watching everybody shoot. I said, ‘Hey, come on, you have to participate; everybody’s shooting lay-ups, you have to shoot lay-ups, too.’ And he said, ‘I’m just watching the rotations on the basketball.’ I said, ‘Excuse me?’ He said, ‘Like, when you shoot, your ball spins three times in the air. Joe’s sometimes has 3 1/2 or four times.’

That’s how far Rodman had taken rebounding, to a totally different level, like off the charts. He knew the rotation of every person that shot on our team — if it spins sideways, where it would bounce, how often it would bounce left or right. He had rebounding down to a science, and I never heard anyone think or talk about rebounding and defense the way he could break it down."

Isiah Thomas on Dennis Rodman's rebounding. http://www.businessinsider.com/dennis-rodman-basketball-geni...