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.
No one has answered this question yet.
See related questions:
Source: https://habr.com/ru/post/1484714/More articles:What XML Comment Tags Are Supported in Object Explorer - .netClicking bootstrap carousel image looks distorted - htmlSet html textarea attribute dynamically? - htmlserialize an object as null based on one of its properties - jsonJQuery clone, replace number in id and name attributes - jquerymaven cyclical dependency with test scope - mavenAndroid 2.3.4, OpenSL ES and a huge spam journal for an unknown reason - androidJNI Signature Code Analysis - javaCannot resolve the error while creating an automatic layout constraint to view a specific height - iosI want to create a remote stream, and after that I want to read its result - delphiAll Articles