官术网_书友最值得收藏!

  • Scala Design Patterns
  • Ivan Nikolov
  • 289字
  • 2021-07-16 12:57:25

Chapter 1. The Design Patterns Out There and Setting Up Your Environment

In the world of computer programming, there are multiple different ways to create a solution that does something. However, some might contemplate whether there is a correct way of achieving a specific task. The answer is yes; there is always a right way, but in software development, there are usually multiple ways to achieve a task. Some factors exist, which guide the programmer to the right solution, and depending on them, people tend to get the expected result. These factors could define many things—the actual language being used, algorithm, type of executable produced, output format, and the code structure. In this book, the language is already chosen for us—Scala. There are, however, a number of ways to use Scala, and we will be focusing on them—the design patterns.

In this chapter, we will explain what design patterns are and why they exist. We will go through the different types of design patterns that are out there. This book aims to provide useful examples to aid you in the learning process, and being able to run them easily is key. Hence, some points on how to set up a development environment properly will be given here. The top-level topics we will go through are as follows:

  • What is a design pattern and why do they exist?
  • The main types of design patterns and their features
  • Choosing the right design pattern
  • Setting up a development environment in real life

The last point doesn't have to do much with design patterns. However, it is always a good idea to build projects properly, as this makes it much easier to work in future.

主站蜘蛛池模板: 丹江口市| 乳山市| 梓潼县| 含山县| 台中县| 江阴市| 滦平县| 秭归县| 阿坝| 龙里县| 崇文区| 甘南县| 时尚| 大名县| 兰坪| 南城县| 明溪县| 丹巴县| 西和县| 海宁市| 兴宁市| 油尖旺区| 库尔勒市| 合阳县| 伊吾县| 交口县| 德化县| 南汇区| 永济市| 哈尔滨市| 鄂温| 夏津县| 靖安县| 赞皇县| 香港| 平江县| 宝兴县| 射洪县| 台北县| 中牟县| 若羌县|