Category

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

957 articles

Golang user input: Scan, Scanf, and bufio for stdin

How to take input in golang and golang get user input from stdin: fmt.Scan Scanln Scanf for typed tokens, golang read input with bufio; go read user input and …

By Deepak Prasad · 3 min read · programming

Golang array contains specific element or not? [SOLVED]

In this tutorial we have covered different examples to cover golang array contains elements. Use for loop to check for string, int or float64 element in array …

By Tuan Nguyen · 5 min read · programming

Golang iterate over array: range and for loops with len

Golang iterate over array and golang array loop with for range; golang for loop array and golang loop through array using len; go iterate over array and iterate …

By Tuan Nguyen · 3 min read · programming

Golang print type: %T, reflect, and type switches

Go print type and golang print type of variable with fmt %T; golang get type via reflect.TypeOf and Kind; pointers, interface{}, and nil; type switches; golang …

By Tuan Nguyen · 3 min read · programming

Golang generate random string Examples

Multiple examples covering golang generate random string using rand function. Generate alphanumeric, special characters, uppercase, lowercase strings

By Tuan Nguyen · 7 min read · programming

GO Import struct from another file

You can use import to import the package and then reference the struct using package.StructName wherein the name of Struct must start with Capital letters to …

By Tuan Nguyen · 6 min read · programming

How to sort a map by value in JavaScript?

Different methods to sort map by value in javascript (JS) in both ascending and descending order.

By Olorunfemi Akinlua · 7 min read · programming

How to loop through array in Node.js [6 Methods]

6 different methods to loop through an array in node.js. Using while loop, do- while loop, 1for loop, forEach method, for-of loop and for-in loop

By Steve Alila · 6 min read · programming