Skip to main content
By trying to make a API method more generalized- you make it too generalized.
Anti-Pattern Name:
ULSAC Anti Pattern
Aliases:
Failed Façade Command Pattern Problem
Context
By trying to make a API method more generalized- you make it too generalized
Forces
- Trying to prevent code change
- Failing to program to interface, in the sense if the implemented class changes it should signal failures else where in the code base.
Solution
Create well defined methods (and names) that explain the exact nature of the method.
Consequences and Resulting Context
- The complexity of the call gets embedded with in a parameter.
- API can’t be readily understood.
- Functionally Overloaded method
- Hard to change.
- Difficult API to use.
What's Wrong with the Solution
Consider the following API which contains self describing methods that can be readily understood and used.

void getCustomerNumber(…);
void getCustomerAddress(…);
void getCustomerTelephone(…);


If a scenario arises in which a developer tries to prevent the API exposed to change by creating an overly generalized method

void getX(…., String actionDesc)

in which the actionDesc contains some sort of internal pseudo language which determines the correct data to return. i.e.

call getCustomerNumber(…) gets replaced with call getX(….,”CustomerNumber”);
call getCustomerNumber(…)+ call getCustomerAddress(…) gets replaced with call getX(….,”CustomerNumber,CustomerAddress”);
Lesson's Learned
Try not to make a single method be all things to everyone. Rely on programming to interface and contractible programming it allows.
Correct Patterns
Author(s):
John Wilson
Date:
01/01/2009
References
Keywords:
Example
ULSAC by JLW008 January 28, 2009
Related Words
ulsa Ulsaa ULSAC
A person who simply wishes for Australian girlfriend.
Person 1: Is that Ulsaa?
Person 2: Yeah and he is probably dreaming about some Australian chick with big titties.
Person 1: Yeah probably...I mean who wouldn't dream about that right?
Person 2: Agree.
Ulsaa by うじま November 21, 2021

bang a you-ee 

of Massachusetts orig. "to make a u-turn"
hey, we missed the bar, bang a you-ee
Word of the Day on July 19, 2026
The word 'flag' as pronounced by people with thick Belfast accents. The term is a perfect encapsulation of the disproportionate and overblown reaction to the removal of the Union Jack (as in 'de fleg') from above City Hall in Belfast. Where previously it had flown for 365 days per year, it is now flown on 17 designated days of the year - in line with many other British cities.

The event caused a portion of the Protestant community ('fleggers') to make international pricks of themselves as they proceeded to wreck the fucking place, claiming it was another erosion of a 'British' identity they perceive to have been under attack since the horrifying spectre of equality reared its head in Northern Ireland.

The word 'fleg' - and indeed 'fleggers' - fittingly describes a section of humanity unconcerned with knowledge, reality or the vagaries of the English language. Like America's tea-baggers they are ruled by instinct, fear and paranoia with a side dish of rampant bigotry and startling ignorance of the world around them.
"Wat de fuck like! The taigs got de fleg took down! Let's wreck de fuckin place! No surrender!"

"De fleg has been took down! Before ye know it there'll be a united Ireland! Attack Short Strand! God Save The Queen!"
Fleg by OnionFleg August 9, 2013
Word of the Day on July 18, 2026
To take something small, that doesn't quite qualify as a theft. Probably from the Danish "skæv" or the Dutch "scheef", both of which are pronounced similarly, meaning "askew, or not quite right'. To change an item's ownership without permission, but only something small and of little worth.
"I skeefed an apple off the neighbor's tree." "I skeefed some chips outta your bag when you looked away." "Don't skeef my chair when I go to the bathroom."
Skeef by kachinaflonk July 16, 2026
Word of the Day on July 17, 2026

Hair spider

A tight, tangled knot of loose hair and lint that forms inside clothing during the clothes dryer cycle. It typically hides inside garments, causing an annoying lump or a phantom tickling sensation against the skin until it is found or falls out onto the floor during folding.
I was folding my clothes and a huge hair spider fell out onto my hand
Hair spider by Kmorsels July 15, 2026
Word of the Day on July 16, 2026