Print

Print


On 3/6/14, 19:02 , Serge Monkewitz wrote:
> On Mar 6, 2014, at 5:30 PM, Kian-Tat Lim <[log in to unmask]> wrote:
> 
>>> The lat-lon ordering seems to prevail online ("latitude longitude"
>>> vs "longitude latitude" in google-> 16M vs 470k).
>>
>> 	Perhaps because English says "north, south, east, west" for the
>> cardinal directions.  Chinese uses "east, south, west, north".  The
>> Google hits for jingdu weidu (longitude latitude) vs. weidu jingdu
>> (latitude longitude) in Simplified Chinese characters favor the former.
> 
> If we really aren't allowed to use 经度 and and 纬度 as C++ identifiers,
> then my vote goes to  lon, lat.

I couldn't stop myself from trying:

=======
mjuric@gamont:~/test$ cat x.cpp
#include <iostream>

int main()
{
  const char *经度 = "Hello";
  const char *纬度 = "World";

  std::cout << 经度 << " " << 纬度 << std::endl;

  return 0;
}
mjuric@gamont:~/test$ clang++ -v
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
mjuric@gamont:~/test$ clang++ x.cpp
mjuric@gamont:~/test$ ./a.out
Hello World
=======

I'm amazed :).

(but, no, we're not allowed to use it :)).
-- 
Mario Juric,
Data Mgmt. Project Scientist, Large Synoptic Survey Telescope
Web : http://research.majuric.org     Phone : +1 617 744 9003

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1