Duralf

joined 1 year ago
[–] Duralf@lemmy.world 3 points 8 months ago

I thought most of it was stock options?

[–] Duralf@lemmy.world 8 points 11 months ago

Yes, past presidents have gradually expanded the power of the position beyond any reasonableness over time.

[–] Duralf@lemmy.world 1 points 1 year ago

Fair enough, I do love being contrarian

[–] Duralf@lemmy.world 10 points 1 year ago (2 children)

I think you missed the whole point of my comment 😂. Regardless, the time spent compiling a small snippet of code is completely negligible. In the end, both #if 0 and if (false) have their complimentary uses.

[–] Duralf@lemmy.world 18 points 1 year ago

The problem is everyone disagrees on what part of C++ is good... Some like C+classes. Some like intense meta programming and some like functional programming and all are valid C++ that people advocate for.

[–] Duralf@lemmy.world 14 points 1 year ago (7 children)

If (false) is good because it is compiled so it doesn't get stale.

[–] Duralf@lemmy.world 3 points 1 year ago

Even in C this is possible. Just wrap the float or whatever in a struct and all implicit conversions will be gone.

[–] Duralf@lemmy.world 5 points 1 year ago (5 children)

API from a call that accepted integer values between 0 and 32767 (minimum and maximum wheel speeds) to one that accepted float values between 0.0 and 1.0.

This would cause alarm bells to ring in my head for sure. If I did something like that I would make a new type that was definitely not implicitly castable to or from the old type. Definitely not a raw integer or float type.

[–] Duralf@lemmy.world 6 points 1 year ago

I can't believe that the std C++ implementations performance is this bad!

[–] Duralf@lemmy.world 8 points 1 year ago (1 children)

I can't tell if you are sarcastic or serious. Population growth is slowing globally so it's not like there is an infinite supply of young people.

[–] Duralf@lemmy.world 10 points 1 year ago (4 children)

This is a holy war that I will gladly fight again and again! I can't believe that soft tabs are more popular, especially in python!

[–] Duralf@lemmy.world 35 points 1 year ago (1 children)

You can safely swim in the pool of an operational reactor

Besides the acute lead poisoning from being shot apparently.

view more: next ›