In Ruby I think there are two types of constants:
# Type 1 constant
class User; end
# Type 2 constant
class User
EmailRegexp = /\A(.+)\@(.+)\.com\z/
end
Second constant perhaps can be better written as EMAIL_REGEXP
-
New font by Intel's open source wing: https://01.org/clear-sans
-
Talk by a Twitter engineer about how they profile their version of JVM. Pretty detailed yet simple to understand and make sense of.