- Perl 6 Deep Dive
- Andrew Shitov
- 124字
- 2021-07-03 00:05:47
Working with Variables and Built-in Data Types
Perl 6 is a language with gradual typing. This means that you are not required to indicate the type of the variables you create: you may freely use the same variable to store data of different types. However, you may also create a typed variable and, in that case, the compiler will check the usage of that variable and make sure that the variable is only used in the operations allowed for that type.
In this chapter, we will first go through the built-in types of Perl 6 and, later, learn how to work with variables:
- Built-in data types
- Type hierarchy
- Variables
- Scalars, arrays and hashes
- Object-oriented properties of data types
- Simple and composite data types
推薦閱讀
- DevOps:軟件架構師行動指南
- Learning Cython Programming
- Instant Apache Stanbol
- Manga Studio Ex 5 Cookbook
- Learning Data Mining with Python
- MATLAB 2020 從入門到精通
- HTML5+CSS3網站設計基礎教程
- Go并發編程實戰
- C語言課程設計
- Mastering C++ Multithreading
- Python開發基礎
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- Clojure High Performance Programming(Second Edition)
- 量子計算機編程:從入門到實踐
- 多接入邊緣計算實戰