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 creata

2 months ago

Lua, Haskell, ML, plenty of other languages where one-argument functions don't need parentheses. I think it makes a lot of code more readable.

4 comments

creata

Reply

abenga  2 months ago

All not-exactly-popular languages.

  • creata  2 months ago

    Maybe relative to juggernauts like C or Java. But Lua is pretty widely used.

    • Defletter  2 months ago

      Kotlin too

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities