Rust for Python Developers - Operators

Shin_O
3,516 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

This article was originally published on Medium

Follow me:

Introduction

Operators tell the compiler or interpreter to perform a specific mathematical, relational, or logical operation. Many programming languages make use of similar operator symbols.

We will go through the important arithmetic, relational, and logical operators available in Rust and we will compare them to Python.

We will learn the differences between methods and associated functions.

We also convert two simple Python codes to Rust codes to learn more about Rust programming. Let’s get started!

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content