Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

OK

< >

OK is a programming language created in 2021 by Jesse Duffield.

#1026on PLDB 3Years Old
Download source code:
git clone https://github.com/jesseduffield/OK
REPLSource Code

Welcome to the future of programming languages: OK?


Example from the web:
let divide = fn(a, b) { return switch b { case 0: [NO!, "cannot divide by zero"]; default: [a / b, ""]; }; }; result = divide(5, 0) switch result[1] { case "": puts(result[0]) default: puts(result[1]) // prints "cannot divide by zero" }
View source
- Build the next great programming language About Search Keywords Livestreams Labs Resources Acknowledgements Part of the World Wide Scroll