Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> But maintainable code is about allowing other people to easily work on it.

But as OP said, it is selective. For instance, I would much rather have the OP use the strategy pattern. I have used it before, I will recognize it and it will take me tons of time when trying to understand the codebase and making a change that doesn't break things.

We cannot find a global optimum, we have to decide if we prefer to make it easier for experts/experienced developers or for beginners. I prefer the former and then teach beginners to become experts/experienced (in some area) as quickly as possible. That costs resources but pays off in the end.

Google went the opposite way. They created Go to be beginner's friendly but at the same time hurting productivity of more experienced developers. Let's see how that turns out in the end.



> Google went the opposite way. They created Go to be beginner's friendly but at the same time hurting productivity of more experienced developers. Let's see how that turns out in the end.

well, they started the Fuschia kernel in C++, not in Go... that should be telling enough :)




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

Search: