What is the name of this anti-pattern?

What anti-pattern name is illustrated in this example?

if (something()) { return true; } else { return false; } 

This is a MATERIAL violation, but I have seen this specific one, so I wonder if it has a name.

+4
source share

Source: https://habr.com/ru/post/1484714/


All Articles