Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root797776yIf they can't understand that /* Comment */ actually says "Comment," they're a brainless idiot and will likely forget how to breathe at one point and suffocate -- much to the benefit of everyone around them.
-
C0D4669026y@Root er what’s a com..mm..en..ty? 🤪
If you did // or /**/ what do we do about the VB devs who still use ‘ -
TheOct039246yI get the fact that people wouldn't understand it, but I'm still really into the idea that it could be really interesting :)
We just have to find a way that will please everybody, or don't do anything at all.
About the language differences, (as far as I know) not every language uses ++ and -- as shortcuts (please correct me if I'm wrong, I don't know all of them), so they'd have to make a choice between #, /**/, or //.
Just throwing it out there, but how about "// @Comment" ? That could very well work in my opinion. -
inaba45896y@peacWhis I think if you're adding a rant to the array of rants then += would make sense.
The edit button should just be a link to which you should should send an HTTP PATCH request :v -
It could be a setting so that anyone can select it's preferred comment style :
//
/* */
#
<!-- -->
--
%
' -
inaba45896y@oscarascal A combobox when you sign up that is also located in the settings that says "How do you comment your code?" (with \\ as the first option)
-
-
@inaba Or rather "What is your preferred language?"
Based on the language you get the correct comment style, increment style and any other language specific need jokes we can add to a UI 🤓 -
Think about the dramatic surge in commented code if such a feature gets implemented
Related Rants
I really think DevRant should change "Comment" buttons to "//" or "/**/", or something in that fashion. That would fit well with the increments and decrements :)
devrant
suggestion
improvement