Go, Software Development

Golang Struct With Functions

It is common to see Golang Struct with functions, and it is the closest we can get at imitating OOP classes. Other than that, Golang is a procedural language. Defining a Struct We need to define a struct type before

Rust

Rust Owned And Borrowed Types

What are Owned and Borrowed types in Rust? To know these concepts, we need to understand first what Rust Ownership and Rust References. Get Your Head Around Rust Ownership When we talk about ownership in Rust, we generally mean –

Rust, Software Development

Ways To Use Stack in Rust

There are several ways to implement or use a stack in Rust. A stack is a data structure that allows us to store data in LIFO (last-in-first-out). Rust has no stack data structure, but it offers data structures with similar