#Scala - Your First Programming Language - Part 10 - Ways of Creation - Part 2 - Composition
DevInsideYou
In this video we are going to talk about a lot of topics. It is essentially a toolbox for programming beginners. We are going to discuss: widening and narrowing of numerical types, a few mathematical functions from the Scala standard library, a deep dive into modulo (rest division), generation of random numbers and booleans, boolean algebra basics, strings with control characters and both s and f interpolations, reading input from standard in (console most of the time), manual and automatic function composition with compose and andThen and other things that I have forgotten to mention here... We conclude the discussion with an introduction to referential equality on the JVM.
The code is available here: https://github.com/DevInsideYou/learning-resources/blob/master/WaysOfCreationPart2Composition.scala
The scala math Application Programming Interface (API) is here: https://www.scala-lang.org/files/archive/api/current/scala/math/
This video is part of the following playlist: https://www.youtube.com/playlist?list=PLJGDHERh23x-YBJ8LmYU_IGBFflvsKfLu
Website: https://devinsideyou.com
Patreon: https://patreon.devinsideyou.com Discord: https://discord.devinsideyou.com Twitter: https://twitter.devinsideyou.com Github: https://github.devinsideyou.com
Install scripts: https://install.devinsideyou.com Giter8 templates: https://g8.devinsideyou.com
Spotify concentration playlist: https://code.radio.devinsideyou.com
Cheers and Happy Coding!
#Composition #tutorial ... https://www.youtube.com/watch?v=dLxfbgLXLhw
313155743 Bytes