It isn't. It's just a result of me seeing a global variable (or close enough to it) being used where a local one is sufficient. I just didn't consider that the stack could be really small compared to the context size, which is why I'm happy you're paying attention.

OK, understood.

I'm sure I'm guilty of a fair share of those.
The rationale usually boils down to "the code doesn't feel right, and I'm trying to make it more elegant".

Which is a great internal motivation, for sure. But I think that there should be also some kind of rational principle that is at least partially quantifiable behind it. Otherwise coding would be pure art.

Coding is also far from being pure science. But I personally think that good coding should comprise of equal parts of science, engineering, craftsmanship and art :)

I'll try to do better in the future.

+1


M.D.

_______________________________________________
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to