Liste des Groupes | Revenir à cl forth |
When is it "legit" to give up? I've written routines I believed
needed VARIABLEs. But after a 'cooling off' period, I can look
at the problem again afresh and find I can do better. Folks will
say in the real world one couldn't afford this. That's true and
likely why I'm a hobbyist and not a professional programmer.
OTOH it's pretty rare that I write routines with variables in them
to begin with.
TO ME it doesn't make a problem how YOU create
your code, if it suits you better in any way.
I just explained why MY code looks differently:
because I reckon the merits listed by Brodie,
and longer time ago 'switched' from long strings
of that DUPs, ROTs and SWAPs to something
I perceive as a cleaner and more comprehensible
solution - also not being "maintenance nightmare"
if I later decide to change anything.
>
It's the others - or maybe single "other" - who
decided: "I'll show you how to write 'canonical
Forth', look how the masters do this and learn".
Obviously Brodie's "tips", applied in "real life",
must be irritating for some "real programmers", or
something.
Les messages affichés proviennent d'usenet.