Talk:Ada (programming language): Difference between revisions

Content deleted Content added
Notification of altered sources needing review #IABot (v1.5beta)
Bohan (talk | contribs)
Line 50:
 
Cheers.—[[User:InternetArchiveBot|'''<span style="color:darkgrey;font-family:monospace">InternetArchiveBot</span>''']] <span style="color:green;font-family:Rockwell">([[User talk:InternetArchiveBot|Report bug]])</span> 05:23, 26 July 2017 (UTC)
 
== Comments and end of line ==
 
"''Comments stop at end of line, so there is no danger of unclosed comments accidentally voiding whole sections of source code.''"
 
This is actually more dangerous than explicit closing when you use UTF-8 encoding. For example, if the last character on the comment line is a 'é' (e with acute accent), and if the source parser is miss-configured and thinks the encoding is a one byte encoding (e.g. ISO-8859-1) rather than UTF-8, then the compiler won't see the end of line and treat next line of code following the comment as a continuation of the comment. So one line of code won't be executed!
[[User:Bohan|Bohan]] ([[User talk:Bohan|talk]]) 15:32, 21 January 2018 (UTC)