Fandom

Planet JFX

Expression Language

118pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Expression language Edit

  • In its most basic sense, making JavaFX an expression language means removing the distinction between statements and expressions -- statements (including blocks) have value (which may be void).
  • This simplifies the language, allowing, for example, one kind of if-statement, one kind of function definition, and allowing blocks within an expression without requiring anonymous functions.
  • The more controversial aspects of expression languages involve confusing syntactic constructs -- which can be grammatically disallowed.
  • The consensus was to make JavaFX an expression language, but not at the expense of clarity.


Back to OpenJFX Compiler

Also on Fandom

Random Wiki