Re:Everything that uses configuration files should report wh...
by Blackthorn on Sunday June 25, 2023 @01:20PM
(#36470558)
I disagree. Pretty much any program of enough size, including those written in functional languages, are going to have state that outlives the lifetime of a single call stack.
[ Parent
| on HN ]
Re:Everything that uses configuration files should report wh...
by preseinger on Monday June 26, 2023 @04:29AM
(#36477179)
hopefully not
it's certainly not a given
Re:Everything that uses configuration files should report wh...
by Blackthorn on Monday June 26, 2023 @11:15AM
(#36480745)
Simple example: the web server that takes in the HTTP requests? That one definitely got initialized outside the call trace that's serving the HTTP request.
No different from an object that got constructed and then a method called on it.
Re:Everything that uses configuration files should report wh...
by preseinger on Monday June 26, 2023 @04:41PM
(#36485550)
ah, sorry, i misinterpreted what you meant -- obviously, yes, you're correct
i thought you meant state that is created from a call stack and persists after that call stack returns -- which is something else