I have been reading the API documents and came across the assert() function. I read what it does and I immediately asked myself: "Isn't this just a shortened if + else statement?"
Any help will be appreciated!
I have been reading the API documents and came across the assert() function. I read what it does and I immediately asked myself: "Isn't this just a shortened if + else statement?"
Any help will be appreciated!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Not really, I use them for other purposes, but I don't think people use it for the same purposes as me.