Python is demonstrably worst for the planet than Go.
Comment on F*** You! Co-Creator of Go Language is Rightly Furious Over This Appreciation Email
NEILSON_MANDALA@lemmy.world 3 days ago
i’m a python dev so i know there is a better way to express my frustration
from verbs import fuck
from pronouns import you
fuck(you)
wildbus8979@sh.itjust.works 3 days ago
addie@feddit.uk 2 days ago
Interesting, but misguided, I think.
If you’ve selected Python as your programming language, then your problem is likely either to do some text processing, a server-side lambda, or to provide a quick user interface. If you’re using it for eg. Numpy, then you’re really using Python to load and format some data before handing it to a dedicated maths library for evaluation.
If you’ve selected Go as your programming language, then your problem is likely to be either networking related - perhaps to provide a microservice that mediates between network and database - or orchestration of some kind. Kubernetes is the famous one, but a lot of system configuration tools use it to manipulate a variety of other services.
What these uses have in common is that they’re usually disk- or network- limited and spend most of their time waiting, so it doesn’t matter so much if they’re not super efficient. If you are planning to peg the CPU at 100% for hours on end, you wouldn’t choose them - you’d reach for C / C++ / Rust. Although Swift does remarkably well, too.
Seeing how quickly you can solve Fannkuch-Redux using Python is a bit like seeing how quickly you can drive nails into a wall using a screwdriver. Interesting in its way, but you’d be better picking up the correct tool in the first place.
NEILSON_MANDALA@lemmy.world 3 days ago
>implying i give a fuck about the planet
vivalapivo@lemmy.today 2 days ago
Haven’t python reintroduced the infix notation? That’s incredibly exhausting and lame. A simple
fuck youwould look much fancier
m33@lemmy.zip 3 days ago
Let’s try this instead
NEILSON_MANDALA@lemmy.world 3 days ago
this is why python > go. even a kid knows what my insult means
Axolotl_cpp@feddit.it 3 days ago
This gotta be ragebait, everyone know that a language isn’t bad or good only for a single thing, hell there is no bad language, the reason why “python is better” is because you use it to make kids learn how to program, this is a good use, every other use is just…not good since it’s slow as hell and the indented syntax make it hell to write with.
DrCake@lemmy.world 2 days ago
There’s no bad language you say? https://en.wikipedia.org/wiki/Brainfuck
msage@programming.dev 2 days ago
JS?
runs for cover
anzo@programming.dev 2 days ago
I love Python because it’s actually the second best language to do anything. For concurrency, Go is better. Also, you are terribly naive to judge a language only by its syntax.
NEILSON_MANDALA@lemmy.world 2 days ago
i’m a linguist so i’m super nitpicky about shit that just doesn’t matter at all. like i try to make python read like it’s a declarative language rather than an imperative one because it’s looks more grammatically correct that way (in other words, typing shit like
dog.walks()instead ofdog.walk()racketlauncher831@lemmy.ml 2 days ago
So much bloat. So many boilerplates. Just
is enough.
m33@lemmy.zip 2 days ago
Could you please file a PR ? 🤣