OK? is a modern, dynamically typed programming language created with a strong opinion: to remove needless complexity and help programmers write code that matters. It eliminates many common language features (e.g., ternary operators) in favour of a consistent, minimal syntax: for example it uses only switch statements for control flow and has only one comparison operator. OK? also treats errors as plain values (strings/arrays) and removes inheritance in favour of what it calls “evolution over composition.” The language emphasises readability and pushing logic out into functions so cases remain simple. It includes concurrency via a map function that executes callbacks in parallel. The project is illustrative of Duffield’s vision: code should feel “magical to write” by removing what is unnecessary.

Features

  • Single control-flow construct: switch statements (no if or ternary)
  • Only one comparison operator (>=) to reduce cognitive load
  • Errors are just values (strings/arrays), no special exception mechanism
  • Concurrency built-in via a map function that executes callbacks in parallel
  • No classes, all fields private, no constructors: favouring evolution over composition
  • Dynamically typed and minimal syntax aimed at clarity and readability

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow OK

OK Web Site

Other Useful Business Software
Simple, Secure Domain Registration Icon
Simple, Secure Domain Registration

Get your domain at wholesale price. Cloudflare offers simple, secure registration with no markups, plus free DNS, CDN, and SSL integration.

Register or renew your domain and pay only what we pay. No markups, hidden fees, or surprise add-ons. Choose from over 400 TLDs (.com, .ai, .dev). Every domain is integrated with Cloudflare's industry-leading DNS, CDN, and free SSL to make your site faster and more secure. Simple, secure, at-cost domain registration.
Sign up for free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OK!

Additional Project Details

Programming Language

Go

Related Categories

Go Programming Languages

Registered

2025-10-27