News for hackers. Stuff that matters.
Re:Show HN: Visual a* Pathfinding and Maze Generation in Python by diggan on Monday August 05, 2024 @03:13PM (#41164425)
> but at least apply some basic oop fundamentals to make it readable

Heh, and here I sit, usually complaining about the opposite!

"Don't make it so OOP gratuitous so it gets a bit easier to read and understand" is probably something I've said more than twice.

Guess what's readable or not is subjective :)

Re:Show HN: Visual a* Pathfinding and Maze Generation in Python by eigenvalue on Monday August 05, 2024 @03:17PM (#41164467)
100% agree with you on this-- I find a functional approach, where there is no state to deal with, just input arguments and return values, to be much much easier because you can reason about each function separately.