Re: TeX and Pascal [was Re: The joy of FORTRAN]

Liste des GroupesRevenir à col misc 
Sujet : Re: TeX and Pascal [was Re: The joy of FORTRAN]
De : Pancho.Jones (at) *nospam* proton.me (Pancho)
Groupes : alt.folklore.computers comp.os.linux.misc
Date : 03. Oct 2024, 08:59:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdlitg$3kuh8$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Mozilla Thunderbird
On 10/1/24 16:14, The Natural Philosopher wrote:
On 01/10/2024 15:57, Pancho wrote:
In essence just because you can do something clever, doesn't mean you should.
 That is what I loathed about compscis. As practising software engineers we specialised in 'good clean workmanlike well documented and structured   code'.
Our job was to get the puter to do its job in the most understandable and maintainable way.
Not to impress people with the elegance complexity and incomprehensibility of our  REGEX statements.
 If all we had was vi and a C compiler, that's what we used.
And knowing that
  p=(x>y?3:2);
Yeah, I remember people criticising this 30 years ago, but programmers are used to it now, so it doesn't confuse people.

produced identical assembler to:
if (x>y)
     p=3;
else
     p=2;
there was a strong temptation to use the latter as being sufficiently simple for the time serving amateurs whose failure to complete the project was why we we employed at all...
 We weren't employed to be clever. We were employed to write working code. And document it.
 
Yes, it is best that code is obvious. Standard design patterns are good too. A familiar complex pattern, is much easier to understand than an unfamiliar one.,
Documentation can be problematic, in that people modify the code but not the comments. I tend to write a header comment block explaining what I initially designed a class is for. A story more than a line by line explanation. Like you, I also start by writing comments and then I fill in the code. That is to help me remember what I'm doing, like notes. Sometimes I leave these comments, sometimes I don't.

