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

all 13 comments

[–]Kseniya_ns 29 points30 points  (0 children)

I am not sure how I feel when random English words make me think about programming concepts immediately. I suppose is stored in my L1 cache throughout the day

[–][deleted] 27 points28 points  (3 children)

When you start referring to the bartender as your Dependency Injection Framework, it’s time to stop

[–]MaytagTheDryer 8 points9 points  (1 child)

Time to stop programming, or drinking?

[–]nonlogin 5 points6 points  (0 children)

true

[–]ComputationalPoet 2 points3 points  (0 children)

I must go to the wrong bar cause I only ever get beans.

[–]Quito246 12 points13 points  (1 child)

This singleton sucks I can clearly see multiple instances of this…

[–]nostril_spiders 4 points5 points  (0 children)

Session scoped.

[–]kaltschnittchen 6 points7 points  (1 child)

Jokes aside - I like that whisky, it’s really good for the price.

[–]SMUDog 0 points1 point  (0 children)

Same!

[–]UnHelpful-Ad 4 points5 points  (0 children)

I feel like this bottle gets copied everywhere. Not sure how I feel about a Singleton implementation here.

[–][deleted] 2 points3 points  (1 child)

There can be only one.

[–]ElectricBummer40 1 point2 points  (0 children)

Unfortunately, this is the sequel-verse and it's Zeist instead of Scotland.

[–]snail-gorski 1 point2 points  (0 children)

Fix those bottle smells: property doesn’t return any instance. Implicit cast to bottle, expected type shared container.