Is Golang Easy to Learn? ๐ค
Adrian Finantyo ๐ฑ
Posted on September 30, 2023
This month, I embarked on a journey to learn Golang, and I must say, it's proven to be quite an intriguing language. Are you curious about what I've learned so far? Perhaps you're wondering why I chose Golang? Well, in this article, I'll share my experience of learning Golang.
Why Choose Golang? ๐ญ
Go, often referred to as "Golang," stands as one of the most popular programming languages globally. Despite its relative youth, it boasts a thriving and extensive community. So, what makes Golang so popular? People praise it for being easy to learn, lightning-fast, and incredibly lightweight. This prompted a burning question in my mind: "Is this reputation well-deserved?" Consequently, I made the decision to dive into Golang and uncover the answers.
How I Went About Learning Golang ๐
I kicked off my Golang journey by watching several YouTube videos that demonstrated the development of a REST API server using Go. As a backend developer familiar with JavaScript, this approach felt like an excellent starting point. As I delved deeper into these videos, I noticed striking similarities between Golang and C. While the syntax resembled that of JavaScript and Pythonโsimple and intuitiveโthe method of declaring variables felt reminiscent of C, albeit with a more straightforward approach. It became evident that Golang shared common ground with C in areas like struct declaration for modeling, function declaration, and variable usage, including pointers and more.
Following this, I proceeded to set up my development environment for Golang and embarked on creating my first project: a straightforward URL shortener aptly named "Go-Shorter." Armed with the insights gleaned from my video tutorials, this hands-on experience proved invaluable. As a proponent of "learning by doing," I found this a fantastic way to grasp project creation, package development, function creation, and utilizing packages created by others.
What I Achieved This Month ๐
In just one month, I successfully birthed two Golang projects:
- Go-Shorter: A minimalist URL shortener, crafted using Go, Gin, MongoDB, and Redis.
- JKT48-Showroom-CLI: A versatile CLI tool designed for watching and monitoring JKT48 Showroom live streams.
Remarkably, I managed to accomplish this amid the hectic backdrop of college assignments and work commitments. This can be attributed to Golang's striking resemblance to languages I'd previously encountered, along with the unwavering support of the Go community. Whenever I faced questions or challenges, solutions were readily available online or with the assistance of ChatGPT.
In Conclusion ๐
After a month of intense learning, my verdict on Golang is highly positive. Its echoes of C, coupled with its straightforward syntax, have made my learning journey not just educational but also remarkably comfortable. The extensive and helpful community has played a pivotal role, making it easy to find answers to my queries. However, in terms of its touted speed and lightweight nature, I believe there's still more exploration to be done. Consequently, I'm committed to continuing my Golang journey and conducting further research.
Please feel free to share your own experiences with learning Golang in the comments below. Thank you for taking the time to read this article, and I look forward to connecting with you in future pieces. ๐๐
Posted on September 30, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.