DEV Community

Cover image for Learning Golang • #Issue1
Ekemini Samuel
Ekemini Samuel

Posted on • Edited on

1

Learning Golang • #Issue1

The journey has begun! I started a course on Codecademy Learn Go. 😃
I'll be learning how to use Golang, an open-source programming language that's supported by Google!

Summary of what I’ve learnt so far:

In Golang, Values could be numbers ( 215) or text (“Hello earth”)
These values can then be written into code.

Variables and Constants are examples of Named values while Literal values are examples of Unnamed values.

Constants cannot be updated while the program is running, but the value of a Variable can be updated.

A keyword is used to create a Constant, then a value is assigned to the constant using a Literal. The constant’s name can be used throughout the rest of the program instead of the literal.
In Go, spaces aren’t allowed when naming constants.
Either camelCase or PascalCase formats are used; capitalizing each subsequent word instead of adding spaces.

In coding, using descriptive names are important...it makes us able to read and understand the code we write.

That’s a summary of what I have learnt so far.
...documenting my learning journey! 🌟

Constants are examples of named variables in Go; a keyword is used to create a constant. Constants cannot be updated while the program is running.

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs