2

What are the thoughts on emojis in comments - especially CSS. I feel like they could be helpful but I would be concerned if it caused IDEs to not work or anything like that.

Comments
  • 1
    Kiss. Why introduce smth you could live without? I always prefer simplicity and bare minimum of tools/tech involved
  • 1
  • 1
    You mean, like, the code comments? If you use these as markers (real indicators), I think they'd be of assistance for the reader. But for everything else, it's garbage in code.

    One rather annoying problem with emoji implementations is that they tend to break an alignment of characters after them in code editors, since they disobey monospace rules. It seems even worse if you try to align them vertically, because of the varying width and apparent randomness in horizontal areas. I remember having this issue while doing lists in markdown document - they just keep sullying my precious text, as well as navigation across different editors.

    I think, as it stands now, they have better place in the end of paragraphs and in communication outside of codebase.
  • 0
    @netikras because it’s code commenting, not actual code
  • 1
    @phat-lasagna I know. Still don't see the point/benefit/need
  • 0
    @12bitfloat I don't get it
  • 0
    I need to see one example where an emoji actually helps. I just can't picture it.
  • 2
    @netikras yeah I guess I figure it would just be a visual marker that is more discernible. For example you could label:
    // 📱Mobile Styles
    // 📆 Date component
    // 🛠 Resets
    etc…

    It might not provide much benefit but 🤷‍♂️
  • 2
    @phat-lasagna imo it will bring more confusion than clarity....

    + ypuou will then depend on tools supporting emojis. Idk if GL editor/viewer supports them. See? Trouble already
  • 3
    @phat-lasagna how are a hammer and a wrench related to resets? That's more confusing than anything 🚽
  • 0
    What exactly is the problem you're trying to solve with this approach?
  • 2
    @netikras I concede. No emojis for me.
Add Comment