Re: "I learned Pascal in uni and haven't touched it in ages, butβ¦"
In: s/pascal
horrible standard library
this is a comment left by andreas borchert in comp.lang.oberon in the middle of nineties:
The libc is certainly not a good guide:
* Buffer overruns are not ruled out by design: gets, sscanf etc.
* Interface inconsistencies: gets vs fgets, fgets vs fscanf (note
the position of the file stream parameter)
* Bad interfaces like that of getchar() whose return code
can be a character or an error code
* Particularly bad buffering system which
β ignores the block structure of underlying file systems, and
β does not support bidirectional buffering
* No provisions exist such that independent libraries can cooperate
with each other in
β signal handling,
β setting up alarms, and
β tracking childs.
(Please note that I do not want to bash Ritchie, Kernighan etc. The
libc is history and should be taken as such⦠It is time to abandon
C and the libc and it does not help to place other systems on top of this historic relic.)
i save a link to the usenet post via google groups, it was available years ago, but not now:
β http://groups.google.am/group/comp.lang.oberon/browse_thread/thread/ffe11b45037375e0/e8b65d37114d4931?hl=hy&ie=UTF-8&oe=utf-8&q=andreas+borchert+c+interfaces#e8b65d37114d4931
π norayr [mod]
2024-10-23 Β· 2 years ago
π» TardisKun Β· 2024-12-01 at 19:04:
@norayr alternate link ;-)
β narkive.com
π norayr [mod] Β· 2024-12-02 at 00:16:
TardisKun, thank you.
π¦ Houjimmy Β· 2024-12-03 at 18:44:
I've also learned Pascal have ages, both in school and university. Is it still relevant?
π s/pascal
β―οΈ dragfyre:
I learned Pascal in uni and haven't touched it in ages, but I'm thinking of picking it up again after reading how much less computation-expensive than, say, Python. Does anyone have any suggestions on good ways to get started again? Also, any thoughts about the virtues of Pascal vs. its related languages like, e.g. Ada?
π¬ 11 comments Β· 1 like Β· 2024-10-10 Β· 2 years ago