Nathan Jones (@_ncjones) header
Nathan Jones (@_ncjones) profile picture

Technical Co-Founder @ Immersve

Waikato, New Zealand
Joined November 2015
Photo by Nathan Jones (@_ncjones)Photo by Nathan Jones (@_ncjones)
Nathan Jones retweeted
If I ran an engineering team and I found out my $200k per year devs were spending time vibe-coding SaaS clones to save the company $299 per month, instead of working on improving our own product... I'd be pretty mad about it.
265
151
46
5,177
446,031
The YAGNI heuristic is great because it discourages unneeded behavior but terrible because it encourages rigid structure.
1
36
YAGNI should not imply: ❌ Never design ahead ❌ Never build abstractions ❌ Short-term thinking is good YAGNI means: ✅ Delay commitment until information arrives ✅ Prefer reversible decisions ✅ Pay design cost when value is proven
30
The shortest path requires choosing a lateral direction to get out of the corn and onto a highway. The lateral movement feels like a lot of effort for little or no gain, but it leads to a clear path requiring less effort for the remainder of the journey.
1
38
To get to the metaphorical highway when building software we need to reorganize existing code so it can be easily extended with the new functionality. In practice, this often means introducing better abstractions but can also be as simple as moving or renaming units of code.
29
Attaching transaction context to every log message saves hours of debugging, and in Node.js, this is easy to achieve by using Async Local Storage. ``` server.ext('onRequest', (req, h) => { logger.addAttribute('requestId', req['id']); }); ``` blog.ncjones.com/posts/share…
4
62
Assigning pet names to applications is easy and powerful. Your applications will be referenced in hundreds of places such as docs, logs, and client integrations. Pet names make those references concise and unambiguous. blog.ncjones.com/posts/give-…
50
Node.js stream.pipeline() call can be awaited without promisifying. It handles all errors with a single catch. And file descriptor leaks are avoided because all streams are closed automatically when an error occurs.
73
Didn't upgrade Git in a while. I feel so safe now that Git comes with a trigger warning when you inadvertently create an oppressive master branch. github.com/git/git/pull/921
1
While using Wiremock with Cucumber JS for the last few years I've had a few attempts at establishing patterns for separating dynamic stubs from step definitions. I've released my third iteration in a NPM package called Mock Commander. github.com/ncjones/mock-cmdr
1
2
The true value of pair (or mob) programming is that it allows knowledge to spread quickly through the team. This shared knowledge is what makes the team a team. In a team, when a player goes down, the others cover the hole and keep moving towards the goal.
10
196
5
597
What would you rather have: A. A big software system that works perfectly but is very difficult to change. B. A big software system with some missing features that is very easy to change. – at Gages Lake, IL
7%A : complete and hard?
93%B : incomplete and easy?
5,469 votes • Final results
53
46
11
95
It is more important for code to be changeable than that it work. Code that does not work, but that is easy to change, can be made to work with minimum effort. Code that works but that is hard to change will soon not work and be hard to get working again.
66
755
111
2,109
Quality is the key to speed. You go fastest when you go well. And never ask for permission to go well; that’s your responsibility and no one else’s. – at Gages Lake, IL
16
553
25
1,463
I am always surprised by the rather large number of programmers who believe that their employers do not care about the engineering quality of the code. They care a great deal of course, because it is the lack of that quality that causes estimates to rise without bound.
44
70
5
324