- Joined
- Jun 7, 2020
When I was taking a class on Java, I learned that lesson the hard way when I needed to find a fast DFS through a massive CSV graph between two nodes of arbitrary distance. For the life of me I couldn't figure out a solution that didn't take literal fucking hours until I realized that I was adding values to my graph in the dumbest way possible. Ever since then, I've always been super anal about optimizing loops so that I wouldn't spend a literal eternity testing to see if something worked.I get the sense this is the sort of thing the root of the problem is. Mastering time complexity is rapidly becoming a lost art; the compiler can't save you if you're just a retard with a basic grasp of loops. Some of my buddies were complaining recently about the slow dogshit their students today write compared to just a few years ago. Beginner programmers never test their things at scale.
It also helps that I'm not using Java which is a piece of shit language, but the error was completely on my end.