---
title: "Waiting for October"
url: https://daily.dev/posts/waiting-for-october-a97midejz
source_url: https://thedailywtf.com/articles/waiting-for-october
type: article
source: "The Daily WTF"
published: 2026-02-17T13:35:27.087Z
updated: 2026-02-17T13:35:45.273Z
reading_time: 2
upvotes: 0
comments: 0
language: 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.

# Waiting for October

**[The Daily WTF](https://daily.dev/sources/thedailywtf)** · 2 min read · 0 upvotes · 0 comments

## Summary

A poorly designed enum mixes months, days of the week, and a 'PublicHoliday' entry into a single 'Calendar' type, sorted alphabetically rather than logically. The enum assigns arbitrary numeric values (April=0, Friday=4, October=12, etc.) creating a confusing data structure that conflates unrelated calendar concepts. This represents a common anti-pattern where developers incorrectly group related-but-distinct concepts into one structure.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thedailywtf.com/articles/waiting-for-october>

## Similar posts on daily.dev

- [A Date Next Month](https://daily.dev/posts/a-date-next-month-qdnycrzrl) · The Daily WTF · 0 upvotes · 0 comments
- [Mini-post: Dates That Don't Exist](https://daily.dev/posts/mini-post-dates-that-don-t-exist-8rd0cddmt) · Hacker News · 0 upvotes · 0 comments

---

[View this post on daily.dev](https://daily.dev/posts/waiting-for-october-a97midejz)
