Selection Sort in Rust: A Comprehensive GuideSorting algorithms are essential for understanding computer science and solving numerous practical problems. Among them, Selection Sort stands out as a straightforward algorithm, often used for educational purposes due to its simplicity. In this arti...Dec 11, 2024·4 min read
Translating TypeScript to Rust #3Remember that every translation is subject to inaccuracies in some cases. Feel free to correct or suggest better translations in the comments. 3.1 - Tuples TypeScript const position: [number, number] = [23.45348, 24.92868]; Rust let position: (f32, ...May 9, 2022·1 min read
Mutation tests in JavaScriptWhat are mutation tests and why you should use them?May 8, 2022·5 min read
Translating TypeScript to Rust #2Remember that every translation is subject to inaccuracies in some cases. Feel free to correct or suggest better translations in the comments. 2.1 - The if statement TypeScript const condition: boolean = true if (condition) { console.log('Print me!...Mar 1, 2022·2 min read
Translating TypeScript to Rust #1This is the first post of a series of many posts translating TypeScript into Rust language. The idea is pretty simple like this: help those who know TypeScript but it's learning Rust with two code snippets, one in TypeScript and one for Rust. Rememb...Jan 15, 2022·2 min read
Removing repetitions from Array using the class SetI was watching a course on Udemy and I figure out a very cool way of removing eventual repetitions of elements of an array. It is the combination of the class Set with the Spread Operator. Set Allows storage of unique values of any type. Example of a...Jan 13, 2022·1 min read