“#Optionals are so tedious to deal with 😮💨”
You know what's more tedious? #NullPointerExceptions
“#Optionals are so tedious to deal with 😮💨”
You know what's more tedious? #NullPointerExceptions
I wonder if it'd work to add a guaranteed non-null pointer to C++ like this:
https://gist.github.com/uliwitness/931873c0b2edaa537b905418a024be04
#CPlusPlus #optionals #shared_ptr
Update: The gist is now fully compiling code.
Dear Friends of Options, :blobheart:
My brain (pah!) #partially #works in #instances of #sprouting. I #honour its #capacity by:
- #Random acts of #spurt
- #Forging a head, or even ahead
- Never underestimating advice I have not heard :mindblown:
- Believe in council :thinkSpin:
- It has been solved, somewhere
- The Internet is your friend?
- Walk placidly, like a cat :blobcatghostdead:
- Pirate, no parrot? Shoulder cat, hobble along
- Tea from? Nettles, #mint, peal, spices?
- Work WITH. Shout again, WITH nature
- Does not work, may not be needed
- Know Brain, no gain, Know Citizen Banned
Hope that aids your #optionals