Readit News logoReadit News
jamesfinlayson commented on PHP: The Toyota Corolla of programming   deprogrammaticaipsum.com/... · Posted by u/secstate
akavi · 5 months ago
Is PHP more performant? That'd be surprising to me, given how many eng hours have been invested in V8
jamesfinlayson · 5 months ago
PHP is decent enough - if Opcache is enabled and configured correctly then it does the job. I haven't tried the latest JIT stuff though.
jamesfinlayson commented on PHP: The Toyota Corolla of programming   deprogrammaticaipsum.com/... · Posted by u/secstate
sjm-lbm · 5 months ago
I think you're underestimating how hard it is to shoot yourself in the foot when using the PHP language defaults and the defaults for any modern PHP framework - it's genuinely hard to do.

I still don't think PHP is a good idea for a greenfield project or anything, but they have done a good job of hiding all the footguns.

jamesfinlayson · 5 months ago
> I think you're underestimating how hard it is to shoot yourself in the foot when using the PHP language defaults and the defaults for any modern PHP framework - it's genuinely hard to do.

Agreed. I remember happily starting a couple of new PHP projects in the last decade and the frameworks felt like working in any other programming language.

jamesfinlayson commented on PHP: The Toyota Corolla of programming   deprogrammaticaipsum.com/... · Posted by u/secstate
kstrauser · 5 months ago
I think 1 is a myth. It’s easy to deploy as long as you don’t care about atomic updates, like the newly uploaded version of foo.php importing bar.php which hasn’t been uploaded yet. Solve that, say with a DAG of which files to upload in which order, and it’s no longer easier than anything else.

Like many other things, PHP makes it easier to do the wrong thing than other languages which make you do the same thing correctly.

jamesfinlayson · 5 months ago
I worked at a place that did git pull as the release process - it was a big site but I never heard of there being any issues (though the code was on life support so no huge changes were happening).

They switched to blue/green deploys for the new site (which I suspect was done at the server level, not with symlinks or the like).

jamesfinlayson commented on So you're a manager now   scottkosman.com/post/blog... · Posted by u/mooreds
icedchai · 5 months ago
Yes. You stepped over the line trying to do the manager's job. ;) One manager told me he didn't believe person X's performance was a problem because the work was getting done. The work was getting done by other people. I once had a guy open a PR when 5000 lines of code, tell me "I couldn't get it to work, but here you go", then I and another person had to spend another 2 weeks fixing and rewriting it.
jamesfinlayson · 5 months ago
> You stepped over the line trying to do the manager's job. ;)

Indeed! I suppose I misunderstood my manager's direction to onboard the new guy.

jamesfinlayson commented on So you're a manager now   scottkosman.com/post/blog... · Posted by u/mooreds
alkonaut · 5 months ago
> You were probably really good at your job. Now your job is to make sure other people can be good at theirs.

Anyone else see the exact opposite, that out of N people that _could_ become managers, it’s the worst individual contributors that do? Mostly because they want it most. People who love being individual contributors are going to become good at it, and they’ll resist management tasks.

I think this is great and very natural. But there’s a kind of zombie myth that engineering managers are the best former engineers that refuses to die. It’s decent engineers with some aptitude and/or desire to manage.

jamesfinlayson · 5 months ago
Yep, that "because they want it most" is very dangerous.

Anecdotally, the two worst managers I've had were developers, but I've had three really good managers that were formally developers. Then the best manager I've had used to be a business analyst.

jamesfinlayson commented on So you're a manager now   scottkosman.com/post/blog... · Posted by u/mooreds
Aurornis · 5 months ago
> you have to find how each person behaves. Lots of talk, influence, repeating the same thing every day, etc.

It doesn’t help that most of the management advice you find on the internet assumes that inside every employee is a happy, productive worker and their manager can unlock it with the right words.

In the real world the range of employee types is very large. Some of them are just toxic and you’re not going to coach it out of them. Knowing when and how to cut your losses is important for preserving the rest of the team.

jamesfinlayson · 5 months ago
> Knowing when and how to cut your losses is important for preserving the rest of the team.

Too right. Hire slow and fire fast was a saying that I saw recently.

jamesfinlayson commented on So you're a manager now   scottkosman.com/post/blog... · Posted by u/mooreds
whstl · 5 months ago
Off topic, but:

It's interesting how everyone thinks they're "managers" in "agile" teams.

Scrum Masters, Product Owners. I've even had Designers and QAs trying to make decisions on behalf of the team.

jamesfinlayson · 5 months ago
> QAs trying to make decisions on behalf of the team

Oof, hits close.

Suggestion from a QA to implement some feature that is hugely difficult to implement? Business agrees so developers now need to make it happen.

jamesfinlayson commented on So you're a manager now   scottkosman.com/post/blog... · Posted by u/mooreds
MrGilbert · 5 months ago
Agile Coach / Scrum Master chiming in - I switched from an engineering position to this more people-centric role, and completely agree with you.

What I find fascinating about this is how predictable people become once you know the different personalities and their nuances. It helps tremendously to also be interested in getting to know people. And yes, you will encounter people that are disruptive. Usually, and I can only speak for my environment, the team itself is quite good at handling that. I just need to give them room and provide a setting where they can talk about the issues at hand on a constructive base.

That's why I love my job, and it may sound weird - but I'm the guy who can ask all the obvious questions that come to mind and others don't dare to ask. I love that I can build myself a toolbox to use in different (and difficult) situations. And I love to see my team succeed on the one hand, and learn from failure on the other.

jamesfinlayson · 5 months ago
> how predictable people become once you know the different personalities and their nuances

I will never cease to be amazed at managers who don't do this. I've seen enough managers who pick fights with the wrong subordinates then have to scramble to replace key staff when they leave.

jamesfinlayson commented on So you're a manager now   scottkosman.com/post/blog... · Posted by u/mooreds
icedchai · 5 months ago
Performance management is challenging and has been a problem with my previous managers. I point out that person X is not doing their job well, not reviewing PRs (stamping LGTM on everything after about 30 seconds), writing buggy code, writing zero tests, no updating existing tests, not responsive to communication, not receptive to feedback. "I'll talk to him." No change. Two months later, I have the same discussion.
jamesfinlayson · 5 months ago
Yep, I did this once and got thrown under the bus when person X left, citing my behaviour - apparently asking person X to follow coding standards, right tests, implement the feature as requested was not a reasonable thing to do.
jamesfinlayson commented on .NET 10 Preview 6 brings JIT improvements, one-shot tool execution   infoworld.com/article/402... · Posted by u/breve
atombender · 5 months ago
Do you know about any sizeable open source projects written in C#, other than what Microsoft has produced? I rarely come across anything written in it.
jamesfinlayson · 5 months ago
https://github.com/paintdotnet was the first one that came to mind.

u/jamesfinlayson

KarmaCake day867September 5, 2021View Original