HNHacker News
TopNewBestAskShowJobs

james_s_tayler

2,220 karma · joined October 30, 2018

submissionscomments
james_s_tayler··on The Pragmatic Programmer, 20th Anniversary Edition
I couldn't bring myself to do it for real with an actual rubber duck. But I recently came up with the concept of "comment ducking" which is when you just start writing a comment in the source code as if you were explaining to someone and that actually works as a substitute!
james_s_tayler··on I would never send my kids to school (2017)
That example illustrates my point perfectly.

Not only are the people normally distributed, the schools are too.

That tippy, tippy top will always ever only be a handful.

That's not to say we can't raise the bar globally, but realistically we're probably at or close to the ceiling ;f what's possible for mass education.

james_s_tayler··on Linux Terminal Goods
It's not syntax. It's programs. [ Is a program. Bash blew my mind when I found that out. What a clever idea.

I know what you mean though. I always had to look up things every time. Lately I just committed a bunch of it to memory as it's useful enough and I'm pretty fond of it.

james_s_tayler··on I would never send my kids to school (2017)
If he's looking for a formula for mass production of Nobel Prize winners he probably hasn't yet discovered the central limit theorem and thought through its implications for his little idea.
james_s_tayler··on Pure Bash Bible
Sure. I don't disagree there is a time and a place. I just never personally encounter those kinds of times or places. I don't doubt they exist and in that case I would definitely agree the correct way to address it would be write the more performant code.

I guess my bash uses cases are more just around internal tooling and are never performance critical, so my personal preferences are for readability under those circumstances.

james_s_tayler··on Pure Bash Bible
The slow down caused to any developer that has to try and read that is probably orders of magnitude more worth optimizing for than how fast a bath script runs.

I'll take the grep/sed/awk version.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
I actually love magic, but boy oh boy are you right when it comes to hitting a wall and getting absolutely stuck when magic happens.

I've spent a bunch of time thinking it through and I've come to the conclusion that it isn't actually the magic that is the bad part. It's the lack of the discoverability that is bad. I guess that's why it's called magic right? Because you don't know what the trick is, yet it appears to work...somehow.

I call it dark magic. Magic that is not discoverable and makes no attempt to help you discover it. On the other hand, if you put magic into a solution because you are a wizard and you want to leverage the stunning super powers that magic gives you, if you can also tell everyone how the tricks are being done... it's actually possible to get the best of all worlds.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
For some reason I read "methodology" as "mythodology" and I thought "That's genius! That's the perfect portmanteau to describe the phenomenon of people trying to learn and adhere to 'methodology' but then really just adhering to the lore and the myth! I'm stealing that!"

Then I read it again and it didn't say that. But I think that should become a new word. Mythodology.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
Hmm maybe in the Bay Area?

Everywhere else I've seen software that is on average a decade old.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
It's actually a pretty incredible framework.

While it might just look like word soup from that particular vantage point I'd venture to say that Spring Framework is one of the most successful examples of OOP in history. It has massive adoption because of its sheer flexibility which all of those abstract generator factories give it.

Granted, I think Ruby on Rails is also an amazing project. For slightly different reasons, but then again, they're different use cases serving different paradigms and different groups of people.

It isn't the paradigm that makes something good or bad or better or worse. It's the quality of the implementation.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
I like this. Because time after time after time I have seen the opposite. Managers saying "but we might need it again later" and...

We. Never. Have.

And even if we did... its still under source control if you really want to dig it out.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
I agree, but with a caveat. I think more often than not, you're right, worry about things like that just tends to be a waste of time, because while it might happen it mostly doesn't. Vendor lock-in is a good example. Probably not worth losing any sleep over.

However, I definitely see value in making code easy to throw away. That's something slightly different than making something easy to swap out. Entire front-ends being re-written is something I've seen a couple of times. But when they were super-glued to the back end that was very, very expensive to do. They were hard to throw away. I think clean separation between boundaries means when you want to throw something away you can. Doesn't mean it will be easy, but a heck of a lot easier. You don't necessarily always want to replace certain things either, sometimes you just want them gone.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
>Not OP but couldn't you split up you project to smaller projects?

My own personal stuff I can do whatever I like with, work stuff I don't have much say over. Could they be split up? Oh, yes. Does it need to be 1 million lines of code? No... I think it could probably be about 1/5th to maybe even 1/10th of that.

But still, even if it's split into microservices or just smaller modules, the aggregate lines of code required to solve the entire business problem is still a great deal larger than will fit into 10 well crafted files. Was just curious the nature of the work that naturally fits into that size.

>This article and only rejects the convoluted architecture approach with design patterns and suggests that you can come up with your own design without using these. It is not arguing that there is no need for architecture at all.

I think this article is great. I took this article to be advocating for taking a good hard look at the problem at hand and really nutting out a solution that fits it well. It doesn't reject design patters, per se, it rejects not properly thinking things through.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
I currently have the opposite problem. Staring a system with zero frameworks where every time the developer wanted to do something they didn't reuse an existing solution, they simply wrote a new one. So there's 10 different ways to create a customer and now there is a requirement to change some validation. It's a major high-risk overhaul of the system to change the validation on a single field of a single entity.

I've seen big enterprise systems that had solid architecture and I quite enjoyed working with them and I've seen the trash-fire variety too.

Abstraction can be wonderful. Abstraction can be ghastly. It's how you wield it. Well designed systems are just that. Well designed. They have solutions that fit their current problems well and make just enough room for the problems of tomorrow, but not for the unanticipatable problems beyond that.

Poorly designed systems don't have solutions that fit their current problems well (or at all), and/or don't have solutions that are amenable to tomorrows problems or have solutions well suited to tomorrows problems, but not todays, or have solutions that fit imaginary problems they will never have.

I think that's what the article fundamentally hints at. Taking the time to look at the problem and taking the time to derive and refine a well fitting solution. If you can do that, you've won.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
Out of curiosity what kind of projects are that small?

I guess I have hobby projects that are that small, but all my professional work is large, enterprise systems that wouldn't fit in 10 files if they tried.

Makes sense when things are so small to only use what you need. Sounds like you made a reasonable decision for the kinds of things you work on. But when you get past a certain size actual architecture becomes very beneficial.

Of course it's also possible to have a massive enterprise system without any architecture. Believe me it's not very fun.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
I couldn't agree more. A lot of times people espouse a particular worldview without computing through the 2nd and 3rd order effects in different contexts.

If anything one of the fundamental things to get right is to pick an approach suited to the context.

james_s_tayler··on Software Architecture Is Overrated, Clear and Simple Design Is Underrated
I really agree about undershooting. I like to try and overshoot by about 15%.

It's definitely a big mistake to overshoot by say 50 or 100 or 200%. But overshooting by just a little often leaves me feeling like "thank God I did that" more often than it does "hmm I guess I really didn't need that".

Balance is absolutely key.

james_s_tayler··on Cutting Health Benefits of 1,900 Workers Saved Bezos What He Makes in Six Hours
Time and again we also buy stuff from Amazon and think: wow, this is great.

That's the quid pro quo.

james_s_tayler··on Where you are born is more predictive of your future than any other factor
I'm sorry but what's the difference?

The parent said "do you know?" Implying that as a male I had zero knowledge of what it's like to feel that way. Which implies that I have never felt that way. Which implies that whenever I'm in a situation that makes a woman feel that way, it doesn't make me feel that way.

I'm sorry but it does. So,yes I do know.

Is it worse for women? My assumption is at least 2x ~ 3x. The difference being when I walk past a shadowy figure in the street I mutter to myself "please don't kill me" while they think "OMG, please please please don't kill me".

The vectors point in exactly the same direction. The magnitude is what's different.

The original comment implied the vectors didn't even point in the same direction or had zero magnitude for men.

That's wrong.

james_s_tayler··on Where you are born is more predictive of your future than any other factor
>Do you understand what it is like to be a woman, to have to look over your shoulder so much of the time, the fear and anxiety that follows you or prevents you from walking alone at night or in a strange place?

I like how women think this uniquely applies to them.

As if all men are just brimming with confidence, completely unafraid and always ready to do battle. As if they can walk past a hooded figure on a dark street and physiologically remaining completely unaffected.

james_s_tayler··on Shopify Overtakes eBay as Second Biggest Shopping Site After Amazon
They also power a large number of real businesses too.
james_s_tayler··on The Terraform Plugin for the Dominos Pizza Provider
My local supermarket has an online ordering platform. I could reverse engineer the API.
james_s_tayler··on The Terraform Plugin for the Dominos Pizza Provider
So maybe it the same pizza could come from multiple providers but they break it up into slices and attach a pizza-correlation-id to each slice so an entire pizza can be assembled at the point of delivery.
james_s_tayler··on The Terraform Plugin for the Dominos Pizza Provider
Epic. Now it's got me thinking this is a first step towards declaratively stating what should be in my fridge at all times and having food automatically provisioned for me.
james_s_tayler··on DevOps didn’t exist when I started as a developer
"Agile" is just an instance of "agile" which is an abstract concept. Hence you can't actually do "agile". Therefore every form of agile you see is "Agile" and they're quote "doing agile wrong".

Read the manifesto. It literally says handful of almost completely meaningless, unimplementable things.

Any attempt to actually take that and turn it into something is destined to be sharply divorced from reality.

But the real fun comes when you do "white water rafting" style development. This is when there is all the ceremony of "Agile" (read: a "fast paced environment") with all the planning of waterfall and absolutely everything is top priority. You and your coworkers are constantly thrown around trying not to smash into rocks or capsize the boat, meanwhile being pulled violent in every direction. Somehow you continue to make your way down the river eventually with fewer and fewer co-workers as she casualties mount.

Fun times.

The actual methodology is completely irrelevant. Working under terrible management is terrible. Working under terrific management is terrific.

james_s_tayler··on DevOps didn’t exist when I started as a developer
Brutal. Accurately brutal.
james_s_tayler··on DevOps didn’t exist when I started as a developer
I've worked in several places that each had their own unique snowflake take on "Agile".

With Agile being constant, the experiences were wildly different between them.

The key variable to whether they were dysfunctional or not wasn't Agile. It was the quality of the people in management.

james_s_tayler··on Google Maps shows sunken car where missing man’s body was found
That sounds disturbingly real.
james_s_tayler··on McDonald's is to replace human servers with voice gen in its US drive-throughs
I wonder what the guy who lived like 300,000 years before you thought... Probably just trying to get something to eat and not die.
james_s_tayler··on Dissatisfied with Docker
This. Times 100x. This is one of Dockers biggest value adds.
← PreviousPage 20 of 34Next →