A Language a Day: A brief introduction to 21 programming languagesКНИГИ » ПРОГРАММИНГ
Название: A Language a Day: A brief introduction to 21 programming languages Автор: Andrew Shitov Издательство: DeepText, Leanpub Год: October 28, 2024 Страниц: 240 Язык: английский Формат: pdf (true), mobi, epub Размер: 10.1 MB
Languages covered in the book: C++, Clojure, Crystal, D, Dart, Elixir, Factor, Go, Hack, Hy, Io, Julia, Kotlin, Lua, Mercury, Nim, OCaml, Raku, Rust, Scala, and TypeScript. Start with the basics of the language and progress through functions and objects to creating programs that use parallel and concurrent features!
This book provides a concise overview of 21 different programming languages. Each language is introduced using the same approach: solving several programming problems to showcase its features and capabilities. Languages covered in the book: C++, Clojure, Crystal, D, Dart, Elixir, Factor, Go, Hack, Hy, Io, Julia, Kotlin, Lua, Mercury, Nim, OCaml, Raku, Rust, Scala, and TypeScript.
Programming languages are fascinating. As a software developer, you probably have your own favourites, regardless of the technical nature of the language. You might love its syntax, or its weirdness, or simply follow the trend by learning the most popular language or lucrative one. But beyond all that, there is a certain beauty in how programming languages are crafted. They reflect the vision of their creators, whether it’s a dream of building a masterpiece or a design for industrial-scale applications. No matter the intention, every language offers a unique perspective worth exploring.
Once you start experimenting with a few simple test programs, you begin appreciating the language even more. The deeper you dive, the more you understand the design ideas behind the language.
Each chapter covers the essentials of a different programming language. To make the content more consistent and comparable, I use the same structure for each language, focusing on the following mini projects:
1. Creating a ‘Hello, World!’ program. 2. Implementing a Factorial function using recursion or a functional-style approach. 3. Creating a polymorphic array of objects (a ‘zoo’ of cats and dogs) and calling methods on them. 4. Implementing the Sleep Sort algorithm—while impractical for real-word use, it’s a playful demonstration of language’s concurrency capabilities.
Each language description follows—where applicable—this pattern:
1. Installing a command-line compiler and running a program. 2. Creating and using variables. 3. Defining and using functions. 4. Exploring object-oriented features. 5. Handling exception. 6. Introducing basic concurrency and parallelism.
You can find all the code examples in this book on GitHub.
Скачать A Language a Day : A brief introduction to 21 programming languages
Seven more languages in seven weeks Название: Seven more languages in seven weeks Автор: Bruce Tate, Fred Daoud, Ian Dees, Jack Moffitt Издательство: The Pragmatic Programmers Год: 2014...
Clojure in Action, Second edition Название: Clojure in Action, Second edition Автор: Amit Rathore, Francis Avila Издательство: Manning Publications ISBN: 1617291528 Год: 2016 ...