Not only will it grow the stack and give an error, but the RETURN isn't even needed
Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation & Sqij.
Twitter: Sokurah
I just find it odd that professional programmers would try and implement their own algorithms and be ignorant of stuff like Array.sort or whatever it is called in Java,
ParadigmShifter wrote: ↑Sun Jan 28, 2024 8:47 pm
I just find it odd that professional programmers would try and implement their own algorithms and be ignorant of stuff like Array.sort or whatever it is called in Java,
"hackernews" taught them that you only need to know two things: 1. how to write a red-black tree on demand in 10 minutes, and 2. [censored, you know what it is though]
ParadigmShifter wrote: ↑Sun Jan 28, 2024 8:55 pm
Red-black tree is just std::map in C++ though. Plus all the code is in headers so you can rip it off if you like.