by wpollock · 8mo ago · 0 comments
Fun fact: When printing with movable type began, printers would travel with large "type cases" containing the small wood or metal blocks with glyphs on them. The ones the used frequently were kept in the lower half of the case, in easy reach. That's where the terms "lowercase" and "uppercase" come from.
Of course, Unicode can be abused, but ASCII isn’t completely free of that either. (Maybe it tickles your fancy to name a variable _o0O0o_ or l1lIl1lIl1lIl1l.) If your native script doesn’t have upper and lower case, compromises may have to be made. We have to trust programmers to use good judgement.
class pppp {
func ppp(_ c: Int, m: Int) -> Int {
return c + m
}
}
var b = 3
var s = b + 2
var p = pppp()
print(p.ppp(b, m: s))