πŸ’¬ Reply by AVincentInSpace

2024-11-21 πŸ”„ programmerhumor ┃ RE: dev_null

The second one isn’t valid syntax in any programming language I’m familiar with. What does it do?

AVincentInSpace

dev_null

πŸ”„ programmerhumor

πŸ’¬ Replies

2024-11-21 dev_null ┃ 1πŸ’¬

It’s a shorthand for writing this:
[…]
variable = if (input != null) input else default
[…]

────

View parent post

View first post in thread

View thread

────

πŸ“‘ Local feed

πŸ•οΈ Communities

πŸ”₯ Hashtags

πŸ”Ž Search posts

πŸ”‘ Sign in

πŸ“Š Status

πŸ›Ÿ Help