Snakes are genius at snake-things. They survived for millions of years before being kept in rubbermaid bins.
I let my snake wander around the apartment and he has figured out 2 different routes to get from his enclosure to his favourite hiding spot. It's only about 12' away directly, but since he only travels along the walls it's an indirect 30 feet, as the snake crawls. He learned the routes on his own, remembers them and can move surprisingly quick at times.
Pathfinding? Yes.
Abuse and speciesist generalizing? I can't say.