Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2024, 14:24
blue_devil's Avatar
blue_devil blue_devil is offline
Family
 
Join Date: Dec 2011
Location: Observable Universe
Posts: 538
Rept. Given: 110
Rept. Rcvd 73 Times in 46 Posts
Thanks Given: 688
Thanks Rcvd at 895 Times in 297 Posts
blue_devil Reputation: 73
RIP Niklaus! Even though I hate `:=` notation, Pascal has an important role for me.
Reply With Quote
  #2  
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
Reply

Thread Tools
Display Modes

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 02:04.


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