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

church hurt 

church hurt is where you experience a degree of distance, pain, or judgement from your church community. Essentially, you are just unable to “find your place”. This is prevalent in the Christian community, but can be extended to other religions.
Now that I am an adult I am beginning to heal from the church hurt that was inflicted on me as a child.
Word of the Day on May 27, 2026
Huge. Surpassing normal expectations.
I was fishing with a Spinner Bait and a HONKIN pike came after it and hit it . Felt like a lawnmower running over a brick.
honkin by R. LaJoy December 26, 2005
Word of the Day on May 26, 2026

Stealthie 

when you're holding up your phone and making faces at it, as though you are taking a selfie, but you're really taking a picture of the person across from you or the wall or anything else that seems interesting but you don't want to be caught dead taking a picture of.

This action is often made more convincing by wiggling the eyebrows or opening the mouth, to pretend you're trying to get a Snapchat filter to work.
FRIEND A: "Did you just take a stealthie of me?"

FRIEND B (turning phone around): "no I was just using snapchat's new filter, see?"
Stealthie by gwenhyfar October 2, 2016
Word of the Day on May 25, 2026

Summer Teeth 

When someone has a lot of missing teeth.
Mannn, that dude has summer teeth!
What do you mean?
Summer here, summer there...
Summer Teeth by BeckPot August 2, 2012
Word of the Day on May 24, 2026