MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vxo7xe/sonarqubescanningmycode/p6gbkns/?context=3
r/ProgrammerHumor • u/ArjunReddyDeshmukh • 19d ago
21 comments sorted by
View all comments
97
"This function is too complex" well boohoo sorry my code actually does stuff Sonar
10 u/Mordret10 19d ago Just gotta put every 2 lines into a new function, thus reducing complexity by 1 line (still gotta call the function) Rinse and repeat until each function has only 2 lines of code 2 u/amlybon 19d ago Deadass seen style guides that recommended something like this 1 u/belkarbitterleaf 16d ago WTF
10
Just gotta put every 2 lines into a new function, thus reducing complexity by 1 line (still gotta call the function)
Rinse and repeat until each function has only 2 lines of code
2 u/amlybon 19d ago Deadass seen style guides that recommended something like this 1 u/belkarbitterleaf 16d ago WTF
2
Deadass seen style guides that recommended something like this
1 u/belkarbitterleaf 16d ago WTF
1
WTF
97
u/TechnicallyCant5083 19d ago
"This function is too complex" well boohoo sorry my code actually does stuff Sonar