Arrays and Tuples - Hello, Rust!
There are two primitive compound types in Rust: Arrays and Tuples.
All of my long-form thoughts on programming, leadership, product design, and more, collected in chronological order.
There are two primitive compound types in Rust: Arrays and Tuples.
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.
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.
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.
Welcome to Rust for JavaScript Developers! It's fantastic to have you here. Let's dive right in.
Creating your own token has never been this easy and you can now create your own token without any blockchain programming knowledge in just under a minute.
TypeScript is a superset of JavaScript that has optional typing and compiles to plain JavaScript. Technically its JavaScript with static typing, whenever you want to have it.
In this article, we are going to create a Shopify Script that gives 10% discount on the line items having at least 2 quantities of same product.
You don’t need to be a DevOps expert to make the optimizations explained in this post. Anyone who is new to web applications and is using NGINX can use these steps. All you have to do is edit your NGINX config file.
In this lesson, we will learn about four types (Public, private, custom and draft apps) of Shopify apps and different characteristics for each type of app.
Until last month, our apps were serving JavaScript files from s3 without any compression and one of our customer asked us if we can enable gzip compression on the assets being served.
Few tips for fast & productive work on a terminal...
SessionStorage and LocalStorage are a simple key/value pair storage and only the string type of data can be stored. SessionStorage and LocalStorage both has same API. Both storage objects provide same methods and properties.
Fetch is a promise based Javascript API for making asynchronous HTTP requests. It is a clean, simple, powerful and a flexible API to get/send data from/to a server.
Laravel comes with a .env file by default and it is called .env.example and we create a copy of .env.example file as .env...
Here are my configurations I use for my Laravel apps. Hope someone find these useful.