The problem is that people realized that they could sell agile training to middle management if they changed it to be about making middle managers feel empowered and giving progress visibility to upper management.
It's not bad, it's just not agile. Agile exists for projects where that simply isn't possible. Its sacrificing a bit of potential best-case productivity to ensure you don't get worst-case productivity.
What would aliens think if they leaned we evolved fear as a survival mechanism, but we intentionally seek out situations that trigger our fear response, for fun?...
Maybe I'll edit my post because you're not the first person who misunderstood. I'm specifically talking about thrill seeking, not extreme sports specifically. I couldn't fit the whole premise in the title so I just picked an example 😭
Im gonna edit my post because everyone is too hung up on extreme sports.
Horror movies also fall under the same category of thing. It's not about the risk, it's about triggering fear response. I just picked extreme sports because I couldn't fit the whole premise in the title
I like that "safe space" theory, that seems very plausible.
It's still a bit messed up though, because that part of our brain can't distinguish between play fear and real fear, so we get "rewarded" for both which seems like a very risky move, evolutionary.
I can imagine the aliens being like
How did they survive to become the apex species?
Although with all the brinkmanship and poor threat analysis we've exhibiting now on a global scale, perhaps we won't survive as the apex species for long, so 🤷
But specifically fear instincts seems strange. It makes sense to us because we're us, but look at it more clinically: we seek out to stimulate the instinct that keeps us safe. That means that it'd doing the exact opposite of its purpose. If we seek to stimulate our fear, that means we seek to put ourselves in situations where fear is a reasonable response, which is exactly what fear was evolved to prevent.
How did this behavior develop, and how did we survive once it did?
I splurged on some "nice" sweat pants, and that's pretty much all I wear for fall/winter/spring, when I have to leave the house. Cargo shorts for summer.
It used to be PJs all day every day, but those nice sweats were a game changer.
Obviously this won’t work for all sports, but things like football, track, soccer, it would allow for de-gendered team, even allowing athletes with the skills but not the genetically-endowed physical attributes to have a place to play....
That's not due to performance enhancing drugs and body mods though, right? That's due to diet and associated lifestyle.
Although I think I still see your point; some sports not only encourage but require the top echelon of the sport to sacrifice their long-term health for the sake of a competitive edge.
I'd use sumo as a cautionary tale as to why it's a bad idea, rather than proof that athletes are willing to make that sacrifice.
If your function is so long that keeping track of returns becomes burdensome, the function is too long.
I'm not a fan of returning status codes, but that's a pretty clear example of early return validation where you can't just replace it with a single condition check.
Having a return value that you set in various places and then return at the end is worse than early return.
You said yourself they're equivalent. You either have to read the blocks in both cases or neither case.
You need to read the blocks to know what gets returned (either early or in a single return). You need to read the blocks to see what resources get created but not released. What are you hoping to achieve by only reading control flow?
At least with an early return you can stop reading.
What are you hoping to accomplish by only reading control flow and not the contents of the blocks? You keep raising concerns like not properly releasing resources, but if you don't read the blocks you don't know what resources we're allocated.
I think your argument depends on both having your cake and eating it.
If you're reading the control flow, and the control flow tells you the first block isn't being entered, then it doesn't matter if the first block contains an early return or not, because it wasn't being entered. If it was being entered then you have to read it anyway to make sure it's not manipulating state or leaking resources.
To use your example: in subsequent reads, when I'm interested in the second block out of n, say during defect analysis, I can head straight to the second block in either case since control flow shows the first block was skipped - but in the case of early return from the second block I can stop reading, but in the case of a single return I need to read the flow for all subsequent n blocks and the business logic of any subsequent blocks that get entered. The early return is a guarantee that all subsequent blocks may be ignored.
To me this is also obvious. I've been doing this for quite a while and 95% of the time, reviewing and debugging code with a single return is far more tedious.
Have you stopped to consider why you can't explain it better? Perhaps the reason is because you're wrong.
Your toy example does not show the issue you think it shows. You've moved your cleanup block away from the context of what it's cleaning up, meaning that you've got variables leaking out of their scopes. Your cleanup code is now much more complex and fragile to changes in each of the blocks its cleaning up after.
You tried to use your toy example to show A is better, but then we showed that actually B is just as good. So fix your toy example to show what you actually want to say, because everything you said so far depends on you setting different standards for each scenario.
No lie, after taking about 2 weeks of my first programming course in university, I did almost exactly this, trying to make a poker game.
I hadn't learned about objects, or functions, or even loops. Just one big method that had an if for every hand permutation.
I hadn't ever been exposed to programming before, and I loved it, but I knew nothing about it. Those were the only tools I had in my toolbox, and you know what they say about how when you only have a hammer everything looks like a nail.
I'm a professional dev now, so I really hope I grew out of it lol
My issue with typical hybrids is that they got all the complexity of an ICE powertrain, in addition to all the complexity of an EV powertrain, plus the complexity of merging the two.
Slightly less efficient, but I think I'm more in support of EVs with gas range extenders. Maybe it's just a question of semantics. But more than that (if we're gonna keep cars) we need to invest in charging infrastructure. Idk why it sucks so bad, and why gas stations aren't installing charging stations.
Derisking a project 1 year out ( i.imgflip.com )
Anakin Padme meme:...
It's weird that we enjoy stimulating our fear response
What would aliens think if they leaned we evolved fear as a survival mechanism, but we intentionally seek out situations that trigger our fear response, for fun?...
The cycle of pants continues ( lemmy.world )
Trump wanted to drain the swamp to make it easier for the swamp creatures to get around
With the recent issues of transgender people in sports, why don’t we move some sports over to a weight-class system?
Obviously this won’t work for all sports, but things like football, track, soccer, it would allow for de-gendered team, even allowing athletes with the skills but not the genetically-endowed physical attributes to have a place to play....
Rex Murphy, the sharp-witted intellectual who loved Canada, dies at 77 ( nationalpost.com )
As he battled cancer, Murphy continued to file, writing about Hamas and Christmas and interviewing Pierre Poilievre with his usual panache
got him ( lemy.lol )
Like getting 9 women pregnant and expecting a baby in 1 month ( sh.itjust.works )
Run ( files.mastodon.online )
https://social.tulsa.ok.us/@BalooUriza/112377941184601902
Chad VLC ( lemm.ee )
A new trend sweeping the nation ( lemmy.ca )
Slowpoke is my favorite jean meme
Coding chess ( startrek.website )
Homeowners Refuse to Accept the Awkward Truth: They’re Rich - Owners of the multi-million-dollar properties still see themselves as middle class, a warped self-image that has a big impact on renters ( thewalrus.ca )
Buying a new car is not better than keeping an old one ( lemmy.world )
It's time ( lemmy.ca )
Like wiping a marker