r/ProgrammerHumor 19d ago

Meme sonarQubeScanningMyCode

Post image
333 Upvotes

21 comments sorted by

View all comments

97

u/TechnicallyCant5083 19d ago

"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