文档介绍:Scala&ClojurePlayingNiceDavidPollakQConBeijingApril,2015! ! ! !******@dppWrotesomeSpreadsheetsFoundedLift/WroteBeginningScalaCodingClojure3YearsCrazyPassionateLawyer-trainedTechDude! ! !PresoStructureBackgroundonScala&ClojureLiveCodingThoughts&Questions! ! ! !ScalaHybridFunctional/OOLanguage…AllthingstoallpeopleGnarly(特别危险的冲浪条件)TypeSystemJava-likesyntaxExcellentJavaInteropt! ! ! !ClojureModernLisp/FunctionalOptionalTypeSystemsOpinionatedre:ImmutabilitySuper-piletoJVMByteCode…CanSubclassJavaClasses…AndImplementJavaInterfaces! ! ! !SimilaritiesImmutableData&CollectionsSupereasytopass“functions”(reallyanonymousinnerclasses)plexity&concurrentsystemsBothaddress“ExpressionProblem”ExpressionProblem“Thegoalistodefineadatatypebycases,whereonecanaddnewcasestothedatatypeandnewfunctions overthedatatype,without pilingexistingcode.”