From @purd|e@@ @end|ng |rom gm@||@com  Thu Mar 28 00:26:36 2019
From: @purd|e@@ @end|ng |rom gm@||@com (Abs Spurdle)
Date: Thu, 28 Mar 2019 12:26:36 +1300
Subject: [Rd] Discrepancy between is.list() and is(x, "list")
In-Reply-To: <CAF8bMcZD03odP0yriDjoxYNFzfU3Js_bF6OosavyRxtVY6S44g@mail.gmail.com>
References: <CAB8pepyU2qbU7fd1J9J6kyr_657PHFYHoJV6fnvNiHqqjq-24w@mail.gmail.com>
 <EB8494AA-8DAA-4B9A-B636-7E979251EF0C@ucsd.edu>
 <CAB8pepxp9TL18vvHajvSJBXhJY=E13ZWUjebxv6OdgPXcWVPTQ@mail.gmail.com>
 <CAF8bMcZD03odP0yriDjoxYNFzfU3Js_bF6OosavyRxtVY6S44g@mail.gmail.com>
Message-ID: <CAB8pepxpqGtxC2s0Zs=ZJqqsKa5GVaei1_4-49w0vafmv8J3pA@mail.gmail.com>

> the prison made by ancient design choices

That prison of ancient design choices isn't so bad.

I have no further comments on object oriented semantics.
However, I'm planning to follow the following design pattern.

If I set the class of an object, I will append the new class to the
existing class.

#good
class (object) = c ("something", class (object) )

#bad
class (object) = "something"

I encourage others to do the same.



[Rd] Discrepancy between is.list() and is(x, "list")
Abs Spurdle