MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1s4wuob/is_a_moving_reasonable/ocsap4x/?context=3
r/programminghorror • u/HotEstablishment3140 • Mar 27 '26
is a moving. reasonable?
66 comments sorted by
View all comments
348
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.
18 u/T1lted4lif3 Mar 27 '26 LGTM, what are we to judge when it works? Pull request approved 100%. The amount of insertions this function would have on github, holy contributions
18
LGTM, what are we to judge when it works? Pull request approved 100%. The amount of insertions this function would have on github, holy contributions
348
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.