820 reputation
610
bio website
location
age
visits member for 4 years, 2 months
seen Nov 10 at 12:09

Sep
15
awarded  Yearling
Feb
18
comment What are some good ways to represent relationship among three numbers
Designing an API is about "user" experience, so if your API requires relationships between A, B and C as input, then without knowing the meaning of A, B and C your solution sounds like the way to go.
Sep
15
awarded  Yearling
Feb
25
awarded  Caucus
Feb
25
awarded  Constituent
Sep
15
awarded  Yearling
Jan
11
awarded  Enlightened
Sep
16
awarded  Yearling
Aug
29
answered What do you think of opening brace comments in source code?
Aug
25
answered The worst anti-patterns you have came across
Aug
22
awarded  Scholar
Aug
22
accepted Should the syntax for disabling code differ from that of normal comments?
Aug
22
comment Should the syntax for disabling code differ from that of normal comments?
Unfortunately the focus of the replies has been on how not to commit disabled code, not on how silly the term "commenting out" really is. I expected more of a mixture. Accepting this answer as I was asking for an opinion and you have the community backing you up :P
Aug
22
comment Should the syntax for disabling code differ from that of normal comments?
Added "IDE lag" to cons. It occasionally makes it there, and not only by me - it should simply be deleted, I have never seen any of them reused. My "problem" is that we're not disabling code, but "commenting it out". Would the term "commenting out" have existed if a separate syntax was implemented straight away?
Aug
22
revised Should the syntax for disabling code differ from that of normal comments?
added 35 characters in body
Aug
22
comment Should the syntax for disabling code differ from that of normal comments?
So basically: you don't find a separate syntax for disabled code worth a few minutes in a project's lifespan. A valid point, as every minute helps to postpone that feeling of being rushed.
Aug
22
revised Should the syntax for disabling code differ from that of normal comments?
added 132 characters in body
Aug
22
comment Should the syntax for disabling code differ from that of normal comments?
I didn't think the discussion would go this way :) And I don't think adding another token (how many does a modern IDE recognise nowadays?) would result in a poorly responsive editor. If you see it as a potential threat even in the research stage of this "project", would you have an estimate in what the performance loss % would be? Say we add a token and want a colour for it in an IDE.
Aug
22
comment Should the syntax for disabling code differ from that of normal comments?
I am trying to manage my chaos and rush, and I agree totally that's where it all starts. However it currently happens and I'm sure that as soon as I am free from commenting-out code, someone else will take my place. Perhaps I'm just nagging. In the end it's not that big a deal. As for the technical aspects: IDEs could even treat them as regular comments, use a colour, or hide them - many IDEs already support this for other syntax elements.
Aug
22
comment Should the syntax for disabling code differ from that of normal comments?
If the team dedicates to this flavour it would certainly be a good workaround. It's even "on-commit-hook"-able, and if you forget the extra characters for something meant as comment, it would also alert.