News for hackers. Stuff that matters.
Re:Using a Framework will harm the maintenance of your software by flohofwoe on Thursday October 13, 2022 @04:18AM (#33188551)
Well to be pedantic, the CRT invokes a callback called 'main' with preprocessed (command line) parameters, in the 'main callback' you're expected to do something with the parameters that have been passed to you (for instance read data from stdin, process it and write back to stdout), and then return from the 'main callback' with a success or failure code.

Ok, I'm throwing together the CRT and standard lib here, but in the end both are parts of the "UNIX command line tools framework" which is supposed to provide a programming environment to easily extend the UNIX shell with your own commands.

Re:Using a Framework will harm the maintenance of your software by coldtea on Thursday October 13, 2022 @07:28AM (#33189608)
Yes, in the same sense that "all program are just permutations of 0 and 1 in the end".

Similarly, "libc is the same as a framework" is not an abstraction/assumption at any meaningful level, or really pertinent to the discussion.