Clearly distinct names, and similar names of different types
The complete source of quality_similar_good.ek9, compiled by the EK9 compiler. Shown on quality.html.
#!ek9 defines module site.quality.similar defines function describeOrder() <- rtn as String? customerId <- "customer-17" orderId <- "order-42" //Clearly distinct rtn: `${customerId} ${orderId}` //No ambiguity describeArticle() <- rtn as String? title <- "Quality" titles <- ["Quality", "Testing"] //Different types - the compiler catches a swap rtn: `${title} ${titles}`