Questions tagged [language-features]

A language feature is a distinct aspect of a programming language, such as binding rules, lexical design, or facets of the type system.

618 questions
-7
votes
1 answer

What are the new features in Java 8?

What are the new features in Java 8? I know there are new features like Iterable::forEach and streams but is there anything new in multithreading or concurrency?
NewToJava
  • 149
  • 2
  • 11
-7
votes
1 answer

Reasoning behind swift's function notation?

Why does Swift use this function notation: func greet(person: String, day: String) -> String { return "Hello \(person), today is \(day)." } I don't get why it uses the small arrow -> notation to specify return type. func identifier() -> Type…
theonlygusti
  • 11,032
  • 11
  • 64
  • 119
1 2 3
41
42