<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects-cantina-fxhzkvmz4" -->

---
title: Using the EXCEPTION Comment to Help Maintain Mature,...
description: A technique called the EXCEPTION comment is proposed for maintaining large, mature Sass codebases. Similar to TODO or FIXME markers, it flags spots where Sass...
canonical: https://daily.dev/posts/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects-cantina-fxhzkvmz4
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Using the EXCEPTION Comment to Help Maintain Mature, Large-scale Sass Projects. — Cantina | daily.dev
og:description: A technique called the EXCEPTION comment is proposed for maintaining large, mature Sass codebases. Similar to TODO or FIXME markers, it flags spots where Sass...
og:url: https://daily.dev/posts/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects-cantina-fxhzkvmz4
og:image: https://api.daily.dev/og/posts/FxHZKVmZ4.png
og:image:alt: Using the EXCEPTION Comment to Help Maintain Mature, Large-scale Sass Projects. — Cantina
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Using the EXCEPTION Comment to Help Maintain Mature, Large-scale Sass Projects. — Cantina

**[Eric Bailey](https://daily.dev/sources/ericwbailey)** · 5 min read · 0 upvotes · 0 comments

## Summary

A technique called the EXCEPTION comment is proposed for maintaining large, mature Sass codebases. Similar to TODO or FIXME markers, it flags spots where Sass logic (variables, mixins, extends) is being overridden or undone, signaling a potential need for refactoring. The approach is framed as complementary to the shame.scss pattern: shame.scss centralizes larger intentional hacks, while EXCEPTION reactively logs smaller, per-line logic gaps discovered during development. The piece suggests standardizing the comment format across a team to enable searchability and tallying, and speculates that build tooling could eventually warn when EXCEPTION counts exceed a threshold.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://cantina.co/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects>

## Questions this post answers

### What is the difference between an EXCEPTION comment and a shame.scss file in Sass projects?

An EXCEPTION comment flags per-line deficiencies reactively, at the moment a developer overrides or undoes existing Sass logic, while shame.scss is intent-driven and centralizes larger, more deliberate hotfixes. The two can be used together: shame.scss holds bigger hacks, and EXCEPTION comments log smaller tweaks that mostly work but could be revisited during a periodic cleanup or maintenance sprint.

_daily.dev surfaces conventions like these for teams refining their Sass and CSS maintenance practices._

## Similar posts on daily.dev

- [Safegaurd Your Comments](https://daily.dev/posts/safegaurd-your-comments-aowezkbqj) · The Daily WTF · 0 upvotes · 0 comments
- [Clean Code Is Not the Same as Clear Code: Comments Were Never the Problem](https://daily.dev/posts/clean-code-is-not-the-same-as-clear-code-comments-were-never-the-problem-6lmauekpv) · DEV · 75 upvotes · 14 comments
- [Ruby Multiline Comments Explained with Examples](https://daily.dev/posts/ruby-multiline-comments-explained-with-examples-szdbqw4wl) · RUBYLAND · 0 upvotes · 0 comments
- [Thoughts on Native CSS Mixins – Frontend Masters Blog](https://daily.dev/posts/thoughts-on-native-css-mixins-frontend-masters-blog-wvt8d5ikq) · Frontend Masters · 11 upvotes · 0 comments
- [Sass: The Road to Dart Sass 2](https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf) · Sass · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#css](https://daily.dev/tags/css)

[View this post on daily.dev](https://daily.dev/posts/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects-cantina-fxhzkvmz4)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Using the EXCEPTION Comment to Help Maintain Mature, Large-scale Sass Projects. — Cantina","url":"https://daily.dev/posts/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects-cantina-fxhzkvmz4","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects-cantina-fxhzkvmz4"},"datePublished":"2026-09-20T07:43:58.531Z","dateModified":"2026-09-20T07:45:19.058Z","description":"A technique called the EXCEPTION comment is proposed for maintaining large, mature Sass codebases. Similar to TODO or FIXME markers, it flags spots where Sass...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9d1f682f6cc1e4636b46ffac7713b82f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9d1f682f6cc1e4636b46ffac7713b82f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Eric Bailey","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Eric Bailey","logo":"https://media.daily.dev/image/upload/s--r1vwe6z1--/f_auto,q_auto/v1789890198/logos/ericwbailey?_a=BAMAMicg0","url":"https://daily.dev/sources/ericwbailey"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects-cantina-fxhzkvmz4","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,css","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Eric Bailey","item":"https://daily.dev/sources/ericwbailey"},{"@type":"ListItem","position":3,"name":"Using the EXCEPTION Comment to Help Maintain Mature, Large-scale Sass Projects. — Cantina"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/using-the-exception-comment-to-help-maintain-mature-large-scale-sass-projects-cantina-fxhzkvmz4#faq","mainEntity":[{"@type":"Question","name":"What is the difference between an EXCEPTION comment and a shame.scss file in Sass projects?","acceptedAnswer":{"@type":"Answer","text":"An EXCEPTION comment flags per-line deficiencies reactively, at the moment a developer overrides or undoes existing Sass logic, while shame.scss is intent-driven and centralizes larger, more deliberate hotfixes. The two can be used together: shame.scss holds bigger hacks, and EXCEPTION comments log smaller tweaks that mostly work but could be revisited during a periodic cleanup or maintenance sprint. daily.dev surfaces conventions like these for teams refining their Sass and CSS maintenance practices."}}]}
```

