From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8143b93889fe9472 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.72.7 with SMTP id z7mr1451130pau.15.1359689894366; Thu, 31 Jan 2013 19:38:14 -0800 (PST) Path: 6ni28738pbd.1!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!news.snarked.org!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Ada standard and maximum line lengths Date: Tue, 29 Jan 2013 14:37:43 +0200 Organization: Tidorum Ltd Message-ID: References: <8dfcf819-e1d0-4578-a795-a4bf724b5014@googlegroups.com> <5107b329$0$6556$9b4e6d93@newsspool4.arcor-online.net> Mime-Version: 1.0 X-Trace: individual.net pWZe888MBk+NwfmjnYJUmALjVNJdxwAaUVx1ufIy1rYElg8DxGutXwrTvrC4pAsFJX Cancel-Lock: sha1:3ClLy1yClO4khH2T2+W3K5HU8Ro= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2013-01-29T14:37:43+02:00 List-Id: On 13-01-29 14:31 , Niklas Holsti wrote: > On 13-01-29 13:31 , Georg Bauhaus wrote: >> On 29.01.13 11:25, Niklas Holsti wrote: >>> 200 characters is ok as a max line >>> length. 200 for an identifier is overkill, IMO. >> >> When the meaning of "meaning" is defined by a programming >> environment, naming capabilities may need to tackle names that the >> environment imposes on the source. The names may exist for, and be >> shaped by, hysterical raisins. For example, the following is listed >> as a symbol from the text section of a standard C++ library: >> >> __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6insertIPKwEENS_9enable_ifIXsrNS_21__is_forward_iteratorIT_EE5valueENS_11__wrap_iterIPwEEE4typeENSD_IS8_EESB_SB_ > > As you well know, that is a compiler-generated mangled "symbol", not a > user-written identifier. One more point: even if you want to link Ada code to this C++ library, that long symbol would be a string in a pragma, not an Ada identifier. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .