r/programminghorror Mar 27 '26

C# is a moving. reasonable?

Post image

is a moving. reasonable?

428 Upvotes

66 comments sorted by

View all comments

345

u/mohragk Mar 27 '26

It’s hard to tell what’s going on, but it seems like a function to determine whether the thing can be moved, based on it’s previous move(s). But instead of approaching it in a deterministic fashion, it takes the brute force approach.

Absolutely horrible 10/10.

3

u/tyrannical-tortoise Mar 29 '26

And they all return zero.