From: sc@fiat-linux.fr
Le 26-01-2026, c186282 a écrit :
>
> First-passed at code are often inefficient. The first
> goal is just to Make It Work.
Agreed.
> However no good programmer should LEAVE it at that. Refine, polish,
> de-crap for the 2nd pass.
I don't agree here. It really depends on your goal. If your program is a
one time script designed to avoid you hours of manual stuff, then if the
first pass took you half an hour to work, it's enough and a good
programmer should leave it like that. Now, if your script is designed
only for you to be used from time to time, you should take some time to
take care of some edge case which can appear in your environment. But
you shouldn't take too much time with things that doesn't concern you.
And if your purpose is to provide your program to the entire world,
then, yes at that time you should polish it and take care of every edge
case that can happen.
But a good programmer doesn't have to consider he's writing a code
designed for the entire world each time he's starting to write a little
program.
--
Si vous avez du temps à perdre :
https://scarpet42.gitlab.io
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)
|