Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16558

data structures for dates was ---Re: hold question

From Richard Fateman <fateman@cs.berkeley.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject data structures for dates was ---Re: hold question
Date 2014-02-12 10:03 +0000
Message-ID <ldfgtl$bv0$1@smc.vnet.net> (permalink)
References <lda0uk$jiv$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On 2/10/2014 12:00 AM, Francisco Gutierrez wrote:
>
....
> What I am overlooking?

You've gotten a lot of answers which are just fine, but perhaps it
is worth pointing out the obvious.  Which is the use of the "/"
or virgule as a mark to separate alternatives as   "and/or"  or
as a line separating parts of a date, is essentially incompatible
with the notation where it is used to separate parts of a fraction
in Mathematica.

If you allow Mathematica to treat "/" as a division, you are likely
to be disappointed.

I'm sure there are other places that Mathematica's adherence to some
version of notation causes problems when similar or identical notation
is associated with entirely different semantics.  Some other
representations used for dates within computer programs allow for all
kinds of neat tricks, like finding the number of days between two
dates by, um,  subtraction.

Taking a computer science course that treats subjects like data 
structures and their interpretation might be illuminating.





Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar


Thread

hold question Francisco Gutierrez <fgutiers2002@yahoo.com> - 2014-02-10 08:00 +0000
  data structures for dates  was ---Re: hold question Richard Fateman <fateman@cs.berkeley.edu> - 2014-02-12 10:03 +0000

csiph-web