122 \definecolor{cellbackground}{HTML}{F7F7F7} |
122 \definecolor{cellbackground}{HTML}{F7F7F7} |
123 |
123 |
124 |
124 |
125 |
125 |
126 \begin{document} |
126 \begin{document} |
127 \fnote{\copyright{} Christian Urban, King's College London, 2017, 2018, 2019, 2020, 2021, 2022, 2023} |
127 \fnote{\copyright{} Christian Urban, King's College London, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024} |
128 |
128 |
129 %\begin{tcolorbox}[breakable,size=fbox,boxrule=1pt,pad at break*=1mm,colback=cellbackground,colframe=cellborder] |
129 %\begin{tcolorbox}[breakable,size=fbox,boxrule=1pt,pad at break*=1mm,colback=cellbackground,colframe=cellborder] |
130 % abd |
130 % abd |
131 %\end{tcolorbox} |
131 %\end{tcolorbox} |
132 |
132 |
150 Virtual Machine (JVM) and therefore Scala programs can run under MacOSX, |
150 Virtual Machine (JVM) and therefore Scala programs can run under MacOSX, |
151 Linux and Windows. Because of this it has also access to |
151 Linux and Windows. Because of this it has also access to |
152 the myriads of Java libraries. Unlike Java, however, Scala often allows |
152 the myriads of Java libraries. Unlike Java, however, Scala often allows |
153 programmers to write very concise and elegant code. Some therefore say |
153 programmers to write very concise and elegant code. Some therefore say |
154 ``Scala is the better Java''.\footnote{from |
154 ``Scala is the better Java''.\footnote{from |
155 \url{https://www.slideshare.net/maximnovak/joy-of-scala}} |
155 \url{https://www.slideshare.net/maximnovak/joy-of-scala}, though this might |
|
156 be outdated as latest versions of Java are catching up somewhat} |
156 |
157 |
157 A number of companies---the Guardian, Dualingo, Coursera, FourSquare, |
158 A number of companies---the Guardian, Dualingo, Coursera, FourSquare, |
158 Netflix, LinkedIn, ITV to name a few---either use Scala exclusively in |
159 Netflix, LinkedIn, ITV to name a few---either use Scala exclusively in |
159 production code, or at least to some substantial degree. Scala seems |
160 production code, or at least to some substantial degree. Scala seems |
160 also useful in job-interviews (especially in data science) according to |
161 also useful in job-interviews (especially in data science) according to |
1935 %with. |
1936 %with. |
1936 |
1937 |
1937 |
1938 |
1938 \subsection*{Conclusion} |
1939 \subsection*{Conclusion} |
1939 |
1940 |
1940 I hope you liked the short journey through the Scala language---but remember we |
1941 I hope you liked the short journey through the Scala language---but |
1941 like you to take on board the functional programming point of view, |
1942 remember we like you to take on board the functional programming point |
1942 rather than just learning another language. There is an interesting |
1943 of view, rather than just learning another language: Immutable |
1943 blog article about Scala by a convert: |
1944 functions are easier to trust, because they the same output on the |
|
1945 same input. For the same reason they are easier to test and debug. |
|
1946 There is an interesting blog article about Scala by a convert: |
1944 |
1947 |
1945 \begin{center} |
1948 \begin{center} |
1946 \url{https://www.skedulo.com/tech-blog/technology-scala-programming/} |
1949 \url{https://www.skedulo.com/tech-blog/technology-scala-programming/} |
1947 \end{center} |
1950 \end{center} |
1948 |
1951 |