Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by leecommamichael

15 hours ago

Interesting. The Odin Programming Language has some primitives that are pretty similar to Absail's macros.

For control-flow we've got the postfix operators: `or_return`, `or_break`, `or_continue` For alternative values we've got postfix `or_else`.

Considering how much I enjoy Odin I should probably entertain using Absail for my next C++ project.

0 comments

leecommamichael

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities