← Home ← Back to /g/

Thread 105687514

22 posts 20 images /g/
Anonymous No.105687514 [Report] >>105687635 >>105687700 >>105688597 >>105688773 >>105690115
Pyjeet takes over the world.

That's the only aspect not mentioned in the futuristic movie: "Idiocracy"
Python is the Crocs of modern, dumbed down society.
Anonymous No.105687608 [Report] >>105687611 >>105692395
Nah, that was Perl in the '90s.
Python is a well designed language, its popularity is not an accident.
Anonymous No.105687611 [Report] >>105687691
>>105687608
Python and Perl are both badly designed. Perl is just funny about it.
Anonymous No.105687635 [Report] >>105687668
>>105687514 (OP)
Can I make apps with this? Like how JS is a web language but you can make desktop apps with electron. Is there an equivalent function/framework for python?
Anonymous No.105687668 [Report]
>>105687635
tkinter is built into python but it's shit.
Other than that is is literally everything, pygobject, pyqt, django...
Anonymous No.105687691 [Report] >>105688646
>>105687611
perl is executable line noise. python at least looks like a programming language
Anonymous No.105687700 [Report] >>105687726
>>105687514 (OP)
kek this monkey still think he is leet coder and doesnt understand AI has already taken over his job. When I need a script in python or bash I ask AI an my script is written without errors. My productivity enhanced in mere seconds.

I am so happy i didnt fall for the coding/computer science meme and actually did engineering. We learned to code, C, Java, Python during out studies and now the knowledge is nto needed anymore.
Anonymous No.105687726 [Report]
>>105687700
Yeah engineering isthe way to go
I've seen one of you guys build a diy electron microscope, which in me eyes is very impressive ngl
Anonymous No.105688597 [Report]
>>105687514 (OP)
Another low effort surface level opinion post.
Anonymous No.105688603 [Report] >>105688679
There are worse choices
Anonymous No.105688646 [Report]
>>105687691
>perl is executable line noise
Regurgitated taking point. Camel-GODS have achieved Zen.
Anonymous No.105688679 [Report]
>>105688603
Where's lisp?
Anonymous No.105688773 [Report] >>105689023 >>105690173
>>105687514 (OP)
What's the difference between these?

print("Hello" + varname)
and
print("Hello", varname)

It was explained that the first one is one argument, while the second is two arguments, but what's the use case difference? When is one better than the other? Should I even use the first one when I can just do f strings all the time?
Anonymous No.105689023 [Report]
>>105688773
how to hack you dumb noob?
Anonymous No.105690115 [Report] >>105690153
>>105687514 (OP)
>Python is the Crocs of modern, dumbed down society
Thats because you don't know how to use it
>what is pyenv, venv, conda etc
>what is class inheiritance
>what is function annotation (both for input and return)
Anonymous No.105690153 [Report] >>105690173
>>105690115
when you actually use python the way it's supposed to you end up hating what people did with it newfag
Anonymous No.105690173 [Report] >>105690648
>>105688773
>but what's the use case difference?
both are basically print(*args), you are just preemptively concatenating them prior to function call
why?
maybe varname's class doesnt have a __str__ method or the __repr__ method doesnt return a string. With the first option, assuming you know what varname is you can manipulate it so you don't get an exception thrown

>>105690153
>when you actually use python the way it's supposed to you end up hating what people did with it newfag
Yeah i know, some people's code look like ass
Anonymous No.105690648 [Report] >>105690927
>>105690173
considering you are using POOP (python object oriented programming) I don't think you are using it properly. python is great for automating tasks and prototyping but for big boy programming it's best to have a low level language manage memory and architecture and you interop with python. this is something you haven't done and it's obvious
Anonymous No.105690927 [Report]
>>105690648
>it's best to have a low level language manage memory and architecture and you interop with python. this is something you haven't done and it's obvious
I've used gc (garbage collector) in MicroPython to manually manage memory on constrained hardware. I've also worked with C# for use in streamer.bot but desu, most my logic is in python
Anonymous No.105692395 [Report] >>105692549
>>105687608
>python is a well designed language
Kek
Anonymous No.105692549 [Report] >>105694411
>>105692395
are you saying lisp is?
Anonymous No.105694411 [Report]
>>105692549
Yes.
Lisp is the most powerful programming language.