Hacker Laws
Pretty funny: https://github.com/dwmkerr/hacker-laws
more ...Pretty funny: https://github.com/dwmkerr/hacker-laws
more ...Two and a half examples of "Don't solve the problem I described. Provide the implementation I dream about."
I was asked to see this because sometimes there's just too much abstraction https://stackoverflow.com/questions/2668355/how-much-abstraction-is-too-much
The accepted answer links to some useful design …
Had a question about an enumerated set of constant values. "Where do I put these constants?" they asked. It was clear what they wanted. This is another variation on their personal quest which can be called "I want Python to have CONST or Final." It's kind of tedious when a …
more ...Consider the following code
def max(m: int, n: int) -> int: if m >= n: return m elif n >= m: return n else: raise Exception(f"Design Error: {vars()}")
There's a question about else: clause and the exception raised there.
Higher-Order Functions. A really cool idea. Javascript isn't my favorite language. https://medium.freecodecamp.org/higher-order-functions-in-javascript-d9101f9cf528 This, on the other hand, is huge: trunk-based development. https://codeburst.io/trunk-based-development-vs-git-flow-a0212a6cae64 I'm really tired of having a dev branch with periodic commits to master so we can deploy from master. It's so …
more ...In a way, this is about an epic fail attempting copy-and-paste coding. But really, this is about thinking outside the box. The issue -- to me -- comes from failing to see the box. Here's the body of the email, edited slightly.
more ..."...how determine when a file has completed downloading. It would …
I'm not impressed. I have been not impressed for 40 years and many previous incarnations of this idea of replacing code with UX.
Of course, I'm biased. I create code. Tools that remove the need to create …
more ...I suspect some people sweat so hard over each line of code that it becomes precious. Valuable. An investment wrung from their very soul. Or something. When they ask for comments, it becomes difficult. The Pull Request context can be challenging. There the code is, beaten into submission after Herculean …
more ...Tweet:
Blaming people for using ancient software is really weird. There’s no other context where we demand constant replacement of things that work
—Pinboard (@Pinboard) May 12, 2017
I'm not sold about this argument at all.
The "constant replacement" issue has two sides to it. If you follow the …
more ...