All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Security
Security
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Groovy default params to avoid one-argument methods being called without params

Recently, I saw an interesting tweet , mentioning a JavaScript trick using default parameters to make a parameter mandatory. In a language like Apache Groovy , when statically compiled, you’d get a…

Read the full article
10y agoen

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.