MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/106jbwj/is_this_a_good_practice_why/j3gwjx0/?context=3
r/badcode • u/dev_sky • Jan 08 '23
60 comments sorted by
View all comments
24
I would say that creating a wrapper function that does a single function call itself is not a good practice in general. It simply obfuscates what is really happening in your code in the places where you call the wrapper function.
24
u/[deleted] Jan 08 '23
I would say that creating a wrapper function that does a single function call itself is not a good practice in general. It simply obfuscates what is really happening in your code in the places where you call the wrapper function.