Function overloading in C
gist.github.com
Function overloading in C
1–10 of 57 posts
Re: Function overloading in C
#2Re: Function overloading in C
#3Obviously, Visual Studio doesn't work (they have almost complete support for C99 though, so maybe in a few years they will include C11 support).
Re: Function overloading in C
#4Re: Function overloading in C
#5http://stackoverflow.com/questions/479207/function-overloadi...
Re: Function overloading in C
#6Re: Function overloading in C
#7Analogy: imagine some people aren't happy with the new Fortran. Fortran 66 is the best language ever, and the only flavor of Fortran anyone should use ... except: they like a couple of features from Fortran 2008 and Fortran 90.
So, they whip out the Fortran 66 standard and fork it to create "Fortran Classic" where they just adopt what they like from mainstream Fortran --- and in a totally incompatible way!
And that's basically what C is doing now.
Re: Function overloading in C
#8This whole _Generic stuff is a mistake. There is already a descendant dialect of C which has nice overloading, namely C++. Analogy: imagine some people aren't happy with the new Fortran. Fortran 66 is the best language ever, and the only flavor of Fortran anyone should use ... except: they like a couple of features from Fortran 2008 and Fortran 90. So, they whip out the Fortran 66 standard and fork it to create "Fort…
Counterargument that destroys your entire premise: C's revisions( note that revisions are not flavors or separate languages ) don't fork.
Re: Function overloading in C
#9This whole _Generic stuff is a mistake. There is already a descendant dialect of C which has nice overloading, namely C++. Analogy: imagine some people aren't happy with the new Fortran. Fortran 66 is the best language ever, and the only flavor of Fortran anyone should use ... except: they like a couple of features from Fortran 2008 and Fortran 90. So, they whip out the Fortran 66 standard and fork it to create "Fort…
Re: Function overloading in C
#10I don't program in C, but I can understand most of this code; However, I'm not sure where the "function overloading" part comes in or why it's significant. Could someone explain?