Scala
fromMedium
1 day agoNice new Scala-language proposal
Target-Typed Companion Shorthand simplifies referencing companion object values in Scala by using a dot prefix instead of the type name.
But some clinicians noticed something peculiar: certain patients could remember words quite well but couldn't string them together properly while speaking. In the 1870s, German physician Adolf Kussmaul was among the first to systematically study these sentence-level problems. He identified patients who spoke in halting, telegraphic fragments lacking many connecting words, termed "agrammatism," and others who produced flashes of complex syntax but with a tangled organization, so-called "confused sentence monsters," today's "paragrammatism."