> Well, it was your suggestion to use braces, because, as you say, () and
> [] are taken. What are you thinking you would want braces for?
Sorry if there was miscommunication ... I thouht that we wanted {} braces
for 3D points.
>
>>( Parentheses ) and [ square brackets ] are already taken, so there are
>>not too many pairs of "bracketing" characters left.
>>
>>Q: Is there a big advantage to using { curly braces } in this context? Or
>>could you just use 'set defaultLattice a b c' or 'set defaultLattice n'
>>and use the argument count to distinguish between the two?
>>
>>
>>
> While the braces are not necessary in this context, I've found that they
> are very helpful in general to distiguish xyz triples. Which is more
> readable:
>
>
> moveto 2.0 {34.5, 45.6, 67.4} 35. 200
I agree ... that is a point.
> or
>
> moveto 2.0 34.5 45.6 67.4 35. 200
>
> ?
>
> It's actually very nice in terms of documentation to refer to an "xyz"
> coordinate rather than just three numbers.
I agree again.
> It's better programmatically, because one can identify right from the
> "{" that a coordinate is coming. So that allows much better control.
> Within any triple such as this, there isn't any significant reason to
> constrain someone to floats or integers, so that makes it more
> user-friendly. Who cares if one writes {0 0 0} or {0.0 0.0 0.0} for
> example.
>
> Really, I don't care what is used, but I've been using braces now for
> two months, and they work great.
No disagreement
> It's hard for me to imagine a context where we would want braces that
> would lead to an ambiguity in relation to this.
[snip]
Bob, we are basically in agreement.
I interpreted {} braces to mean a 3D point or vector.
I now understand that you wanted to use it as a generic triple to define
you crystal size. I had not thought of it that way ... and from my naive
perspective it still seems confusing to me. But if that is the way that
crystallographers think about it then I am not one to question it.
Miguel
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers