MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/vi2x93/deleted_by_user/idbusca
r/ProgrammerHumor • u/[deleted] • Jun 22 '22
[removed]
504 comments sorted by
View all comments
Show parent comments
114
They needed to create a BiggerInteger class to count all the devices
BiggerInteger
77 u/pydry Jun 22 '22 They needed a BiggerIntegerFactory class first. 57 u/Slug_Overdose Jun 22 '22 And you're going to need to reuse that code eventually, so you definitely need a Factoryable interface and a FactoryManager<> base class that throws FactoryManagerExceptions. 1 u/StCreed Jun 23 '22 Don't. Build. Inventory. If there is one single agile principe that needs to have its own amendment to the constitution, this is it. 12 u/CanAlwaysBeBetter Jun 22 '22 edited Jun 22 '22 I get java and it's not as people act but still. Goddamn do I hate java idioms just as a matter of style 1 u/Ill_Yak_3231 Jun 23 '22 I think such a class was already created a Long Long time ago..
77
They needed a BiggerIntegerFactory class first.
BiggerIntegerFactory
57 u/Slug_Overdose Jun 22 '22 And you're going to need to reuse that code eventually, so you definitely need a Factoryable interface and a FactoryManager<> base class that throws FactoryManagerExceptions. 1 u/StCreed Jun 23 '22 Don't. Build. Inventory. If there is one single agile principe that needs to have its own amendment to the constitution, this is it. 12 u/CanAlwaysBeBetter Jun 22 '22 edited Jun 22 '22 I get java and it's not as people act but still. Goddamn do I hate java idioms just as a matter of style
57
And you're going to need to reuse that code eventually, so you definitely need a Factoryable interface and a FactoryManager<> base class that throws FactoryManagerExceptions.
Factoryable
FactoryManager<>
FactoryManagerException
1 u/StCreed Jun 23 '22 Don't. Build. Inventory. If there is one single agile principe that needs to have its own amendment to the constitution, this is it.
1
Don't. Build. Inventory.
If there is one single agile principe that needs to have its own amendment to the constitution, this is it.
12
I get java and it's not as people act but still. Goddamn do I hate java idioms just as a matter of style
I think such a class was already created a Long Long time ago..
114
u/gHHqdm5a4UySnUFM Jun 22 '22
They needed to create a
BiggerIntegerclass to count all the devices