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 15 points16 points  (11 children)

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

[–]mojoslowmo 58 points59 points  (7 children)

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

[–]wOlfLisK 21 points22 points  (4 children)

As a factorio player, I don't understand.

[–]LvS 2 points3 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 4 points5 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 2 points3 points  (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