Software designer, founder, and a learner.

I’m Nivesh, a software designer and entrepreneur based in Gurgaon, India. I’m the co-founder of Centire, where we build web applications and provide support to Shopify merchants.

Arrays and Tuples

There are two primitive compound types in Rust: Arrays and Tuples.

A Practical guide to use Arrays and Objects in JavaScript

JavaScript objects and arrays are fundamental data structures used to organize and store data. In this comprehensive guide, we will explore the concepts of objects and arrays, provide relatable examples for both technical and non-technical individuals, and delve into safe techniques for copying and modifying these data structures. By following the discussed techniques, you can ensure data integrity, avoid unintended side effects, and confidently work with JavaScript data.

Scalars

Rust is a statically typed programming language. This means that all values must have a known type at compile time. So how did we get away without adding annotations in our Hello, Rust example? The Rust compiler is quite excellent at type inference and will often infer types for your values and only ask you to specify a type if it can't.

Statements and Variables

Code is typically composed of statements. Statements consist of one or more values and operators. Initialising a variable, setting it to the return value of a function call, even calling a macro (like the println macro we saw a while ago) are all examples of statements.

Stay up to date

Want to hear from me when I add new post? Sign up for my newsletter and I'll email you every time I post a new article. (I'll never share your email and only send you updates about new articles.)

Work

  1. Company
    Centire Services Pvt. Ltd.
    Role
    Managing Partner
    Date
  2. Company
    Upside
    Role
    Managing Partner
    Date
  3. Company
    Sellify.
    Role
    Managing Partner
    Date
  4. Company
    Centire Inc.
    Role
    Managing Partner
    Date
  5. Company
    Netset Software
    Role
    Web Developer
    Date
Download CV