Programming Tutorials and Coding Guides
Explore programming tutorials with practical examples across multiple languages, scripting, and development concepts for beginners and advanced users.
Welcome to the Programming tutorials section, where you will learn coding concepts with real-world examples across multiple languages and platforms.
This category includes beginner to advanced guides covering scripting, automation, and application development. Whether you are learning programming for system administration or building applications, these tutorials will help you gain practical experience.
Programming plays a crucial role in modern infrastructure and DevOps workflows. You can also explore related topics such as DevOps and Linux to understand how programming integrates with system-level operations.
What you will learn
- Core programming concepts and logic building
- Writing scripts for automation and system tasks
- Debugging and optimizing code
- Practical use cases in real environments
Who should read this
- Beginners starting with coding
- System administrators learning scripting
- Developers looking for practical examples
960 articles
Golang defer keyword - How & When to Use it?
golang defer keyword can be used to close open files, close open connections, waitgroups, methods and functions
Declare golang constant maps - is it possible? [SOLVED]
We can not declare constant maps directly in golang as other programming languages. In this tutorial we covered different workaround hacks to declare golang …
Monitor HTTP(s) traffic in Node.js [SOLVED]
Step by step instructions to setup and monitor https traffic using node.js with practical examples
How to pass parameters to function in GO [SOLVED]
In this tutorial we covered different scenarios to pass parameters to golang function. Pass int, string, float as parameter or pass map and channel as parameter …
Create 10 second timer countdown in JavaScript [SOLVED]
There are different timer functions available in javascript which can be used to create 10 second timer countdown such as setTimeout(), setInterval(), and …
Golang cast to string from different data types [SOLVED]
golang cast to string by converting Int type to string, converting Interface type to string, converting Boolean type to string
Golang Bool to String Type Casting [2 Methods]
There are 2 methods to convert golang bool to string type. We can use FormatBool() function or Sprintf() function for the type casting
Golang Compare String PROPERLY [3 Methods]
golang compare strings using comparision operators, compare() method or equalof() method
Golang Tabs vs Space for indentation - Formatting Tips
The official recommendation is to use golang TABs for indentation and formatting. We can format go code automatically using go fmt or goimports command
Is golang tuple possible? [SOLVED]
By design golang tuple is not possible but we can work around this by using interfaces and generics.
Golang Timing - RIGHT way to measure execution time in GO
We explained two methods to achieve golang timing to measure execution time of go code using time function
Check if Key Exists in GO Map [6 Proven Methods]
We will explore following methods to check if key exists in map in golang. terate over map elements and look out for the key, Using index expression, Perform a …
Golang string to uint8 type casting [SOLVED]
We can use strconv.Atoi, fmt.Sscan, and strconv.ParseInt functions for golang string to uint8 type casting.
println JS alternative available? [SOLVED]
The alternative of java println in javascript is console.log()
What the Hell is Golang Anonymous Structs? How to Use it?
Explore the dynamic world of Golang Anonymous Structs! Dive into this insightful guide to uncover powerful strategies, avoid common pitfalls, and harness the …
