News for hackers. Stuff that matters.
Re:Push ifs up and fors down by mpweiher on Thursday November 16, 2023 @02:05AM (#38286531)
> it is the exact kind of architectural choice you're saying one should decide on.

While I can't speak to what the OP had in mind, architectural concerns are definitely not inside a function. Even connecting individual functions/procedures barely registers at the smallest, most granular scale of architecture.

Of course, our programming languages for the most part don't let us express architectural concerns...so here we are.

Re:Push ifs up and fors down by Tainnor on Thursday November 16, 2023 @06:27AM (#38288262)
Yes, this is what I was talking about. Debating which function should include an "if" condition seems rather immaterial to me.