Lurker News
I recently realized that certain kinds of knowledge allow one to be significantly more productive when solving a large class of problems.

For example,
* Regular expressions for simple text processing.
* Parser combinators for parsing.
* Parser generators (esp. packrat variety) for parsing.
* The concept of fuzzing and property testing for testing code.
* Calculus for solving all sorts of problems.
* MCMC for solving a huge class of probability problems.
* Search algorithms for solving a variety of problems (e.g. all NP-hard problems, sudoku, HTNs, scheduling, planning).
* Gradient descent for solving a variety of optimization problems.
* Vector Space embedding as a conceptual tool for a variety of complex AI problems.
* Effect composition (Haskell's IO or Scala's ZIO) as an incredibly powerful paradigm for concurrency and parallelism.
What are some examples of 10x multipliers that come to your mind? Fundamental ideas without which you would be drastically less productive.

Comments (418) 135 threads

Earlier comments
eatonphil1 reply#
I don't think parser combinators or parser generators should be included in a list of productivity multipliers, personally.
copperx1 reply#
Are you implying that they are more work in the end than manually coding a parser? Has that been your experience?
eatonphil#
Yes in my experience it's absolutely easiest just to write your own from scratch.
dandigangi#
Definitely agree that getting good at Regex over the years and more recently AWK/SED has helped me significantly.
throwaddzuzxd#
- regular expressions, including the hairy stuff like back references or lookarounds. When you need it, you're glad you know it exists, event if you need a few minutes to look for the syntax.

- shell scripting + Linux commands. Not having friction when writing a shell script is amazing, it's extremely productive.
- awk. I rarely use it (I use cut, sed, or perl one liners in priority), but to make some non trivial changes it's great to be able to keep a state between parsed lines.
- git. I've never had to delete/re-clone a repository since I've read the Git Book.
- SQL querying. Same thing, I have no friction when I need to write group by, CTEs, or other intermediate stuff.
If you do frontend stuff:
- CSS. It's a quirky language so you need to learn how it works properly, not hacking stuff here and there. I've never had any issues doing anything in CSS since I learned it for real.

MrWiffles1 reply#
One thing that I’ve been focusing on lately is “the little things”. Does the interface look nice? Is the font big enough to read 2ft away? How easy is the command to update the software? Have we tested both the backup AND restore workflows? Are they all buttery smooth? Does everything work the way you’d expect right away, out of the box, by default?

The nicer the workflow, the more vanilla the tooling, the more self-evident the naming conventions and related patterns, and the more pleasant the workflow, the more time you avoid wasting. And while it may not sound like much, over time that shit adds up.
We’re talking, cumulatively, about DECADES worth of recovered productivity here, on a small team, over the course of maybe a year or two, tops.
It’s the little things, y’all.

JoeyJoJoJr#
Yes, all this. I apply this mentality mostly to presentation. If the design and code present well, team members are much more likely to contribute in positive ways and help “tend to the garden”.

Load more comments