Reputation
428
Top tag
Next privilege 500 Rep.
Access review queues
Badges
5 15
Newest
 Informed
Impact
~5k people reached

Oct
26
comment Why don't more languages support recursive/nested comments?
@Steven, question updated (not sure about composition, used Nesting)
Oct
26
revised Why don't more languages support recursive/nested comments?
added 7 characters in body; edited title
Oct
26
comment Why don't more languages support recursive/nested comments?
I don't think i'm alone in wanting recursive comments, but you're right, i'm probably in too small a minority.
Oct
26
comment Why don't more languages support recursive/nested comments?
I argue those tricky cases don't need to be catered for (in my example i don't see a difference between understanding what happens when we put a ****/ within a string within a comment (as we have to currently) and understanding what happens when we put a /**** in a string either)
Oct
26
comment Why don't more languages support recursive/nested comments?
Yes, i comment code with /* */, sometimes (tempoarily) i want to comment a large chunk with that within it. I don't want to have to rely on the IDE to do this (which would be awkward when uncommenting, as it should leaving the original comment block there).
Oct
26
asked Why don't more languages support recursive/nested comments?
Oct
20
comment How to allow filtering Films in my app intuitively? (GUI design)
FYI: User Experience SE (Beta)
Aug
23
awarded  Autobiographer
Aug
3
awarded  Scholar
Aug
3
accepted Name for this pattern?
Aug
3
awarded  Citizen Patrol
Aug
3
awarded  Student
Aug
3
comment Name for this pattern?
That's exactly what this is. Is there a pattern name, or is it just a read/write lock?
Aug
3
comment Name for this pattern?
Certain operations are allowed on the resource concurrently (that would be ran between a call to begin, and a call to end), however another operation must only get ran when no other operations are being ran (that's what will run when the counter is zero).
Aug
3
comment Name for this pattern?
Edited with the link to basic idea.
Aug
3
awarded  Editor
Aug
3
revised Name for this pattern?
added 137 characters in body
Aug
3
comment Name for this pattern?
My understanding about semaphores is that they allow multiple (a known number of) threads to access a resource, but i want to allow other threads calling begin and end to increase/decrease a counter that gets unlocked if it's zero.
Aug
3
asked Name for this pattern?
Jun
13
awarded  Supporter