MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/mxlgzm/very_efficient_and_scalable_code/gvtal4g/?context=3
r/badcode • u/Conqu3red • Apr 24 '21
110 comments sorted by
View all comments
281
This Code is screaming REFACTOR ME!
135 u/sanglesort Apr 24 '21 edited Apr 25 '21 this could be one function, like just have a tag paramedit: I am sorry for being obvious, I beg for mercy 15 u/BaconKami Apr 25 '21 And then all the functions could call that 'chosetagGeneric' method, and if you want to add a new tag you just add the function that calls it right? (I am joking of course) 5 u/5p4n911 Apr 25 '21 Honestly, I might make some stupid shorthand functions for it in some obscure place just because I am lazy to write those extra ""s
135
this could be one function, like just have a tag param
edit: I am sorry for being obvious, I beg for mercy
15 u/BaconKami Apr 25 '21 And then all the functions could call that 'chosetagGeneric' method, and if you want to add a new tag you just add the function that calls it right? (I am joking of course) 5 u/5p4n911 Apr 25 '21 Honestly, I might make some stupid shorthand functions for it in some obscure place just because I am lazy to write those extra ""s
15
And then all the functions could call that 'chosetagGeneric' method, and if you want to add a new tag you just add the function that calls it right? (I am joking of course)
5 u/5p4n911 Apr 25 '21 Honestly, I might make some stupid shorthand functions for it in some obscure place just because I am lazy to write those extra ""s
5
Honestly, I might make some stupid shorthand functions for it in some obscure place just because I am lazy to write those extra ""s
281
u/BR34D_ Apr 24 '21
This Code is screaming REFACTOR ME!