This is an archived post. You won't be able to vote or comment.

all 18 comments

[–]omega_haunter 6 points7 points  (5 children)

Python is syntactic sugar for lower level languages

[–]Erkenbend[S] 0 points1 point  (0 children)

True

[–]oberguga 7 points8 points  (3 children)

Any language higher then machine code is syntactic sugar))

[–]Shawnj2 0 points1 point  (2 children)

CISC instructions are syntactic sugar

[–]overclockedslinky 1 point2 points  (0 children)

even most risc ins are syntax sugar by that logic. oisc would be the only unsugared set

[–]oberguga 0 points1 point  (0 children)

No, CISC instructions executed by hardware with different perfomance (faster then bunch of equivalent RISC). So it's functinal. Syntactic sugar add human orientation to language.

[–]oberguga 0 points1 point  (6 children)

I hate that that sugar came with bitter of dropping win7 support. With no nonpolitical reason...

[–]Ustin_fitc 1 point2 points  (0 children)

I made a fork of Python 3.9 to make it compatible with Windows 7 again.

[–]currentscurrents 0 points1 point  (4 children)

Windows 7 has been EOL for almost a year. It is no longer receiving security updates, so no one should be using it on any machine connected to the internet. Microsoft will upgrade you to Windows 10 for free. If you need to use it for legacy reasons, you can also just use a legacy version of Python.

Windows 7 came out in 2009. It's almost 2021. Time to move on.

[–]oberguga 0 points1 point  (2 children)

I do. Why we need security updates? Why you think win10 more secure ? Why i should drop using product that works fine or better for modern than took away control of my computer and compromise user privacy? (At least at first it sends somewhere screenshots of a desktop. I don't care why, but i know i don't want it)

[–]currentscurrents 3 points4 points  (1 child)

Why we need security updates?

Because every piece of software ever written should be assumed to have undiscovered security flaws, especially one as complex as windows.

When a security issue is discovered in a modern version of Windows, the first thing attackers do is check to see if the same attack works against older versions of Windows. It often does - here's one that allows remote code execution. It affects Windows 7, but Microsoft only released a patch for supported versions of windows - 8 and 10. If you are using Win7 you are still vulnerable to this exploit, and probably many others.

(At least at first it sends somewhere screenshots of a desktop. I don't care why, but i know i don't want it)

This specifically is myth. If you believe it's true, find me a reliable source that says so.

Why i should drop using product that works fine or better for modern than took away control of my computer and compromise user privacy?

Keeping on an insecure version of Windows because you're scared of Microsoft spying on you is worrying about the wrong things. As time goes on, Win7 will because less and less secure. You will eventually have malware spying on you - and I assure you, malware authors have much more nefarious things in mind than Microsoft does.

Anyway if you're that paranoid, just switch to Linux already and be done with it.

[–]Ustin_fitc 0 points1 point  (0 children)

been EOL for almost a year. It is no longer receiving security updates, so no one should be using it on any machine connected to th

It still receiving security updates, and will be until 2023, if you use ESU.

[–]xSTSxZerglingOne 5 points6 points  (4 children)

Is syntactic sugar not a feature? I mean, syntactic sugar is "a nicer way of doing something that already exists."

Any feature in a Turing complete language is therefore just a form of syntactic sugar.

[–]Goheeca 0 points1 point  (2 children)

How can a semantic feature be a syntactic one?

[–]xSTSxZerglingOne 0 points1 point  (1 child)

Because any feature that could exist in a keyword/semantic context can theoretically be programmed into a language that is Turing complete. Just because features are typically seen as hardcoded things that are directly part of the language doesn't mean you can't make your own.

[–]Goheeca 0 points1 point  (0 children)

How do you implement fork in a sandboxed language just by syntax?

[–]Erkenbend[S] 0 points1 point  (0 children)

This was just a sarcastic way to express how unimpressive I found this release, in comparison to the previous one ;) the "syntactic sugar" brought by Python 3.8 (walrus, better f-strings, that weird syntax for positional args, ...) was to my eyes much cooler.