Dedicated Coordinate struct or coordinates as args?

· Users Rust Lang · June 5, 2026, 10:52 p.m.
Summary
The author discusses a design decision in porting a semi-functional chess engine from Python to Rust, debating whether to use individual coordinate arguments or a dedicated Coordinate struct for better code clarity and maintainability.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →