Comment Syntax

Thomas Davie tatd2 at kent.ac.uk
Mon Jan 30 09:32:11 EST 2006


On 30 Jan 2006, at 14:28, Neil Mitchell wrote:

>>> Another argument in favour of this is that most editors with syntax
>>> hilighting will show --> as a comment, which again increases the
>>> confusion factor.
>>
>> I would rather argue that since we have editors with syntax
>> highlighting, this isn't a big problem. The editor will tell you (if
>> the highlighting is implemented correctly) that --> does not start a
>> comment. Rather than changing the language we should fix the
>> highlighting modes for the editors in question.
>
> This is rather hard, unless your editor is actually a thinly disguised
> programming language. Certainly for my editor of choice (TextPad) this
> cannot be done easily - and isn't needed for most other languages.

Ditto the SubEthaEdit syntax highlighting mode - I guess most people  
have got used to editors being thinly disguised operating systems  
these days (not looking at emacs or vim here).

Bob


More information about the Haskell-prime mailing list