i agree with longer functions and less jumping around, but there's also some nuance i find. I sometimes find converting a complicated multi-line condition into something like the below is much easier for me to read, so long as the function is named in a clear way and the function definition is just above the big function it gets called by (never in a different file!)
def is_something_valid(something, foo, bar):
return something > 0 and something != foo and something > bar
if is_something_valid(something, foo, bar):
it's like a convenience reading shortcut so i don't have to parse the logic in my head if i don't want to. also makes the condition nice and easy to test.then again, can also do it the grug-brained way
gt_zero = something > 0
ne_foo something != foo
gt_bar something > bar
if gt_zero and ne_foo and gt_bar: something_is_valid = something > 0 and something != foo and something > bar
if something_is_valid:
# ....
It achieves the same thing without needing to scroll.Honestly, I'm surprised at how great these people are at invoking emotional responses in their favor. It's incredible. They're certainly smashing the information war.
When the 11 kids got actually blown up by a missile strike while attending a soccer game in Israel, where was all the sympathy then? Do people even know about this?
https://www.timesofisrael.com/massive-tragedy-kids-killed-in...
I think, no matter who the perpetrator is, it's undeniable that exploding electrical items on this scale, is an act of terror and aggression.
I know every artist thinks their unique vision is infinitely priceless but things are actually worth what people are willing to pay for them. If you can’t convince people to hand over money for it, then it’s not worth that much.
However I agree that they shouldn't raise prices.
I would choose annotations over having to code all that manually any day.
You can easily test and debug. Yes, it will cost some time to understand how aspects work and how it is all wired up, but it is worth learning.
Almost all apps run well with the exception of Google's, which have consistently gotten worse. The camera still starts up quickly, and the fact that most apps are still performant compared to an iPhone 13 is impressive.
Google Docs is unusable - even small documents can't be opened, and the app hangs when opened more than half the time. Google Maps keeps adding misc features which adds significantly to startup time and responsiveness.
Where apple does do well is supporting devices for much longer with software and security updates. So running older android phones is prob not a good ideas from a security perspective.