no but you're totally missing the point, read his post, he said "elegantly"
Probably you've read only his first post, in which he wrote of wanting to "check"... not to get a value.
Anyway, you answered too quickly, then writing nonsense (this happens to me often and I hope this happens to everyone
).
Write a routine like yours, greaterORless, instead of writing directly: If x > y Then
is
exactly the same as writing my routine Sum instead of writing directly: Dim Tot As Int = 5 + 2
Identical.
No lack of elegance, let alone of "spaghetti programming".
And if you are not able to admit that you are human and sometimes you're wrong... you can write that someone can only do "spaghetti programming".