[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] How to implement protocols?



Le mercredi, 18 novembre 2015 Ã 02:26, Nik Sultana a Ãcrit :
> For one thing, chosen abstractions are partly a matter of taste -- one
> person's abstraction is another person's abomination...
>  
> For another, abstractions are devised based on what's suitable at the  
> time for a project. We have to be pragmatic.

Abstractions, understood as mechanisms to structure data and computations, also 
have *properties* and some abstractions may have bad properties in the long 
term e.g. with respect to maintenance, code evolution and understandability. So 
it's not only about taste or what's suitable at the time, it's also about 
thinking about the future readers and maintainers of the code â something that 
is too often misregarded both by programming language designers and programmers.

This sentence in the document is as useless as misguided as it will wrongly be 
understood (see my first message). Maybe it simply wants to say write code that 
is readable and understandable, but it fails at doing so â and then why repeat 
here is anyway in the programming guidelines of the language you program in [1].

Best,  

Daniel

[1] 
https://ocaml.org/learn/tutorials/guidelines.html#Generalguidelinestowriteprograms



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.