HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rhooke

no profile record

Submissions

Getting the ^D

owengage.com
1 points·by rhooke·3 yıl önce·1 comments

comments

rhooke
·3 yıl önce·discuss
Author here. You're correct. I've added a footnote to that part now. I think it still illustrates the point so I've left the main text alone.
rhooke
·3 yıl önce·discuss
I recently nerd-sniped myself by asking what pressing Ctrl-D in a terminal really does. This is the result of several weeks of obsession.
rhooke
·5 yıl önce·discuss
Imperative version can fill more dynamic use cases, like spinning up entire servers in response to something (eg user wants to create a game server at the click of a button).

Not something you can easily do with the declarative version.
rhooke
·5 yıl önce·discuss
I enforce formatters wherever possible after working on codebases with 20+ years of people imposing their own unique opinion on where spaces and braces should go. Worse, arguing about what the spacing should be, and making noisy diffs because people change previous peoples styling.

The formatter has no opinion. It follows rules. It doesn't work perfectly everywhere. It works enough. I would argue caring about exact bespoke spacing of all code is the perfectionism you mention.
rhooke
·5 yıl önce·discuss
I'm not sure what you mean by a build cache, does sccache suit?

https://github.com/mozilla/sccache
rhooke
·5 yıl önce·discuss
Agreed. Microbenchmarking can be detrimental if you don't verify with some 'macro' benchmarking with realistic use cases.

And tracking the right metrics!