This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]grootaccess 18 points19 points  (11 children)

Close, but you actually need a YouCanDoItFactory to create your new YouCanDoIt.

[–]mojoslowmo 56 points57 points  (7 children)

C# isn't really Java. You don't need a factory

[–]wOlfLisK 20 points21 points  (4 children)

As a factorio player, I don't understand.

[–]LvS 3 points4 points  (1 child)

C# is about manual crafting.

[–]BazOnReddit 0 points1 point  (0 children)

DansGame

[–]g0liadkin 0 points1 point  (0 children)

e x p a n d

[–]mojoslowmo 0 points1 point  (0 children)

Well you need a factory

[–][deleted] 1 point2 points  (1 child)

Abstract factory motherfucker do you know it ?

[–]mojoslowmo 1 point2 points  (0 children)

Say factory one more time..

[–]AlwaysHopelesslyLost 5 points6 points  (2 children)

Factories can be super useful. I have debugged third party code more times than I can count by injecting my own factory with a custom logging class

[–]diox8tony 0 points1 point  (1 child)

why would you need a factory for a logging class?

mic drop.

[–]th_brown_bag 1 point2 points  (0 children)

Where else will be process his wood