The Go Language: Arrays & Slices
The Go Language: Arrays & Slices, available at Free, has an average rating of 4.85, with 50 lectures, 1 quizzes, based on 33 reviews, and has 999 subscribers.
You will learn about Learn GO arrays and slices fundamentals with easy but efficient exercises. Use these short videos as a GO language reference for reviewing or consulting. All exercises are shown in the Golang playground. You just need access to the Internet. GO arrays and slice techniques explained in detail as well as Go for/range loops. Start learning GO data structures here with arrays and slice exercises. Coding is easy if properly taught. This is the second volume in the series. Begin with volume one if you are new to Golang. Course has been fully inspected and reviewed on September 2021. Use this course to review your understanding of Go arrays and slices. This course is ideal for individuals who are Go language students wanting to understand arrays and slices or Go programmers who want to refresh syntax and concepts It is particularly useful for Go language students wanting to understand arrays and slices or Go programmers who want to refresh syntax and concepts.
Enroll now: The Go Language: Arrays & Slices
Summary
Title: The Go Language: Arrays & Slices
Price: Free
Average Rating: 4.85
Number of Lectures: 50
Number of Quizzes: 1
Number of Published Lectures: 49
Number of Published Quizzes: 1
Number of Curriculum Items: 51
Number of Published Curriculum Objects: 50
Original Price: Free
Quality Status: approved
Status: Live
What You Will Learn
- Learn GO arrays and slices fundamentals with easy but efficient exercises.
- Use these short videos as a GO language reference for reviewing or consulting.
- All exercises are shown in the Golang playground. You just need access to the Internet.
- GO arrays and slice techniques explained in detail as well as Go for/range loops.
- Start learning GO data structures here with arrays and slice exercises. Coding is easy if properly taught.
- This is the second volume in the series. Begin with volume one if you are new to Golang.
- Course has been fully inspected and reviewed on September 2021.
- Use this course to review your understanding of Go arrays and slices.
Who Should Attend
- Go language students wanting to understand arrays and slices
- Go programmers who want to refresh syntax and concepts
Target Audiences
- Go language students wanting to understand arrays and slices
- Go programmers who want to refresh syntax and concepts
This is the second volume of the GO Language series by Tony de Araujo. It contains around two hours of videos and exercises designed to make you proficient on Go array and slice structures.
Rather than being a primer, it is a didactic sequential approach with short explanations and exercises. By the end of this tutorial series, you’ll have a solid understanding of arrays and slices in Go, enabling you to choose the right data structure for your specific use case.
Understanding Arrays and Slices in Go
In Go, arrays and slices are essential data structures that allow you to work with ordered sequences of elements.
These collections are particularly useful when dealing with related values.
Here’s a breakdown of the key differences between arrays and slices:
Arrays:
-
In Go an array is a fixed-size data structure.
-
Its capacity is defined at creation time and cannot be changed afterward.
-
Once you allocate an array’s size, it remains constant.
-
Arrays are suitable when you know the exact number of elements you need.Example: var myArray [5]int creates an integer array with 5 elements.
Slices:
-
A slice is a dynamically resizable data structure.
-
Unlike arrays, slices can grow or shrink as needed.
-
Slices are built on top of arrays and provide a more flexible way to work with sequences.
-
They are commonly used when the number of elements is not fixed.
-
Example: mySlice := []int{1, 2, 3} creates an integer slice.
Why Use Arrays and Slices?
-
Data Organization: Arrays and slices allow you to group related data together. For instance, you can store a list of temperatures, user IDs, or product prices.
-
Code Efficiency: By using arrays and slices, you can perform the same operations on multiple values simultaneously. This leads to cleaner and more concise code.
-
Flexibility: Slices adapt to your needs, making them ideal for scenarios where the size may change dynamically.
Tutorial Series Contents:
1. Introduction: Understand the basics of arrays and slices.
2. Declaration and Initialization: Learn how to declare and initialize arrays and slices.
3. Accessing Elements: Explore methods to access individual elements.
4. Modifying Elements: Discover how to modify array and slice elements.
5. Iterating Over Arrays and Slices: Master loops and range-based iteration.
6. Multidimensional Arrays: Dive into arrays with multiple dimensions.
7. Built-in Functions: Explore useful functions for working with arrays and slices.
By the end of this tutorial series, you’ll have a solid understanding of arrays and slices in Go, enabling you to choose the right data structure for your specific use case.
Course Curriculum
Chapter 1: Arrays & Slices
Lecture 1: Why arrays?
Lecture 2: What are arrays in Go?
Lecture 3: Array declaration using default values
Lecture 4: Declaring and assigning. Length of an array
Lecture 5: Overriding index numbers when declaring arrays
Lecture 6: The for loop in Go
Lecture 7: The range loop in Go
Lecture 8: Good news on For Range loops
Lecture 9: Exercise – Print odd numbers from array values
Lecture 10: Solution – Print odd numbers from array values
Lecture 11: Data in arrays is passed by value
Lecture 12: Passing arrays by reference
Lecture 13: Passing a subset range of an array in Go
Lecture 14: Array slices are pointers to array values
Lecture 15: What is a slice?
Lecture 16: Three ways to declare a slice
Lecture 17: Appending new items to a Go slice
Lecture 18: In Go, strings are line slices, but with a fixed length
Lecture 19: Appending a slice to another slice using the ellipsis (…) operator | also Copy
Lecture 20: Appending a limited slice range of values to another slice
Lecture 21: Adding values to an empty slice
Lecture 22: Optional exercise – a slice of bytes
Lecture 23: Solution – slice of bytes
Lecture 24: Copying slices using the copy() function
Lecture 25: Optional exercise – Copying a slice of integers
Lecture 26: Copying slices to specific target indexes
Lecture 27: Optional exercise on copying slices
Lecture 28: Slice copying exercise demo
Lecture 29: Deleting an item from a slice using append()
Lecture 30: Optional exercise: Deleting two items from a slice using append()
Lecture 31: Exercise result: Deleting two items from a slice using append()
Lecture 32: How to extend a slice using append and make
Lecture 33: Inserting a new item in the middle of a slice using 2 append()s
Lecture 34: Optional exercise: Append two items to the middle of a slice using two append()s
Lecture 35: Answer: Append two items to the middle of a slice
Lecture 36: Optional exercise: Append three items to the end of a slice
Lecture 37: Answer: Append three items to the end of a slice
Lecture 38: Optional exercise: Append an existing slice to the middle of another slice
Lecture 39: Answer: Append an existing slice to the middle of another slice
Lecture 40: Optional exercise: Append an existing slice to the middle of a modified slice
Lecture 41: Answer: Append an existing slice to the middle of a modified slice
Lecture 42: Lecture: Appending data into mixed indexes
Lecture 43: Optional exercise: Append cardinal numbers in the proper order
Lecture 44: Answer: Append cardinal numbers in the proper order
Lecture 45: Optional exercise: Appending three slices to a new slice
Lecture 46: Answer: Appending three slices
Lecture 47: Lecture: Two-dimensional arrays
Lecture 48: RESOURCES: Go Arrays and Slices
Lecture 49: Thank you
Instructors
-
Tony de Araujo
Tech Writer – Published Author on Programming [Amazon]
Rating Distribution
- 1 stars: 0 votes
- 2 stars: 0 votes
- 3 stars: 1 votes
- 4 stars: 6 votes
- 5 stars: 26 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Language Learning Courses to Learn in November 2024
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024