Download JavaProgramsEnvyScala Free Java Code
Description
Code examples used in the presentation "Top 10 Reasons Java Programs Envy Scala".
Source Files
The download file JavaProgramsEnvyScala-master.zip has the following entries.
src/Example_01_TypeInference/NoTypeInferenceInJava.java
src/Example_01_TypeInference/TypeInferenceScala.scala
src/Example_02_LessSyntax/ClassDeclarationSyntaxInJava.java
src/Example_02_LessSyntax/ClassDeclarationSyntaxInScala.scala
src/Example_02_LessSyntax/FunctionSyntaxInJava.java
src/Example_02_LessSyntax/FunctionSyntaxInScala.scala
src/Example_02_LessSyntax/ProceduralSyntaxInJava.java
src/Example_02_LessSyntax/ProceduralSyntaxInScala.scala
src/Example_03_Collections/CreatingCollectionsInJava.java
src/Example_03_Collections/CreatingCollectionsInScala.scala
src/Example_03_Collections/FilteringCollectionsInJava.java
src/Example_03_Collections/FilteringCollectionsInScala.scala
src/Example_03_Collections/MappingCollectionsInJava.java
src/Example_03_Collections/MappingCollectionsInScala.scala
src/Example_03_Collections/SummarisingCollectionsInJava.java
src/Example_03_Collections/SummarisingCollectionsInScala.scala
src/Example_03_Collections/SummingCollectionsOfNumbersInJava.java
src/Example_03_Collections/SummingCollectionsOfNumbersInScala.scala
src/Example_04_JavaInteroperability/JavaInteroperabilityInScala.scala
src/Example_05_PimpMyLibrary/AugmentingClassesInJavaWithStaticImports.java
src/Example_05_PimpMyLibrary/AugmentingClassesInScalaWithImplicitConversion.scala
src/Example_06_OperatorOverloading/BigDecimalWithOperatorsInScala.scala
src/Example_06_OperatorOverloading/BigDecimalWithoutOperatorsInJava.java
src/Example_07_PatternMatching/DecisionBasedOnListContentsWithJava.java
src/Example_07_PatternMatching/DecisionBasedOnListContentsWithScala.scala
src/Example_07_PatternMatching/IntrospectingCaseClassesWithMatchingInScala.scala
src/Example_07_PatternMatching/IntrospectingClassesInJava.java
src/Example_07_PatternMatching/UsingCaseToChooseAValueInJava.java
src/Example_07_PatternMatching/UsingMatchToChooseAValueInScala.scala
src/Example_08_NamedAndDefaultParameters/CreatingComplexObjectInJavaWithTheBuilderPattern.java
src/Example_08_NamedAndDefaultParameters/CreatingComplexObjectInJavaWithoutBuilder.java
src/Example_08_NamedAndDefaultParameters/CreatingComplexObjectInScalaWithNamedParameters.scala
src/Example_08_NamedAndDefaultParameters/NotOverloadingMethodsForDefaultValuesInScala.scala
src/Example_08_NamedAndDefaultParameters/OverloadingMethodsForDefaultValuesInJava.java
src/Example_09_MultipleInheritanceWithTraits/DelegationOfAuxilliaryBehaviourWithJava.java
src/Example_09_MultipleInheritanceWithTraits/InheritanceOfAuxilliaryBehaviourWithScala.scala
src/Example_10_SimplifiedConcurrency/ConcurrentAgentWithAQueueOfTasksInJava.java
src/Example_10_SimplifiedConcurrency/ConcurrentAgentWithAQueueOfTasksInScala.scala
src/Example_10_SimplifiedConcurrency/ConcurrentCollectionProcessingWithScala.scala
Download
Click the following link to download JavaProgramsEnvyScala-master.zip.
JavaProgramsEnvyScala-master.zip