diff -r 769bda18a43d -r 1a51207780e6 handouts/pep-ho.tex --- a/handouts/pep-ho.tex Mon Dec 25 01:10:55 2023 +0100 +++ b/handouts/pep-ho.tex Fri Feb 23 11:31:36 2024 +0000 @@ -124,7 +124,7 @@ \begin{document} -\fnote{\copyright{} Christian Urban, King's College London, 2017, 2018, 2019, 2020, 2021, 2022, 2023} +\fnote{\copyright{} Christian Urban, King's College London, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024} %\begin{tcolorbox}[breakable,size=fbox,boxrule=1pt,pad at break*=1mm,colback=cellbackground,colframe=cellborder] % abd @@ -152,7 +152,8 @@ the myriads of Java libraries. Unlike Java, however, Scala often allows programmers to write very concise and elegant code. Some therefore say ``Scala is the better Java''.\footnote{from -\url{https://www.slideshare.net/maximnovak/joy-of-scala}} + \url{https://www.slideshare.net/maximnovak/joy-of-scala}, though this might +be outdated as latest versions of Java are catching up somewhat} A number of companies---the Guardian, Dualingo, Coursera, FourSquare, Netflix, LinkedIn, ITV to name a few---either use Scala exclusively in @@ -1937,10 +1938,12 @@ \subsection*{Conclusion} -I hope you liked the short journey through the Scala language---but remember we -like you to take on board the functional programming point of view, -rather than just learning another language. There is an interesting -blog article about Scala by a convert: +I hope you liked the short journey through the Scala language---but +remember we like you to take on board the functional programming point +of view, rather than just learning another language: Immutable +functions are easier to trust, because they the same output on the +same input. For the same reason they are easier to test and debug. +There is an interesting blog article about Scala by a convert: \begin{center} \url{https://www.skedulo.com/tech-blog/technology-scala-programming/}