143
TheOct0
6y

I really think DevRant should change "Comment" buttons to "//" or "/**/", or something in that fashion. That would fit well with the increments and decrements :)

Comments
  • 16
    I don't think all people could understand this tho
  • 21
    @devTea /* Comment */ maybe?
  • 15
    @squid Hell, even <!-- Comment --> would make sense :)
  • 3
    That's just bad UX.
  • 36
    If 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.
  • 6
    @Root er what’s a com..mm..en..ty? 🤪

    If you did // or /**/ what do we do about the VB devs who still use ‘
  • 8
    And while we're at it they should make the new post button a +=
  • 6
    @Alice poor python devs lol
  • 5
    I 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.
  • 3
    @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
  • 9
    It could be a setting so that anyone can select it's preferred comment style :
    //
    /* */
    #
    <!-- -->
    --
    %
    '
  • 10
    @Root if they can't get /* comment */ they shouldn't be here.
  • 6
    The comment style should be changeable in settings.
  • 7
    @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)
  • 5
    Here is a feature request for it. Feel free to add on.

    https://github.com/devRant/devRant/...
  • 3
    I didn't think this small of an idea would gain steam this quickly ^^
  • 6
    @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 🤓
  • 2
    @Hakash ehhh.. need = nerd in previous comment 😒
  • 2
    A blank button would be language independent
  • 2
    @Alice In our hood we do += 1 instead
  • 1
    Think about the dramatic surge in commented code if such a feature gets implemented
  • 0
    @Root The users here rarely fail to amuse me.
  • 1
    How about a geek mode that can be toggled much like dark mode
Add Comment