Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 01-13-2024, 09:02
phroyt phroyt is offline
Friend
 
Join Date: May 2018
Posts: 77
Rept. Given: 0
Rept. Rcvd 8 Times in 4 Posts
Thanks Given: 35
Thanks Rcvd at 106 Times in 40 Posts
phroyt Reputation: 8
The ':=' operator is officially known as the assignment operator.
It was dubbed the walrus operator because the ':=' syntax resembles the eyes and tusks of a sideways walrus.

Walrus appeared in Python 3.8

Code:
>>> walrus = False
>>> walrus
False

>>> (walrus := True)
True
>>> walrus
True
I loved the early days of Object Pascal, Win32, and Delphi 1 and 2.
Everything started to fall apart to Borland when Anders Hejlsberg went to Microsoft.

BTW I still use Delphi and earn money from it, even after almost 30 years.

R.I.P Niklaus!
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
F9->Shift-F9 Exception passing in Olly bgrimm General Discussion 15 02-15-2005 05:06


All times are GMT +8. The time now is 22:07.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )