Автор: Erik Engheim
Издательство: Manning Publications
Год: 2023
Страниц: 402
Язык: английский
Формат: pdf (true)
Размер: 23.8 MB
Learn Julia programming by building fun projects, like launching rockets, building password keepers, and even coding battle simulations.
Julia as a Second Language covers:
Data types like numbers, strings, arrays, and dictionaries
Immediate feedback with Julia’s read-evaluate-print-loop (REPL)
Simplify code interactions with multiple dispatch
Sharing code using modules and packages
Object-oriented and functional programming styles
Julia as a Second Language introduces Julia to readers with a beginning-level knowledge of another language like Python or jаvascript. You’ll learn by coding engaging hands-on projects that encourage you to apply what you’re learning immediately. Don’t be put off by Julia’s reputation as a scientific programming language—there’s no data science or numerical computing knowledge required. You can get started with what you learned in high school math classes.
Why did programming books have to be so boring, functional, and sensible? Where was the sense of adventure and fun? Fun is underrated. Who cares if a book is silly and has stupid jokes if it makes you learn and enjoy learning? That is one of the reasons I wrote this book. I wanted the reader to enjoy learning programming - not through cracking jokes but by working through programming examples that are interesting and fun to do. I promise you, there will be no examples modeling a sales department. Instead, we will do things like simulate rocket launches, pretend to be Caesar sending a secret message to his army commanders using old Roman encryption techniques, and many others.
The second important reason why I wanted to write this book is because people keep asking me, “Julia? Isn’t that a language only for science and scientists?” Julia has had major success in this area, which is why the Julia community today is full of brainy people working on hard problems, such as developing new drugs and modeling the spread of infectious diseases, climate change, or the economy. But no, you don’t need to be a genius or a scientist to use Julia. Julia is a wonderful general purpose programming language for everyone!
Don’t be put off by Julia’s reputation as a scientific programming language. There’s no Data Science or numerical computing knowledge required. You can get started with what you learned in high school math classes.
Julia as a Second Language makes it easy to add Julia to your programming toolbox. You’ll learn about Julia’s type system and data structures by modeling the launch of a space rocket, use dictionaries to parse Roman numerals, discover tuples and arrays through tracking pizza sales, and use Julia’s unique multiple dispatch feature to send knights and archers into a simulated battle. By the time you’re finished, you’ll be confident in the foundations of Julia and ready to dive into a specialized field like Machine Learning or Data Science.
Скачать Julia as a Second Language (Final Release)