(Ln(x))3

The everyday blog of Richard Bartle.

RSS feeds: v0.91; v1.0 (RDF); v2.0; Atom.

Previous entry. Next entry.


12:26pm on Sunday, 9th August, 2015:

Comment

Comment

Here's a question for the programmers among you.

Suppose you have a language with a multi-line comment system, so anything between /* and */ inclusive is ignored. You might use it like this:

/*
    printf("I found ###")
*/

What should happen in the following example:

/*
    printf("I found */")
*/

I don't mean what does your favourite language do, I mean what do you think the above should do?




Latest entries.

Archived entries.

About this blog.

Copyright © 2015 Richard Bartle (richard@mud.co.uk).