Senior Software Developer and Lead Trainer Alejandro Lujan explains pattern matching, a very powerful and elegant feature of Scala, using a series of examples.
Learn more about this topic and find more presentation on Scala at:
Alejandro Lujan introduces us to String Interpolation, a feature of Scala that allows us to have placeholders inside of string definitions, and explains why you would want to use them. Video included!
Alejandro Lujan introduces us to String Interpolation, a feature of Scala that allows us to have placeholders inside of string definitions, and explains why you would want to use them. Video included!
This presentation explores the benefits of functional programming, especially with respect to reliability. It presents a sample of types that allow many program invariants to be enforced by compilers. We also discuss the industrial adoption of functional programming, and conclude with a live coding demo in Scala.
This presentation provides an overview on Value Classes in Scala, which is explained in the video on the last slide by Alejandro Lujan. He explains why you would want to use them, outlines the restrictions that are associated with them, and shows examples of how you would use them. Value classes are a mechanism that Scala provides to create a certain type of wrapper classes that provide memory and performance optimizations. In this video, we show a use case for Tiny Types with Value classes.
Senior Software Developer Alejandro Lujan discusses the collections API in Scala, and provides some insight into what it can do with with some examples.
In this video, senior software developer Alejandro Lujan explores the elements of Scala's language that allow you to write clean and powerful code in a more brief manner.
In his latest Typesafe tutorial video, Alejandro Lujan explains for expressions in Scala, and provides an example of them in action.
For expressions are a very useful construct that can simplify manipulation of collections and several other data structures. They can be used in place of nested for loops, or to replace calls to map and flatMap in non-collection structures.
Learn more
Did you miss Scala Days 2015 in San Francisco? Have no fear! BoldRadius was there and we've compiled the best of the best! Here are the highlights of a great conference.
Punishment Driven Development #agileinthecityLouise Elliott
What is the first thing we do when a major issue occurs in a live system? Sort it out of course. Then we start the hunt for the person to blame so that they can suffer the appropriate punishment. What do we do if a person is being awkward in the team and won’t agree to our ways of doing things? Ostracise them of course, and see how long it is until they hand in their notice – problem solved.
This highly interactive talk delves into why humans have this tendency to blame and punish. It looks at real examples of punishment within the software world and the results which were achieved. These stories not only cover managers punishing team members but also punishment within teams and self-punishment. We are all guilty of some of the behaviours discussed.
This is aimed at everyone involved in software development. It covers:
• Why we tend to blame and punish others.
• The impact of self-blame.
• The unintended (but predictable) results from punishment.
• The alternatives to punishment, which get real results.
As a full-time Scala developer, I often find myself talking about Scala and functional programming in different kinds of situations, ranging from meeting a friend working in J2EE, Ruby or C++, to dedicated Scala Meetups aiming to promote deeper understanding of the language. However, something occurred to me lately. By hanging out with people who have some Scala knowledge or experience, I am somewhat holding on to a safe place. By presenting only to people who are curious about Scala, I'm preaching to the converted.
To make a long story short, I recently made an attempt at getting out of my comfort zone by presenting about how making the transition from Java to Scala makes total sense (from Java developer point of view). The presentation went through proof-hearing of approximately 60 experienced Java programmers (with almost no prior Scala knowledge) gathered in one room for a Lunch & Learn. Here are my slides.
How You Convince Your Manager To Adopt Scala.js in ProductionBoldRadius Solutions
Dave Sugden and Katrin Shechtman of BoldRadius presented this talk at Scala By The Bay 2015.
The talk will present fully functional sample application developed with Scala.js, scalatags, scalacss and other Scala and Typesafe technologies. We aim to show all the pros and cons for having Scala coast-to-coast approach to web-application development and encourage people not to shy away from asking difficult questions challenging this approach. Participants can expect to gain a clear view on the current state of the Scala based client side technologies and take away an activator template with application code that could be used as a base for technical discussions with their peers and managers.
Domain Driven Design with Onion Architecture is a powerful combination of Architecture Patterns that can dramatically improve code quality and can help you learn a great deal about writing "clean" code.
In this webinar, Michael Nash of BoldRadius explores the Typesafe Reactive Platform.
The Typesafe Reactive Platform is a suite of technologies and tools that support the creation of reactive applications, that is, applications that handle the kind of responsiveness requirements, data volume, and user load that was out of practical reach only a few years ago.
From analysis of the human genome to wearable technology to communications at a massive scale, BoldRadius has the premier team of experts with decades of collective experience in designing and building these types of applications, and in helping teams adopt these tools.
Patrick Premont of BoldRadius presented this talk at Scala By The Bay 2015.
Why do data structure lookups often return Options? Could we safely eliminate all the recovery code that we hope is never called? We will see how Scala’s type system lets us express referential integrity constraints to achieve unparalleled reliability. We apply the technique to in-memory data structures using the Total-Map library and consider how to extend the benefits to persisted data.
This presentation explores the benefits of functional programming, especially with respect to reliability. It presents a sample of types that allow many program invariants to be enforced by compilers. We also discuss the industrial adoption of functional programming, and conclude with a live coding demo in Scala.
This presentation provides an overview on Value Classes in Scala, which is explained in the video on the last slide by Alejandro Lujan. He explains why you would want to use them, outlines the restrictions that are associated with them, and shows examples of how you would use them. Value classes are a mechanism that Scala provides to create a certain type of wrapper classes that provide memory and performance optimizations. In this video, we show a use case for Tiny Types with Value classes.
Senior Software Developer Alejandro Lujan discusses the collections API in Scala, and provides some insight into what it can do with with some examples.
In this video, senior software developer Alejandro Lujan explores the elements of Scala's language that allow you to write clean and powerful code in a more brief manner.
In his latest Typesafe tutorial video, Alejandro Lujan explains for expressions in Scala, and provides an example of them in action.
For expressions are a very useful construct that can simplify manipulation of collections and several other data structures. They can be used in place of nested for loops, or to replace calls to map and flatMap in non-collection structures.
Learn more
Did you miss Scala Days 2015 in San Francisco? Have no fear! BoldRadius was there and we've compiled the best of the best! Here are the highlights of a great conference.
Punishment Driven Development #agileinthecityLouise Elliott
What is the first thing we do when a major issue occurs in a live system? Sort it out of course. Then we start the hunt for the person to blame so that they can suffer the appropriate punishment. What do we do if a person is being awkward in the team and won’t agree to our ways of doing things? Ostracise them of course, and see how long it is until they hand in their notice – problem solved.
This highly interactive talk delves into why humans have this tendency to blame and punish. It looks at real examples of punishment within the software world and the results which were achieved. These stories not only cover managers punishing team members but also punishment within teams and self-punishment. We are all guilty of some of the behaviours discussed.
This is aimed at everyone involved in software development. It covers:
• Why we tend to blame and punish others.
• The impact of self-blame.
• The unintended (but predictable) results from punishment.
• The alternatives to punishment, which get real results.
As a full-time Scala developer, I often find myself talking about Scala and functional programming in different kinds of situations, ranging from meeting a friend working in J2EE, Ruby or C++, to dedicated Scala Meetups aiming to promote deeper understanding of the language. However, something occurred to me lately. By hanging out with people who have some Scala knowledge or experience, I am somewhat holding on to a safe place. By presenting only to people who are curious about Scala, I'm preaching to the converted.
To make a long story short, I recently made an attempt at getting out of my comfort zone by presenting about how making the transition from Java to Scala makes total sense (from Java developer point of view). The presentation went through proof-hearing of approximately 60 experienced Java programmers (with almost no prior Scala knowledge) gathered in one room for a Lunch & Learn. Here are my slides.
How You Convince Your Manager To Adopt Scala.js in ProductionBoldRadius Solutions
Dave Sugden and Katrin Shechtman of BoldRadius presented this talk at Scala By The Bay 2015.
The talk will present fully functional sample application developed with Scala.js, scalatags, scalacss and other Scala and Typesafe technologies. We aim to show all the pros and cons for having Scala coast-to-coast approach to web-application development and encourage people not to shy away from asking difficult questions challenging this approach. Participants can expect to gain a clear view on the current state of the Scala based client side technologies and take away an activator template with application code that could be used as a base for technical discussions with their peers and managers.
Domain Driven Design with Onion Architecture is a powerful combination of Architecture Patterns that can dramatically improve code quality and can help you learn a great deal about writing "clean" code.
In this webinar, Michael Nash of BoldRadius explores the Typesafe Reactive Platform.
The Typesafe Reactive Platform is a suite of technologies and tools that support the creation of reactive applications, that is, applications that handle the kind of responsiveness requirements, data volume, and user load that was out of practical reach only a few years ago.
From analysis of the human genome to wearable technology to communications at a massive scale, BoldRadius has the premier team of experts with decades of collective experience in designing and building these types of applications, and in helping teams adopt these tools.
Patrick Premont of BoldRadius presented this talk at Scala By The Bay 2015.
Why do data structure lookups often return Options? Could we safely eliminate all the recovery code that we hope is never called? We will see how Scala’s type system lets us express referential integrity constraints to achieve unparalleled reliability. We apply the technique to in-memory data structures using the Total-Map library and consider how to extend the benefits to persisted data.
Senior Software Developer and Trainer Alejandro Lujan explains sealed classes, why they are needed, and how to implement them in Scala. Read more on the BoldRadius blog: http://boldradius.com/blog-post/VBB3uzIAADYAiiSy/sealed-classes-in-scala
BoldRadius' Senior Software Developer Alejandro Lujan explains how to use higher order functions in Scala and illustrates them with some examples.
See the accompanying video at www.boldradius.com/blog
Mike Kelland and the BoldRadius team lead an interactive discussion at Scala Days 2014 in Berlin on adopting the Typesafe Reactive Platform and creating change in your organization.
We explored approaches to solving the pain points that may arise, presenting tools, strategies and resources designed to help you adopt the Typesafe Reactive Platform today.
BoldRadius senior developer Alejandro Lujan shows us some examples of using case classes in Scala, explains why they are beneficial, and shares some items to be mindful of. Learn more about using case classes in Scala on our blog.
2. First,
an
example
• Users
have
accounts
• Accounts
are
either
Paypal
or
Bitcoin
• Paypal
accounts
have
an
email
• Bitcoin
accounts
have
a
key
3. case class User(name: String, account: Account)
sealed class Account
case class Paypal(email: String) extends Account
case class Bitcoin(key: String) extends Account