Gosu (programming language): Difference between revisions

Content deleted Content added
Removed usage references besides Guidewire products. One link was dead, the other leads to a dead project. There are no others, no one wants to use it if they can avoid it (I know because I have to use it).
Tag: references removed
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
Line 47:
In addition to standard class types Gosu supports enums, interfaces, structures, and annotations.
 
Program files facilitate Gosu as a scripting language. For example, Gosu's Hello, World! is a simple one-line program:<sourcesyntaxhighlight lang="gosu">
print("Hello, World!")
</syntaxhighlight>
</source>
 
Gosu classes are also executable a la Java:<syntaxhighlight lang="gosu">
Line 70:
"Echo".print()
</syntaxhighlight>The combination of [[Closure (computer programming)|closures]] and enhancements provide a powerful way of coding with Collections. The overhead of Java streams is unnecessary with Gosu:
<sourcesyntaxhighlight lang="gosu">
var list = {1, 2, 3}
var result = list.where(\ elem -> elem >= 2)
print(result)
</syntaxhighlight>
</source>
 
==Uses==