I can't speak for the quality of Mercedes interface (and this is obviously marketing for non-programmers) but LOC seems like an odd thing to be emphasising.
123 karma · joined March 30, 2011
I can't speak for the quality of Mercedes interface (and this is obviously marketing for non-programmers) but LOC seems like an odd thing to be emphasising.
POST /queries
{"query": "..."}
201 Created
Location: /queries/1001
GET the results: GET /queries/1001
{"results": ...}
You could optionally return results in the POST response too but I'm unsure whether that strictly conforms to the HTTP spec or not.It certainly exposes bottlenecks if they weren't obvious already.
I've noticed this tends to not matter so much if you're not the one driving, more so if you're in the backseat. Self-drive cars anyone?
I was taught TDD on the job via pair programming and really enjoyed it that way.
If you have to pay the cost of adding a parameter to a method or a constructor you really evaluate whether you need that object in that method in the first place. This doesn't stop you from enforcing a single instance.
The other benefit is the documentation (in DSL form) you get. It's always nice to have concise descriptions of your application's behaviour.
It's interesting to think about common patterns and if they really are in the user's best interest or if a new pattern might offer some benefit. I'm undecided in this case.
When it comes to non-standard button labels, when there are more than 2 options, or on dialogs where the user should think about what they are doing (e.g., actions which cannot be undone) having the most used option last doesn't sound like the worst idea.
WordPress didn't end support until 3 years after PHP 4's end of life. I think that's a more than reasonable amount of time to wait before enforcing an upgrade.
The fact that WordPress does not have any code that benefits from PHP 5 is undoubtedly, in part, due to its extended support for PHP 4.
Forcing yourself to go over your own solutions, and in particular extracting the steps involved, can really consolidate your knowledge.
This is one of those hard work things.
Of course you can still do that with plain jQuery...