General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
guruware
Kantan Coding
comments
Comments by "guruware" (@guruware8612) on "Kantan Coding" channel.
Previous
1
Next
...
All
If you have to explain what "Fatalf" does you have exactly that naming problem you talked about. "Fatalf" - tells nothing what it does - and why the ending 'f' ? A name like "LogErrorAndExit" would do the trick. Using exit() is very questionable, but that depends on the language used.
122
@gabegabriel9288 Now what does the "f" stand for, or do we need to dig into 1000+ pages of manuals to figure that out, it about naming and to know what a function does? Fatal is ok to know the what, but the 'f' tells nutin'. 'f' means exit ? what the "F"? Do we want to have better languages, or just more cryptic ones? As said above, in c the printf says print Formated, there nobody questions the 'f' or has any doubt about it. But i guess Go is just cool, so lets do some crazy stuff for coders to produce bugs.
1
Previous
1
Next
...
All