On Friday, June 8, 2012, Gorka Guardiola wrote:

> >
> > Yes, which makes one wonder about type systems in programming languages
> and
> > if they're any better than documented conventions of I/O.  (i think they
> may
> > not be, but they serve some documentation purposes all their own)
> >
>
> I think type systems have their use but do not help much at the borders
> (I/O) of the program.
>
>
If only more people understood this they'd realize that it's important to
understand how things get marshalled between programs.  Types are internal
only, but may help drive marshaling.  Java Beans make me gassy.


> Reminds me of this paragraph in our paper (sorry for the autoquote)
>
> http://www.mdpi.com/1424-8220/12/6/7109
>
> "The most usual mistake is to argue that synthetic files do not provide
> types and/or type checking, for example, when used to execute commands
> or to exchange data represented as text. It may not seem so, but
> type-checking
> does not help much regarding correctness of the requests made and/or
> data retrieved.
> Note that clients and servers may be written in different programming
> languages.
> Some will be strongly typed, some not. Those that are typed may have
> different, incompatible, type systems.
> Synthetic file servers must check data written for validity, like an OS
> kernel or a network server would. If the request made is invalid, an error
> is raised. It does not really matter in practice if the error is due
> to type checking
> or due to an invalid request. If the response given by a server is not
> correct, the
> client of the server is responsible for checking it for validity and
> acting accordingly.
> What we have seen in practice, if that when the user makes a mistake, the
> device
> raises an error, and the user tries again; this has never turned out
> to be a problem."
>
>

Reply via email to