View Single Post
Old 02-25-2015, 02:28 AM   #20
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,854
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
Quote:
Originally Posted by ApK View Post
It's good you didn't. Much better coding practice to state your return value explicitly.

Besides, wasn't C's int return value undefined? At least back then?

OK, as you were.
It may have been undefined at the time -- that was many years ago...

As for explicit return... if it's defined by the standard, that's quite explicit in my mind. :-)
twowheels is offline   Reply With Quote