Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
commenting

6 Articles
{
,

}
Direct link to the article Useful and Useless Code Comments
commenting

Useful and Useless Code Comments

Direct Link

Jim Nielsen:

If somebody says a comment isn’t adding any value, I would ask: to whom?

Personally, I’ve never liked the advice that writing obvious comments is bad practice—probably because I write obvious comments all the time.

Jim showed …

Avatar of Chris Coyier
Shared by Chris Coyier on Jun 16, 2021
Direct link to the article Rethinking Code Comments
commenting

Rethinking Code Comments

Justin Duke asks if treating code comments like footnotes could help us understand the code in a file better. In his mockup, all the comments are hidden by default and require a click to reveal:…

Avatar of Robin Rendle
Robin Rendle on Apr 2, 2020
Direct link to the article Render Snarky Comments in Comic Sans
commenting typography

Render Snarky Comments in Comic Sans

Direct Link

Hilarious idea by Zach Leatherman. To test if a comment is “snarky” or not, there is an npm package up to the task.

On this site, we generally just delete snarky comments, but I still run a WordPress plugin that …

Avatar of Chris Coyier
Shared by Chris Coyier on Jun 24, 2019
Direct link to the article The Art of Comments
commenting

The Art of Comments

I believe commenting code is important. Most of all, I believe commenting is misunderstood. I tweeted out the other day that “I hear conflicting opinions on whether or not you should write comments. But I get thank you’s from junior …

Avatar of Sarah Drasner
Sarah Drasner on Oct 16, 2017
api commenting google perspective WordPress

Improving Conversations using the Perspective API

I recently came across an article by Rory Cellan-Jones about a new technology from Jigsaw, a development group at Google focused on making people safer online through technology. At the time they’d just released the first alpha version of …

Avatar of Daniel James
Daniel James on Aug 11, 2017
cloudcannon CMS commenting firebase jekyll

Building a Jekyll Site – Part 3 of 3: Creating a Firebase-Backed Commenting System

The following is a guest post by Mike Neumegen from CloudCannon. This final post is about adding some functionality to a Jekyll site that isn’t possible: comments. That’s because Jekyll has no backend component in which to save comments. …

Avatar of Mike Neumegen
Mike Neumegen on Feb 11, 2016 (Updated on Sep 7, 2017)

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Mastodon
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top