this post was submitted on 19 Jul 2023
1096 points (98.3% liked)

Programmer Humor

32710 readers
1217 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 2 years ago (1 children)

About 15 years on, I'm still so happy I got good coursework marks for the route-finding equivalent of a bogosort. Picked a bunch of random routes and pick the fastest. Sure, that guy who set up a neural net to figure it out did well, but mine didn't take days of training, and still did about as well in the same sort of execution time.

[โ€“] WolfhoundRO 1 points 2 years ago* (last edited 2 years ago)

Given that the guy that undertook the neural net path had consumed both time and more resources to make it happen, the good old sort is an efficient, sufficient, tried and true algorithm to quickly implement