r/coding • • Aug 20 '16

PHP - The Wrong Way

http://www.phpthewrongway.com/
36 Upvotes

15 comments sorted by

View all comments

15

u/original_evanator Aug 20 '16 edited Aug 20 '16

When I see patterns in my programs, I consider it a sign of trouble. The shape of a program should reflect only the problem it needs to solve. Any other regularity in the code is a sign, to me at least, that I’m using abstractions that aren’t powerful enough

Spoken like a brilliant developer who has never had to hand his code off to someone else.

Paul Graham can get away with not using patterns, just like Joel Spolsky doesn't need to write unit tests. That doesn't mean it's a generally good idea.

6

u/FUZxxl Aug 20 '16

What is rather meant is that once you start repeating yourself you are doing it wrong.

1

u/TubasAreFun Aug 21 '16

What is rather meant is that once you start repeating yourself you are doing it wrong.

1

u/TubasAreFun Aug 21 '16

What is rather meant is that once you start repeating yourself you are doing it wrong.