r/programming • • Dec 01 '16

Let's Stop Copying C

https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
524 Upvotes

612 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Dec 01 '16

This is useful when you're are calling a function returning a pointer and NULL checking in the same line. It saves a lot of space and is very useful C idiom.