MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/qjhynw/walrus_operator_pumpkin/
r/ProgrammerHumor • u/aplarsen • Oct 31 '21
9 comments sorted by
5
wait what programming language uses :=? make?
:=
3 u/aplarsen Oct 31 '21 PythonPascal has it as well 4 u/thelanman8000 Oct 31 '21 Python from 3.9 onwards 4 u/aplarsen Oct 31 '21 3.8, but yeah 1 u/thelanman8000 Oct 31 '21 wait really? what was new in 3.9 then? 1 u/aplarsen Oct 31 '21 Nothing terribly exciting. Lots of efficiency improvements, from what I could tell. 2 u/caagr98 Oct 31 '21 Dict | operator, list[int] instead of typing.List[int], slightly more flexible decorators, str.removeprefix, and a major rewrite of the parser. Some convenience, but nothing particularly impressive. 1 u/turtle_mekb Oct 31 '21 ah okay, i haven't used python in years 2 u/Kaizen_85 Oct 31 '21 Golang
3
Python
Pascal has it as well
4
Python from 3.9 onwards
4 u/aplarsen Oct 31 '21 3.8, but yeah 1 u/thelanman8000 Oct 31 '21 wait really? what was new in 3.9 then? 1 u/aplarsen Oct 31 '21 Nothing terribly exciting. Lots of efficiency improvements, from what I could tell. 2 u/caagr98 Oct 31 '21 Dict | operator, list[int] instead of typing.List[int], slightly more flexible decorators, str.removeprefix, and a major rewrite of the parser. Some convenience, but nothing particularly impressive. 1 u/turtle_mekb Oct 31 '21 ah okay, i haven't used python in years
3.8, but yeah
1 u/thelanman8000 Oct 31 '21 wait really? what was new in 3.9 then? 1 u/aplarsen Oct 31 '21 Nothing terribly exciting. Lots of efficiency improvements, from what I could tell. 2 u/caagr98 Oct 31 '21 Dict | operator, list[int] instead of typing.List[int], slightly more flexible decorators, str.removeprefix, and a major rewrite of the parser. Some convenience, but nothing particularly impressive.
1
wait really? what was new in 3.9 then?
1 u/aplarsen Oct 31 '21 Nothing terribly exciting. Lots of efficiency improvements, from what I could tell. 2 u/caagr98 Oct 31 '21 Dict | operator, list[int] instead of typing.List[int], slightly more flexible decorators, str.removeprefix, and a major rewrite of the parser. Some convenience, but nothing particularly impressive.
Nothing terribly exciting. Lots of efficiency improvements, from what I could tell.
2
Dict | operator, list[int] instead of typing.List[int], slightly more flexible decorators, str.removeprefix, and a major rewrite of the parser. Some convenience, but nothing particularly impressive.
|
list[int]
typing.List[int]
str.removeprefix
ah okay, i haven't used python in years
Golang
5
u/turtle_mekb Oct 31 '21
wait what programming language uses
:=? make?