a few things I gotta say about this:Infinite Chalupas wrote: Just another cool thing to bring to the table, a lot of people don't know this but you can declare functions like this in C:
Code: Select all
int main(argc, argv) int argc; char *argv[]; { return 0; }
- it's ugly and highly unreadable
- normally, having more than one way to do standard stuff (like declaring a function) is something you want to avoid in your language, it's best to keep the one that better suits your language's vision
- just because C (or any other language) can do something, doesn't mean you have to do it too, unless it's a feature your language lacks and you truly want to have. This brings me back to the other two points: if it doesn't fit into your language's vision or it looks ugly, don't do it. Otherwise in the end you'll have an overly convoluted language that would mess developers up.
Advertising