An Entity of Type: work, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

Uniform Function Call Syntax (UFCS) or Uniform Calling Syntax (UCS) or sometimes Universal Function Call Syntax is a programming language feature in D and Nim that allows any function to be called using the syntax for method calls (as in object-oriented programming), by using the as the first parameter, and the given arguments as the remaining parameters. UFCS is particularly useful when function calls are chained (behaving similar to pipes, or the various dedicated operators available in functional languages for passing values through a series of expressions). It allows free-functions to fill a role similar to extension methods in some other languages. Another benefit of the method call syntax is use with "" in IDEs, which use type information to show a list of available functions, depen

Property Value
dbo:abstract
  • Uniform Function Call Syntax (UFCS) or Uniform Calling Syntax (UCS) or sometimes Universal Function Call Syntax is a programming language feature in D and Nim that allows any function to be called using the syntax for method calls (as in object-oriented programming), by using the as the first parameter, and the given arguments as the remaining parameters. UFCS is particularly useful when function calls are chained (behaving similar to pipes, or the various dedicated operators available in functional languages for passing values through a series of expressions). It allows free-functions to fill a role similar to extension methods in some other languages. Another benefit of the method call syntax is use with "" in IDEs, which use type information to show a list of available functions, dependent on the context. When the programmer starts with an argument, the set of potentially applicable functions is greatly narrowed down, aiding discoverability. (en)
  • Uniform Function Call Syntax( UFCS )またはUniform Calling Syntax( UCS )、または場合によってはUniversal Function Call Syntaxは、 D言語およびNimのプログラミング言語の機能であり、オブジェクト指向プログラミング言語のようにメソッド呼び出しの構文を使用して任意の関数を呼び出すことができます。 関数の第一引数をレシーバーとして使用し、残りの引数をメソッドの引数として使用します。 UFCSは、関数呼び出しがチェインされている場合に特に役立ちます (パイプ、または一連の式を介して値を渡すために関数型言語で使用できるさまざまな専用演算子に似ています)。これにより、フリー関数は、他のいくつかの言語の拡張メソッドと同様の役割を果たすことができます。メソッド呼び出し構文のもう1つの利点は、 IDEの「ドットオートコンプリート」で使用することです。これは、タイプ情報を使用して、コンテキストに応じて使用可能な関数のリストを表示します。プログラマーが引数を入力すると、潜在的に適用可能な関数のセットが大幅に絞り込まれ 、発見可能性が向上します。 (ja)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 44101540 (xsd:integer)
dbo:wikiPageLength
  • 5600 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1087022407 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • Uniform Function Call Syntax( UFCS )またはUniform Calling Syntax( UCS )、または場合によってはUniversal Function Call Syntaxは、 D言語およびNimのプログラミング言語の機能であり、オブジェクト指向プログラミング言語のようにメソッド呼び出しの構文を使用して任意の関数を呼び出すことができます。 関数の第一引数をレシーバーとして使用し、残りの引数をメソッドの引数として使用します。 UFCSは、関数呼び出しがチェインされている場合に特に役立ちます (パイプ、または一連の式を介して値を渡すために関数型言語で使用できるさまざまな専用演算子に似ています)。これにより、フリー関数は、他のいくつかの言語の拡張メソッドと同様の役割を果たすことができます。メソッド呼び出し構文のもう1つの利点は、 IDEの「ドットオートコンプリート」で使用することです。これは、タイプ情報を使用して、コンテキストに応じて使用可能な関数のリストを表示します。プログラマーが引数を入力すると、潜在的に適用可能な関数のセットが大幅に絞り込まれ 、発見可能性が向上します。 (ja)
  • Uniform Function Call Syntax (UFCS) or Uniform Calling Syntax (UCS) or sometimes Universal Function Call Syntax is a programming language feature in D and Nim that allows any function to be called using the syntax for method calls (as in object-oriented programming), by using the as the first parameter, and the given arguments as the remaining parameters. UFCS is particularly useful when function calls are chained (behaving similar to pipes, or the various dedicated operators available in functional languages for passing values through a series of expressions). It allows free-functions to fill a role similar to extension methods in some other languages. Another benefit of the method call syntax is use with "" in IDEs, which use type information to show a list of available functions, depen (en)
rdfs:label
  • Uniform Function Call Syntax (ja)
  • Uniform Function Call Syntax (en)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License