nothing icon indicating copy to clipboard operation
nothing copied to clipboard

Lacks symmetry

Open DotNetNerd opened this issue 10 years ago • 8 comments

To be a well rounded Framework I suggest making it more symetrical by adding an All type. With All and Nothing it is surely a framework I would bet on.

DotNetNerd avatar Mar 06 '15 21:03 DotNetNerd

So in terms of how this would work

Nothing All

But does All include Nothing?

Greg

On Fri, Mar 6, 2015 at 11:17 PM, Christian Holm Diget < [email protected]> wrote:

To be a well rounded Framework I suggest making it more symetrical by adding an All type. With All and Nothing it is surely a framework I would bet on.

— Reply to this email directly or view it on GitHub https://github.com/gregoryyoung/nothing/issues/7.

Studying for the Turing test

gregoryyoung avatar Mar 06 '15 21:03 gregoryyoung

To enforce clear symmetry I beleive it should not be included in All. With reguard to the equality operators suggested All or Nothing should always be true though.

DotNetNerd avatar Mar 06 '15 21:03 DotNetNerd

To enforce clear symmetry I beleive it should not be included in All. With reguard to the equality operators suggested All or Nothing should always be true though.

For symmetry Nothing should be included in All and All included in Nothing. But they aren't equal.

dsyme avatar Jul 17 '20 10:07 dsyme

@dsyme but how does the Money type interact with Nothing? I mean there are even songs about money both for and from nothing ...

and on a complete side note should Nothing really have value or reference semantics?

gregoryyoung avatar Jul 17 '20 11:07 gregoryyoung

I'm distressed that serializing nothing does not give nothing.

dsyme avatar Jul 17 '20 20:07 dsyme

I tried assert(nothing==deserialize(serialize(nothing))) but it has a bug that eats all my CPU untill there's nothing left.

mathiasverraes avatar Jul 17 '20 20:07 mathiasverraes

Hmm is this a bug or a feature?!

gregoryyoung avatar Jul 24 '20 23:07 gregoryyoung

should Nothing really have value or reference semantics?

An argument can be made that Nothing should have no semantics. Because with semantics it is surely something.

dsyme avatar May 26 '22 04:05 dsyme