Date Sujet#  Auteur
29 Sep 24 * Re: TeX and Pascal [was Re: The joy of FORTRAN]72186282@ud0s4.net
29 Sep 24 +* Re: TeX and Pascal [was Re: The joy of FORTRAN]70The Natural Philosopher
29 Sep 24 i+* Re: TeX and Pascal [was Re: The joy of FORTRAN]68Lawrence D'Oliveiro
29 Sep 24 ii+* Re: TeX and Pascal [was Re: The joy of FORTRAN]6Lars Poulsen
29 Sep 24 iii+- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Lars Poulsen
30 Sep 24 iii`* Re: Procedural, Functional, String [was Re: The joy of FORTRAN]4Lawrence D'Oliveiro
30 Sep 24 iii `* Re: Procedural, Functional, String [was Re: The joy of FORTRAN]3Lars Poulsen
30 Sep 24 iii  +- Re: Procedural, Functional, String [was Re: The joy of FORTRAN]1Peter Dean
30 Sep 24 iii  `- Re: Procedural, Functional, String [was Re: The joy of FORTRAN]1Dennis Boone
29 Sep 24 ii+* Re: TeX and Pascal [was Re: The joy of FORTRAN]30rbowman
30 Sep 24 iii`* Re: TeX and Pascal [was Re: The joy of FORTRAN]29Lawrence D'Oliveiro
30 Sep 24 iii `* Re: TeX and Pascal [was Re: The joy of FORTRAN]28Pancho
30 Sep 24 iii  `* Re: TeX and Pascal [was Re: The joy of FORTRAN]27Lawrence D'Oliveiro
1 Oct 24 iii   +- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Lawrence D'Oliveiro
1 Oct 24 iii   `* Re: TeX and Pascal [was Re: The joy of FORTRAN]25Pancho
1 Oct 24 iii    +* Re: TeX and Pascal [was Re: The joy of FORTRAN]20The Natural Philosopher
1 Oct 24 iii    i+* Re: TeX and Pascal [was Re: The joy of FORTRAN]8Lawrence D'Oliveiro
3 Oct 24 iii    ii+* Re: TeX and Pascal [was Re: The joy of FORTRAN]3rbowman
3 Oct 24 iii    iii`* C operator precedence rules2Stefan Ram
3 Oct 24 iii    iii `- Re: C operator precedence rules1Lawrence D'Oliveiro
4 Oct 24 iii    ii`* Re: TeX and Pascal [was Re: The joy of FORTRAN]4Peter Flass
4 Oct 24 iii    ii `* Re: TeX and Pascal [was Re: The joy of FORTRAN]3Bob Eager
4 Oct 24 iii    ii  `* Re: TeX and Pascal [was Re: The joy of FORTRAN]2The Natural Philosopher
4 Oct 24 iii    ii   `- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Lawrence D'Oliveiro
1 Oct 24 iii    i+- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Lawrence D'Oliveiro
1 Oct 24 iii    i+* Re: TeX and Pascal [was Re: The joy of FORTRAN]6Peter Flass
2 Oct 24 iii    ii+- Re: TeX and Pascal [was Re: The joy of FORTRAN]1The Natural Philosopher
2 Oct 24 iii    ii`* Re: TeX and Pascal [was Re: The joy of FORTRAN]4The Natural Philosopher
2 Oct 24 iii    ii `* Re: TeX and Pascal [was Re: The joy of FORTRAN]3Rich Alderson
3 Oct 24 iii    ii  +- Re: TeX and Pascal [was Re: The joy of FORTRAN]1The Natural Philosopher
3 Oct 24 iii    ii  `- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Stefan Ram
2 Oct 24 iii    i+* Re: TeX and Pascal [was Re: The joy of FORTRAN]3The Natural Philosopher
3 Oct 24 iii    ii`* Re: TeX and Pascal [was Re: The joy of FORTRAN]2Peter Flass
3 Oct 24 iii    ii `- Re: Recursion [was Re: The joy of FORTRAN]1Lawrence D'Oliveiro
3 Oct 24 iii    i`- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Pancho
1 Oct 24 iii    `* Re: Multiple Inheritance [was Re: The joy of FORTRAN]4Lawrence D'Oliveiro
3 Oct 24 iii     `* Re: Multiple Inheritance [was Re: The joy of FORTRAN]3Pancho
3 Oct 24 iii      `* Re: Multiple Inheritance [was Re: The joy of FORTRAN]2Lawrence D'Oliveiro
4 Oct 24 iii       `- Re: Multiple Inheritance [was Re: The joy of FORTRAN]1rbowman
30 Sep 24 ii`* Re: TeX and Pascal [was Re: The joy of FORTRAN]31John Ames
30 Sep 24 ii +* Re: TeX and Pascal [was Re: The joy of FORTRAN]27Stefan Ram
30 Sep 24 ii i`* Re: TeX and Pascal [was Re: The joy of FORTRAN]26John Ames
30 Sep 24 ii i +* Re: TeX and Pascal [was Re: The joy of FORTRAN]22Stefan Ram
1 Oct 24 ii i i+* Re: TeX and Pascal [was Re: The joy of FORTRAN]20John Ames
1 Oct 24 ii i ii+* Re: TeX and Pascal [was Re: The joy of FORTRAN]3Stefan Ram
1 Oct 24 ii i iii+- Re: TeX and Pascal [was Re: The joy of FORTRAN]1John Ames
3 Oct 24 ii i iii`- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Waldek Hebisch
1 Oct 24 ii i ii`* Re: TeX and Pascal [was Re: The joy of FORTRAN]16The Natural Philosopher
1 Oct 24 ii i ii +* Re: TeX and Pascal [was Re: The joy of FORTRAN]2John Ames
1 Oct 24 ii i ii i`- Re: TeX and Pascal [was Re: The joy of FORTRAN]1The Natural Philosopher
1 Oct 24 ii i ii `* Re: TeX and Pascal [was Re: The joy of FORTRAN]13Lawrence D'Oliveiro
1 Oct 24 ii i ii  `* Re: TeX and Pascal [was Re: The joy of FORTRAN]12John Ames
1 Oct 24 ii i ii   `* Re: TeX and Pascal [was Re: The joy of FORTRAN]11Lawrence D'Oliveiro
2 Oct 24 ii i ii    `* Re: TeX and Pascal [was Re: The joy of FORTRAN]10John Ames
2 Oct 24 ii i ii     `* Re: TeX and Pascal [was Re: The joy of FORTRAN]9Lawrence D'Oliveiro
23 Oct 24 ii i ii      `* Re: TeX and Pascal [was Re: The joy of FORTRAN]8186282@ud0s4.net
23 Oct 24 ii i ii       `* Re: TeX and Pascal [was Re: The joy of FORTRAN]7John Ames
23 Oct 24 ii i ii        `* Re: The Joy Of Object-Orientation6Lawrence D'Oliveiro
23 Oct 24 ii i ii         +- Re: The Joy Of Object-Orientation1John Ames
24 Oct 24 ii i ii         `* Re: The Joy Of Object-Orientation4186282@ud0s4.net
24 Oct 24 ii i ii          `* Re: The Joy Of Object-Orientation3186282@ud0s4.net
24 Oct 24 ii i ii           `* Re: The Joy Of Object-Orientation2The Natural Philosopher
25 Oct 24 ii i ii            `- Re: The Joy Of Object-Orientation1186282@ud0s4.net
1 Oct 24 ii i i`- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Mike Spencer
30 Sep 24 ii i `* Re: TeX and Pascal [was Re: The joy of FORTRAN]3Lawrence D'Oliveiro
30 Sep 24 ii i  `* Re: TeX and Pascal [was Re: The joy of FORTRAN]2John Ames
1 Oct 24 ii i   `- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Lawrence D'Oliveiro
1 Oct 24 ii `* Re: TeX and Pascal [was Re: The joy of FORTRAN]3rbowman
1 Oct 24 ii  +- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Lawrence D'Oliveiro
1 Oct 24 ii  `- Re: TeX and Pascal [was Re: The joy of FORTRAN]1John Ames
30 Sep 24 i`- Re: TeX and Pascal [was Re: The joy of FORTRAN]1Pancho
30 Sep 24 `- Re: TeX and Pascal [was Re: The joy of FORTRAN]1moi

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal