C# – Dapper vs EF for CRUD operations

By | 12/07/2023

In many articles and websites, there are many examples of how Dapper is faster than EF to select data in a database.In this post instead, I want to check if Dapper is faster than EF for some CRUD operations like Insert, Update and Delete.I have this curiosity because I have seen that there is an… Read More »

Category: C#

SwiftUI – Table on iOS 16

By | 28/06/2023

In this post, we will see how to use the new Table introduced in iOS 16.It is import to highlight that in macOS and iPadOS it works very well instead, in iOS, it doesn’t work fine. In fact, in iOS, and in situations with a compact horizontal size class, the Table doesn’t show the headers… Read More »

C# – Optimizing performance with Parallel.For

By | 21/06/2023

In this post, we will see how to use Parallel.For to optimize the performance of our applications.But first of all, what is Parallel.For?“The Parallel For loop is part of the System.Threading.Tasks namespace introduced in .NET Framework 4.0. It provides a convenient way to divide a loop iteration into smaller, independent tasks that can be executed… Read More »

Category: C#

Python – File and Directory management

By | 14/06/2023

In this post, we will see some scripts that we can use to management files and directories. CURRENT WORKING DIRECTORY: LIST DIRECTORY CONTENTS: CHECKING FILE EXISTENCE: CREATING AND REMOVING A DIRECTORY: COPYING, MOVING, RENAMING AND DELETING A FILE:

SwiftUI – Combine

By | 07/06/2023

In this post, we will see what Combine is and how we can use it in our projects.But first of all, what is Combine?Combine is a powerful reactive programming framework introduced by Apple that simplifies the handling of asynchronous events and data flow in applications. By leveraging Combine with SwiftUI, we can create more efficient… Read More »

C# – LINQ’s SequenceEqual

By | 31/05/2023

In this post, we will see what LINQ’s SequenceEqual is and how we can use it in our code.But first of all, what is LINQ’s SequenceEqual?LINQ’s SequenceEqual is a method used to determine if the elements of two sequences are equal.It is important to highlight two things:1) it is possible to use any type of… Read More »

Category: C#

Python – Method overloading

By | 17/05/2023

In this post, we will see how to overload methods in Python.We remember that, Method overloading, is a feature of object-oriented programming that allows a class to have multiple methods with the same name but, with different parameters. This can make code more concise and easier to read by reducing the number of method names… Read More »