this post was submitted on 19 Jun 2023
29 points (91.4% liked)

Python

6356 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 

Yay or nay, memes should be allowed in !python@programming.dev ?

you are viewing a single comment's thread
view the rest of the comments

Couldn't have explained it better myself. I don't remember where exactly I first read about this trick, but it's mainly useful in C or Assembly, as you don't have to resort to using a third variable/register.