Programming, but make it Gen Z
14 hours ago
- #programming
- #compiler
- #GenZ
- Cursed is a compiled programming language that replaces traditional keywords with Gen Z slang while aiming for near-C performance.
- Keywords include 'sus' for variables, 'slay' for functions, 'bestie' for loops, and 'periodt' for while loops.
- The language includes slang for control structures like 'vibe_check' (switch), 'mood' (case), and 'basic' (default).
- Data types are also slang-based: 'normie' (int), 'tea' (string), 'drip' (float), and 'lit' (bool).
- Comments are written as 'fr fr' (line comment) or 'no cap...on god' (block comment).
- The project has no formal roadmap; success is defined by appearing in the Stack Overflow survey as 'most loved' or 'most hated'.
- Developers can contribute by forking the GitHub repo, studying specs, and submitting 'cursed' code via pull requests.
- Example code includes a FizzBuzz implementation using slang keywords like 'yeet', 'vibez.spill', and 'bestie'.