Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Block comments? #6

joakim started this conversation in Ideas
Discussion options

Suggestion

(-- block comment --)

Comment out a block of code:

(--
 if answer = 42
 print answer
--)

Re-enable a previously commented-out block:

--(--
 if answer = 42
 print answer
--)

Comment out part of a line of code:

print (foo, (-- bar --), baz)

Comment out a tuple's values (for some reason):

print(--foo, bar, baz--)

Some think it's a bad idea.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /