Proposal for dollar semantics

82 views
Skip to first unread message

Som Snytt

unread,
May 16, 2013, 6:42:19 PM5/16/13
to scala-debate

When you are new to a city, it helps the budget-conscious traveler to pick up a Zagat guide and figure out where to find a meal.

It might help the performance-minded newcomer to Scala if the compiler adopted the following conventions:

$    - cheap accommodation of nested entities
$$   - still reasonable artifact that won't bust your budget
$$$  - rather pricey computation, time- or space-wise
$$$$ - you must be wearing a tie to invoke this function

For example, I might invoke Partner$available$$$$diningOption$anon$1 if I thought you might be the one, or maybe if I was just looking for something anon.


Reply all
Reply to author
Forward
0 new messages