lihaoyi / autowire

Macros for simple/safe RPCs between Scala applications, including ScalaJS/ScalaJVM
378 stars 48 forks source link

assignments #96

Open tballard opened 10 months ago

tballard commented 10 months ago

Sorry, this is more a comment than an issue. I just didn't know the proper forum making a hopefully constructive criticism.

When assigning, using val, var or def, one has the option of specifying a type if the programmer thinks it isn't obvious. I would suggest that when writing examples for the novice, the types are often inobvious to the intended audience. A habit of including the type would further lower the bar for using your tools. Brevity is beautiful, but ...