[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

[Advertise on 4chan]


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1585543534875.png (157 KB, 2000x2000)
157 KB
157 KB PNG
*makes /g/ seethe with rage*
>>
>>78818666
Absolutely DEVILISH
>>
>>78818666
/g/ is not pythonic
>>
>>78818666
Slow garbage
>>
>>78818666
Devilish trips. I'm going to pick up popcorn and wait for the /g/tard butthurt.
>>
>>78819618
0.02ms are nothing for your fizzbuzz
>>
>>78818666
A beautiful versatile language that compliment C very good, ie when you just want something done and do not care about speed
>>
>>78818666
I'm lazy so I want to do ++ or += whenever i get the chance to.

also I still don't understand classes in python. unlike c

why do you have to put __self__ in each function or a class?
>>
>>78821646
C do not have classes, are you thinking about c++? Regarding __self__ it is the class instance object
>>
>>78818666
I admit it's pretty fun to use for hobbies and other types of personal projects
>>
>>78821710
i know c doesn't have classes.
it's just that they're both somehow interchangeable that it's been fucking my head. i still can't find good documentation on pure C
>>
>>78821744
>i still can't find good documentation on pure C
Read K&R C
>>
>>78820597
how many years would someone hang around here and still get baited by 90% of bot threads?
>>
>>78818666
see the what with rage
>>
File: 1320[1].gif (483 KB, 250x190)
483 KB
483 KB GIF
Use exit() or Ctrl-D (i.e. EOF) to exit
>>
lmao why dont u guys hating on python go to the FAANG research scientists using ML/python to make millions and telling them theyre doing something wrong
oh wait its because youd rather circlejerk about languages than meet business needs
>>
>>78822890
>>78821306
>>78821741
>>
>>78819618
Then the does youtube-dl, one of the most popular and useful open source projects in the world, use Python? So many other open source and commercial projects do.
>>
>>78818666
i am seething uncontrollably
>>
i am sneeding

would python be nicer without indentation
>>
>>78822890
based
>>
>>78824937
this post has to be bait. nobody can be this retarded
>>
>>78821306
>Very good sir
>show bobs and vagene
>>
>>78818666
That does not look like Julia's documentation
>>
How do you prevent trainwrecks in dynamically typed programs, when the user inevitably inputs garbage ?
>>
File: 200w.gif (1.29 MB, 200x235)
1.29 MB
1.29 MB GIF
>>78824937
The most useful open project in the world is about Youtube.
>>
File: 1577348739129.jpg (620 KB, 740x1036)
620 KB
620 KB JPG
>>78818666
thanks satan
>>
File: armless_nigga.jpg (36 KB, 401x401)
36 KB
36 KB JPG
I was told PHP is a shitty programming language and I'm better off learning something else, like Perl.
I develop shit for my website sometimes so I'm looking into using a Flask web server with Python. I tried to get Python to work on my Windows 10 computer but it won't fucking install and I could install it on Debian to develop shit.

Is it easy to go from PHP to Python or should I try another language?
>>
File: boomer.png (7 KB, 300x168)
7 KB
7 KB PNG
People ought to just use the right tool for the right job. Sometimes python is the right tool, sometimes it isn't.
>>
>>78819618
use julia
>>
this has to be bait, right?
>>
>>78819618
99% of use cases aren't performance critical. If you're in the 1% then yeah, don't use an interpreted language.
>>
>>78826159
this has to be bait, right?
>>
File: 1024px-Spyder_logo.svg.png (78 KB, 1024x1024)
78 KB
78 KB PNG
>>78818666
For me it's Spyder. The best IDE known to man.
>>
>>78824937
> downloading videos from internet is useful
>>
>>78826159
>I tried to get Python to work on my Windows 10 computer but it won't fucking install
Just use Anaconda
>>
>>78821882
what's wrong with Ctrl-D?
>>
>>78821789
/g/ is full of NEETs LARPing as professionals. They have to reply to every thread to keep up the facade.
>>
>>78825914
Garbage input is not a problem static type systems can solve.
You'd know this if you ever programmed.
>>
>>78818666

naa, i like it
>>
>>78821882
>>> type(exit)
<class '_sitebuiltins.Quitter'>
>>> repr(exit)
'Use exit() or Ctrl-D (i.e. EOF) to exit'
>>
File: 1598039823762.jpg (261 KB, 888x894)
261 KB
261 KB JPG
>>78818666
>hey guys what if we made c expect we gave a it a shittier syntax, introduced the possible of subtle type errors and made it slower
literal shit language. procedural programming is retarded and every language based on it sucks including c
>>
>>78818666
/g/ knows it is the best language and is the future. They fear the almighty python.
>>
>>78818666
>2020
>not using chadskell
lmaoing @ ur life
>>
>Want to develop new program that does something similar software doesn't
>There's a python module that does this functionallity I need with just an import and a function call
>`pip install` fails because I need some library installed
>check it's only available on linux
>find someone made an alternative for windows
>doesn't compile on my machine
>try and fail to solve the errors
>give up and install linux on vm
>this library does not work on vm
>install linux on new partition
>have to apt-get a lot of dependencies
>solve all the installation problems
>downgrade till version that works, for python 2
>get to have this two lines of code working
>the rest of my code is not compatible
>export to cython for calling from my code
So ''Pythonic'' means getting asphyxiated by a constrictor
>>
>>78827272
kek no, R studio with reticulate is far better for science n' stuff
>>
>>78829503
>uses winblows for development
You could have stopped this.
>>
>>78819618
>What is IO-bound
you're literally (literally) retarded
>>
>>78829522
>R studio
BLOATMAX. Seriously look at how much it eats up. Spyder used to be BLOATED AF, but they finally fixed that.
>>
>>78829745
when will your spidey correctly mark the syntaxis from python3?
https://github.com/spyder-ide/spyder/issues/12995
>>
File: youjealouswhiteboy.jpg (58 KB, 425x509)
58 KB
58 KB JPG
>>78830003
>he needs a debugger
WEW, how about you learn the language. DESU I usually just use sublime text.
Protip: the sklearn documentation is full of fuckups! If you want a few more green squares for your github activity, that would be a great place to start.
>>
>>78819618
doubt any of the anti python shillers here, are even coders
>>
>>78831543
Python is not a real programming language. Similar to Java, it is an interpreted language.
>>
>>78822890
Scientists make squat. The companies that hire them make the millions.
>>
>>78819618
Doesn't need speed in its area of application
>>
>>78826159
If you weren't able to install python on windows you better stock with php
>>
>>78831618
Define "real programming language"
>interpreted language
No such thing. All langauges can both be compiled and interpreted.
>>
>>78818666
It's useless for anything that will be used for more than a week. As soon as you update a dependency something is guaranteed to break and you get to gave fun with tracebacks. Dependency management is so shit the best solution is to just provide "virtual" environments for every single program you have to use and bloat your system with GBs of python interpreters and modules. The reason why it's used in le industry is because it's cheaper to pay a pajeet to mess around with packages than it is to properly build software that will last 10+ years. Just write everything in C and use python for prototypes. Stop abusing package management. I am tired of dealing with broken projects: if it's more than a year old it's a miracle if it works without changing anything. All it takes is one library to have a problem with other library. And the worst part is you won't find out until you run the damn thing, because there are no tests or it's impossible to cover everything.
>>
>>78833182
Nobody is forcing you to update your dependencies. Don't blame the language, this shit can happen regardless of language used.
>>
>>78833268
Yes, it's not a problem with language itself, but package management. And I am not even updating dependencies, just installing them and because someone left >= in requirements it installs the latest version which, of course, breaks the API, but you don't find out until that part of the code is executed. Pip sucks, things get though when you are dealing with dependencies of a dependency of a dependency. All it takes is for one thing to go wrong and everything breaks (silently until you run it, then you have to go through changelogs because error messages are useless). If I see some tool on the internet and it's written in python I assume it won't work if I download and try to run it. Python needs to fix their shit, switching from 2 to 3 was bad enough, but pip doesn't even have proper dependency management. Tools around your language are possible just as important as the language itself. What does it matter if you can do some cool thing in the language if it can't guarantee you that your thing will still work after 2 months on another computer?
>>
>>78818666

I'm in AI and we use python exclusively.
>>
>>78833182

This is a problem with linux as a whole.
>>
>>78821646
there is hardly any good reason to ever use ++ over +=1 unless you want to be obtuse or you are playing code golf

python has += and it is sometimes way faster since objects can overload the operator.
>>
>>78833534
So you're saying you are so incompetent you can't make your programs work so you blame it on dependences? Linux uses that all the time and it's a bloated mess. At least python has balls to force new things.
>>
>>78833626
But it's not as bad as with python packages. Libraries written in C have much more stable APIs than your average library written in python where breaking changes are very common.
>>78833693
>your programs
They aren't my programs, that's the problem. I can't control what other people do. I don't use python besides for quick scripts.
>>
>>78818666
it doesn't scale well
>>
>>78833534
Package management everywhere is a dumpster fire, often because too many developers are incompetent fuckwads.
>>
>>78831687
t. has no idea what hes talking about
>>
File: 1593241916695.png (68 KB, 754x486)
68 KB
68 KB PNG
>>78834537
Your average webshit "developer" makes as much, if not more.
>>
>>78818666
nigger shit

nice Evil trips
>>
>>78818666
Lua is more popular
>>
>>78834763
That's mostly in academia. In industry they typically make much more.
>>
>>78835760
You're only trying to convince yourself.
>>
File: 1513779734700.jpg (80 KB, 775x720)
80 KB
80 KB JPG
>>78818666
I like it.
>>
If you refactored Python to just use braces, and not be tab/whitespace sensitive; Would it still be Python?
>>
>>78835841
I like Ritsu. Python's okay, I guess.



Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.