Motive behind !empty() with front() instead of Optional front()
Jacob Carlborg
doob at me.com
Wed Apr 7 08:23:01 UTC 2021
On 2021-04-05 22:01, Per Nordlöw wrote:
> Interesting. Can you show some pseudocode of this? Can those algorithms
> be implemented as non-member functions?
Here's an article about idiomatic Scala and optional types [1]. I think
it applies to D as well.
[1]
https://www.originate.com/thinking/idiomatic-scala-your-options-do-not-match
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list