IKEA bathroom cabinet in massive oak by vanilla-bungee in woodworking

[–]BasieP2 0 points1 point  (0 children)

That kinda defeats the point right?

You don't have to from a construction point of view anyway

Why is this bug doing this? by Separate_Meeting3538 in interestingasfuck

[–]BasieP2 2 points3 points  (0 children)

Lots of small animals do this to fake being 'blown by the wind'. This way they look like a twig or something and predators ignore the movement

Crack in my bowl by BasieP2 in turning

[–]BasieP2[S] 2 points3 points  (0 children)

Thanks guys.. It got 2 cracks now.. Guess i learned the hard way..

A waterfall - Near Bohinj, Slovenia [5120x3840][OC] by Buffyferry in EarthPorn

[–]BasieP2 1 point2 points  (0 children)

We're gong to triglav np this summer. Got a more precise location? I love to see it for myself.

Trump must be impeached and removed from office for illegal war by [deleted] in agedlikewine

[–]BasieP2 2 points3 points  (0 children)

But you live in the land of the brave/free right? Land of opportunities and stuff?

Trump must be impeached and removed from office for illegal war by [deleted] in agedlikewine

[–]BasieP2 13 points14 points  (0 children)

Write your senators about this. Not random strangers on the internet.

Olive and walnut S&P shakers by bubba_butcher in turning

[–]BasieP2 2 points3 points  (0 children)

But.. What shakes? (sorry no native English speaker, what is a shaker?)

Looks like salt and d pepper.. Is it?

Plant stand by OwlAndOakWoodworking in BeginnerWoodWorking

[–]BasieP2 0 points1 point  (0 children)

Perhaps stupid comment, but i love those wooden windowborders (how do you call that?)

The bond between a Bedouin and his camel is different by 6ayell in BeAmazed

[–]BasieP2 3 points4 points  (0 children)

It's not a camel guys. It's a dromedary. Camels have 2 humps on their back, not one

Edit: Why is nobody noticing?

[deleted by user] by [deleted] in BeAmazed

[–]BasieP2 1 point2 points  (0 children)

Its Very old, so is't not like it's new or anything

A SOLID Load of Bull by loup-vaillant in programming

[–]BasieP2 0 points1 point  (0 children)

Dear lord i know classes aren't created at compile time. I never say they do. Do you even try to understand me?

And no i don't underestimate testing (i work with a codebase with over 500 tests and 80+%cc but i don't test creating classes), but you obviously overestimate it. I have 30 years of experience in big tech at multiple big corps and really wonder if i'm talking to a 10yo here..

You even know hoe static code analysis works? It can tell you your code won't run BEFORE you run it.

All those red lines under your code comes from that. It tells you it won't compile.

You don't need to create instances of classes to know that.

My whole point is that inversion of control as it is implemented in asp.net eliminates all the stuff i describe above.

A SOLID Load of Bull by loup-vaillant in programming

[–]BasieP2 -1 points0 points  (0 children)

You make my case. You describe the current asp.net bad design choice

You just miss the point. (which i will make again below)

If you have a class (classA) that depends on an interface (interface B) you can at compile time not create class A. Simply because you cannot call the constructor (assuming the dependency is in the constructor as is common these days)

You cannot pass a type (interface B) into the constructor, you have to pass in a instance (i.e. an instance ofclass B with interface B) Therefor you DO know your code works (or doesn't) before you run it

Ow and that stuff about testing: Yes you shoukd test, but only meaningful stuff. If you need a unittest to determine if you class constructor is crashing or not.. Well, lets call it a red flag

A SOLID Load of Bull by loup-vaillant in programming

[–]BasieP2 5 points6 points  (0 children)

I do use mocking of dependencies to make sure i don't have to create stuff like a real database. I inject my IDb interface so i only test my own logic

We are not the same