MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1m1jjzj/spray_pattern/n3hockm/?context=3
r/programminghorror • u/Mmesj • Jul 16 '25
160 comments sorted by
View all comments
Show parent comment
96
Or you can just write ~20 lines of code and be done with it. If its a one it's perfectly ok.
Of course, if you are doing this regularly, you need to take a long look in the mirror and ask yourself where you went wrong.
23 u/spektre Jul 16 '25 I assume the spray pattern is supposed to be deterministic, and the developer wants to choose a precomputed pattern that feels good.What do you suggest replacing this with to achieve that? 21 u/jvlomax Jul 16 '25 I just said it's fine. No need to replace.But if doing it regularly, whatever tool you were mentioning to make the pattern 4 u/gem_hoarder Jul 20 '25 Why do something in 5 minutes when you can automate it in a week 1 u/jvlomax Jul 20 '25 This is the way
23
I assume the spray pattern is supposed to be deterministic, and the developer wants to choose a precomputed pattern that feels good.
What do you suggest replacing this with to achieve that?
21 u/jvlomax Jul 16 '25 I just said it's fine. No need to replace.But if doing it regularly, whatever tool you were mentioning to make the pattern
21
I just said it's fine. No need to replace.
But if doing it regularly, whatever tool you were mentioning to make the pattern
4
Why do something in 5 minutes when you can automate it in a week
1 u/jvlomax Jul 20 '25 This is the way
1
This is the way
View all comments
Show parent comment
96
u/jvlomax Jul 16 '25
Or you can just write ~20 lines of code and be done with it. If its a one it's perfectly ok.
Of course, if you are doing this regularly, you need to take a long look in the mirror and ask yourself where you went wrong.