I wrote my first line of C# professionally in 2006. The habits that survived are the ones I now use on research problems, and it is worth being explicit about which is which.
Habit one: make the failure reproducible before fixing it
The single most valuable engineering habit, and it transfers whole. A bug you cannot reproduce is a rumour. A failed experiment you cannot reproduce is also a rumour, and research tolerates rumours far too comfortably.
Practical form: every capture in this lab is replayable byte for byte, and if I cannot replay it I do not draw a conclusion from it.
Habit two: version everything, including the environment
In .NET this was Directory.Packages.props and a lockfile. In research it is the same idea applied to a data pipeline: pinned collector version, pinned resampler version, pinned descriptor parameters. A result that depends on an unpinned resampler is a result about the resampler.
Habit three: prefer boring, observable systems
Profiling taught me that a system you can see into beats a system that is theoretically faster. The same is true of a model. A descriptor whose components I can plot and reason about individually beats an embedding that scores two points higher, because I can explain the first one and only describe the second.
Habit four: write the interface first
Twenty years of interface design gets you one transferable skill: deciding what information flows where, before implementing anything. In research that means deciding what the descriptor is and what the classifier receives, before either exists. Doing it in that order has caught three design mistakes this year.
The habit I had to throw away
Ship it and move on. In software, a shipped imperfect version beats an unshipped perfect one almost every time. In research that instinct is a trap, because the imperfect version produces a number, and the number is quotable, and quoting it is how a wrong result gets a life of its own.
The replacement rule I use now: ship the code, but do not ship the claim until the claim has survived the thing designed to break it. The ablation entry is that rule being applied to my own favourite hypothesis, and the hypothesis lost by a factor of seven on effect size.
What twenty years did not teach
Statistics. Engineering gives you a strong instinct for system correctness and almost no instinct for sampling error. I had to learn the second one deliberately, and I am still worse at it than at the first.
Cite this entry
Copy the block you need.
@misc{huang202620yearsofcwhatengi,
author = {Mr Huang},
title = {20 Years of C#: What Engineering Taught Me About Research},
year = {2026},
url = {https://selfevo.dev/en/blog/personal/twenty-years-of-csharp},
note = {selfevo, blog}
} TY - GEN
AU - Mr Huang
TI - 20 Years of C#: What Engineering Taught Me About Research
PY - 2026
UR - https://selfevo.dev/en/blog/personal/twenty-years-of-csharp
PB - selfevo
ER - Mr Huang (2026). 20 Years of C#: What Engineering Taught Me About Research. selfevo. https://selfevo.dev/en/blog/personal/twenty-years-of-csharp