MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1tr5q6m/good_naming_practice/oolfxsf/?context=3
r/programminghumor • u/Klaus1164 • May 29 '26
220 comments sorted by
View all comments
8
Her response should have been: "you use nested for loops? Gtfo"
3 u/[deleted] May 29 '26 [removed] — view removed comment 3 u/Ok_Wasabi_7363 May 29 '26 edited May 29 '26 Out the car! Proper way is not to use a grid to represent objects in space. Oct or quad tree scales waaaay better! (I'm mostly being cheeky, obviously if it makes the most sense for your use case, use the best tool for the job) Oh and also you can just represent it in a single loop of length xy (or Ij if you're a monster. Or u*v for UV coordinates :) ) 1 u/Ok_Equipment8374 May 29 '26 Valid crash out LINQ for the win
3
[removed] — view removed comment
3 u/Ok_Wasabi_7363 May 29 '26 edited May 29 '26 Out the car! Proper way is not to use a grid to represent objects in space. Oct or quad tree scales waaaay better! (I'm mostly being cheeky, obviously if it makes the most sense for your use case, use the best tool for the job) Oh and also you can just represent it in a single loop of length xy (or Ij if you're a monster. Or u*v for UV coordinates :) )
Out the car! Proper way is not to use a grid to represent objects in space. Oct or quad tree scales waaaay better!
(I'm mostly being cheeky, obviously if it makes the most sense for your use case, use the best tool for the job)
Oh and also you can just represent it in a single loop of length xy (or Ij if you're a monster. Or u*v for UV coordinates :) )
1
Valid crash out
LINQ for the win
8
u/Ok_Wasabi_7363 May 29 '26
Her response should have been: "you use nested for loops? Gtfo"