Uniform function call syntax: Difference between revisions

Content deleted Content added
m I added a link to Herb Sutter's Wikipedia article so those unfamiliar with him may understand, with greater ease, the significance of him advocating the syntax's standardization.
BG19bot (talk | contribs)
m WP:CHECKWIKI error fix for #61. Punctuation goes before References. Do general fixes if a problem exists. -
Line 1:
'''Uniform Function Call Syntax''' (UFCS) is a programming language feature in [[D (programming language)|D]] that allows any function to be called on an object (as in [[Object-oriented programming]]) as if the function were a method of the object's class.<ref>http://dlang.org/function.html#pseudo-member</ref> UFCS is particularly useful when function calls are chained.,<ref>http://ddili.org/ders/d.en/ufcs.html</ref>, behaving similar to pipes, or various dedicated operators available in functional languages for passing values through an expression. It has been proposed for addition to C++ by [[Bjarne Stroustrup]] and [[Herb Sutter]]. It allows free-functions to fills a role similar to [[extension method|extension methods]]s in some other languages. Another benefit of the method call syntax is use with 'dot-autocomplete' in IDEs, which use type information to show a list of available functions, dependant on the context.
 
== Examples ==
Line 39:
[[Category:Source code]]
[[Category:Subroutines]]
 
[[Category:Articles with example code]]
 
 
{{compu-prog-stub}}