Comment

Comment by RadioactiveMan

If you're working with multiple symbols, such as (), {}, and [], you'd want to use a stack. Closing a child ( before its parent { would be an error.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton