Features of D That I Love
H. S. Teoh
hsteoh at qfbox.info
Thu Jul 3 22:05:55 UTC 2025
On Thu, Jul 03, 2025 at 06:35:55PM +0000, Abdulhaq via Digitalmars-d wrote:
[...]
> Person: please add a date to your article
>
> Programmer: Mmh, I could just type the date in. Naaah, no hard coded
> data, I'll write a program to do it
lol, this totally describes me. :-D I'd rather spend 5 hours inventing
a programmatic solution to a date I could've typed in myself in less
than 5 seconds. My excuse is that said program will then work
flawlessly and effortlessly forever, so that I never have to type in
another date again (and risk the occasional typo, forgetting to type it,
etc. -- computers are great for 100% reproducibility and automatic
execution where humans are prone to errors and forgetfulness).
As Larry Wall once said, one of the 3 virtues of a programmer is
laziness: The quality that makes you go to great effort to reduce
overall energy expenditure.
:-P
T
--
Fact is stranger than fiction.
More information about the Digitalmars-d
mailing list