[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>TFW /g/ memed me into not using python when it's actually

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 83
Thread images: 13

File: 1494512056611.png (403KB, 633x758px) Image search: [Google]
1494512056611.png
403KB, 633x758px
>TFW /g/ memed me into not using python when it's actually so easy to work with
>>
It's easy to fizzbuzz in, now try doing some real work.
>>
>>60329224
I did. It's much easier than other languages.
>>
File: 1491249095193.jpg (171KB, 800x600px) Image search: [Google]
1491249095193.jpg
171KB, 800x600px
>>60329198
>tfw normies memed that C is hard
>it's actually pretty easy
>>
Is there any reason to learn languages other than python and C?
>>
>>60329330
>tfw normies memed that binary was hard
>just finished writing full featured AAA video game in binary

I didn't even have to get voice actors or anything, I just wrote their voices in 1's and 0's.
>>
>>60329330
this, it's just inefficient
>>60329438
you mean languages that offer both advantages without all of the disadvantages through simply better design; like C#, Swift, golang, crystal, Julia, ...?
>>
>>60329198
well, you should have stayed memed because python is cancer
>>
>>60329784
Do you even have a job? You're the cancer.
>>
File: ppe.jpg (24KB, 400x397px) Image search: [Google]
ppe.jpg
24KB, 400x397px
>mfw im only on /g/ because I'm taking a break from using ruby on rails to code my very own personal blog
>implying you believe me

next step is to resize an image in gimp for coderelated
 ul {
margin: 0px;
padding: 0px;
list-style-image: url("meme-arrow.png");
}


I love python and so do all of my boyfriends
>>
File: 1493820338208.jpg (26KB, 960x690px) Image search: [Google]
1493820338208.jpg
26KB, 960x690px
I warn people against python for the same reason I used to warn against BASIC.

Congrats on your brain damage. You'll never be able to use a real language now.
>>
File: 1492888930219.png (110KB, 387x344px) Image search: [Google]
1492888930219.png
110KB, 387x344px
>>60330017
Pretty much this.
I got brain damage from writing menus for a game project, i had little experience in programming then and it was a complete cluster fuck.

I don't know if this is just me but, when a language has too many features it's easy to make something simple really complex.
>>
>>60329224
If you're having trouble creating something in Python you must have trouble creating it at all.
>>
>>60330017
while Python programmers earn 200k a year you are masturbating in your moms basement to 'real languages' like Rust
>>
>>60329198
Anybody know how to roll code back from py3 to py2.7? Some sort of bug is preventing my 3.6 code from working correctly.

Even if I have to do it manually, is there a chart someplace that would tell me what commands need to be changed to?
>>
>>60331691
You seriously can't hunt down the bug? Why /g/ is full of baby coder?
>>
>>60331895
So you were just born knowing everything you know now? I'm learning, I'm trying, and unlike some people I'm not so arrogant that I think I already know enough.
>>
>>60331924
Put print everywhere and track down the unwanted behavior. FUcking millenial who never know the thrill of bug hunting.
>>
>>60331952
It's not an unwanted behavior, it looks like it has something to do with the way that 3.6 hashing interfaces with the API. 2.7 however doesn't have that issue.
>>
>>60331924
if you are being serious, /g/ is the last place you should be looking for help.
>>
>>60332044
I know that 4chan is a crapshoot for advice, but I'm always here anyway and don't mind the shit-flinging as long as I eventually get what I need.
>>
>>60330682
WTF. I'm a Python programmer and I can't find a job anywhere. I'm forced to work in roofing right now. Where can I get a job using Python??
>>
>>60331691
>>60331895
You can usually tell that most of the people bragging about how awesome they are, don't actually know shit, so they just try to put down anyone that asks something they can't answer.
>>
>>60332218

If you can only program in one language, the language isn't the issue.
>>
>>60332249
>Mom I cant' find the bug. I will go ask stupid question on /g/, they will help me to hunt the bug.

Whining code monkey who can't debug.
>>
>>60332255
>>60332288
Perfect examples of anons putting others down in order to make themselves feel better about their own inadequacies.
>>
So this peeing race is great and all, but seriously... no one here knows how to roll back python code from 3 to 2?
>>
>>60332255
Then why the fuck did you mention how much Python programmers make in the first place?? Just to lie?
>>
>>60332388
Anon try to run in 2.x and see what's broken. Might run fine, might not, depends on what you've used. Might be easier to find your bug, might not.
>>
>>60332619
Not that guy, but I'm a Python programmer and I make a lot. However, I'm also a senior systems engineer, can program in any language needed, and if not I'll learn as I go. Anyway the other anon wasn't wrong, you'll need to more than just a "Python programmer" to get a decent job.
>>
>>60331691
>python can't be properly debugged like other programming langues can
Is this true or is anon just retarded?
>>
>>60332388
just run your program with python2 instead of 3 lol not hard
>>
>>60332734
Retarded. https://docs.python.org/2/library/pdb.html
>>
>>60332680
That's the route that I was planning on taking, but I wanted to know if there was a chart that shows equivalent tags for 2/3, since I'm pretty new to python and don't actually know anything.

>>60332760
Uneducated. There's a great deal of things I excel at, but this is my first python script so this I kind of suck at at the moment.
>>
>>60332819
you're only just beginning to learn python, so why do you want to translate between the two?
just pick to learn python 2 or 3 and learn that, translate them when you need to.
>>
>>60332819
Just find your bug. Before you advance to pdb, just use the poor mans debugger and print out your variables to find your bug. If your script is actually crashing out post the output.
>>
>>60332853
>>60332863
The problem is that I've been piecing code together from example scripts and asking for help from people while I'm learning, and now half of my program is written in 2.7 and half is written in 3.6. The half that's written in 2.7 doesn't work in 3.6 because (something to do with either a hashing bug in python3 or how that hash is handled by the API it's supposed to interface with), so it should be easier to just roll the 3.6 code back to 2.7 and use that for everything.
>>
>>60332998
i dont think you're learning this language in a very good way anon.
>>
>>60333027
I know. If I meant to actually learn python, I'd go about it differently, but I'm not a programmer and really only have this one project that I need done which would make my job a LOT easier.
>>
File: 1477863180223.png (7KB, 251x201px) Image search: [Google]
1477863180223.png
7KB, 251x201px
>>60333082
>i want the benefits of programming without the work
>>
>>60333450
If you want to make a ham sandwich, do you plant the wheat and slop the pigs or are you actually smart enough to realize that you're not a farmer and that doing all that would be a waste of your time?
>>
>>60333508
wouldn't that be a nice experience anon? i can figure out how my sandwich is made and have something to say at the end i did it myself, then i can eat it & be proud.
python is literally taught to kids, if they can do it so can you
>>
>>60333532
Which are all good, valid points, except that that sandwich would take six months to make, your first several attempts wouldn't turn out right, and you're hungry right now. So you get help from people who already have the knowledge and resources while you observe and gain said knowledge and resources in the meantime.
>>
File: vaahtista.png (137KB, 301x312px) Image search: [Google]
vaahtista.png
137KB, 301x312px
>>60329330
>people that rank programming languages by "difficulty"
>>
Is cython worth it?
>>
File: 1492618231265.png (248KB, 1000x1200px) Image search: [Google]
1492618231265.png
248KB, 1000x1200px
>>60329198
Brainlet languages are best suited for brainlets after all.
>>
File: 1484538414856.jpg (182KB, 1280x720px) Image search: [Google]
1484538414856.jpg
182KB, 1280x720px
>>60329198
>>
>>60329198
Python is shit for doing any real work. There is a reason nothing is written in it
>>
>>60334754
Pray tell us what "real" work it is that you do?

>>60333876
Same question for you.
>>
>>60334902
Wordpress developer
>>
>>60334754
>Python is shit for doing any real work. There is a reason nothing is written in it

Is that so?

Python is part of the winning formula for productivity, software quality, and maintainability at many companies and institutions around the world. Here are 41 real-life Python success stories, classified by application domain.

https://www.python.org/about/success/
>>
>>60335246
time after time people rediscover that interpreted shit isn't scalable
https://www.iron.io/how-we-went-from-30-servers-to-2-go/
>>
>>60335345
So we should all just ditch Python for ALL use cases because it can't scale to 1M concurrent users. I guess we should all use ASM instead of writing system scripts.
>>
File: patchouli_think.png (92KB, 357x331px) Image search: [Google]
patchouli_think.png
92KB, 357x331px
>>60334902
I just finished a masters in theoretical physics. What I've found is that Python is extremely slow and clumsy at handling dense numerical calculations such as higher-dimensional DMRG or CPQMC. Most people I know only use Python because they're most familiar with it and the code is very easily readable. I've even had a colleague in quantum gravity complain to me that Python is too difficult compared to Mathematica. It's all the same.
I've used C++ and Fortran as alternatives for scientific computing and found Fortran to be the fastest and C++ to be the most stable.
>>
>>60335246
>Python is great! Says so here right on their website.
>>
>>60329224
t. retard
>>
>>60335496
It was examples of "real work" python had been used for.

Are you pretending to be retarded?
>>
>>60335465
It's almost as if you need different tools for different needs....

>Python sucks because it's not he best tool for my snowflake needs
>>
>>60335465
>Fortran and C++ for scientific computing

My nigga.

But I do graduate work in a computational quantum chemistry group, and the main computer science/programming guy in our group gives a lot of praise to Python, not for actual numerical calculations, but precisely for its ease of use and general applicability.
>>
File: koakuma_bird.png (158KB, 319x451px) Image search: [Google]
koakuma_bird.png
158KB, 319x451px
>>60335695
That's literally why you asked for my job, wasn't it?
>different tools
The points is that there are countless better alternatives to Python, aside from the fact that it's probably the most approachable scientific computing tool.
>he's a fucking retard
>>
File: 1494125885890.jpg (54KB, 609x566px) Image search: [Google]
1494125885890.jpg
54KB, 609x566px
>>60329198
>tfw i made that wojak a year ago and it has become one of the most popular wojaks circulating 4chin
>>
>>60332734
Retarded. Python has adequate debugging capabilities (you really only need print unless you're retarded anyways) and there are a number of environments that have extended debuggers.
>>
>>60335750
COol story bro here have some internet points +2
>>
>>60335465
>Python is too difficult compared to Mathematica
These dinosaurs are in charge of teaching people.
>>
>>60332998
Your English is really good for someone from India.
>>
>>60335797
Nah this anon is just inexperienced, literally his first experience programming it sounds like.
>>
>>60335779
Awesome thanks bro, what can i spend these on?
>>
>>60335797
Pretty sure English is a National language in India.

>>60335810
Not my very first, but first in Python and most of the other crap was just little batch scripts for things that I had to use the command prompt for too frequently. This project isn't particularly complicated, I just keep running into little issues that I figured I could get quick help with from people who actually know what they're doing.
>>
>>60329198
>interpreted
>whitespace
wooooah nelly
>>
>>60335398
>it can't scale to 1M concurrent users
well, that's something that i call real work
like you asked
>>
>>60337683
You realize 1M concurrent users is Facebook tier infrastructure? I guess my Python apps at work for 30k users isn't real work.
>>
>>60335345
>how we went from 30 servers to 2 after after a re-write with 3 years of learning experience
sounds like python was indispensable for the prototype and did exactly what it was supposed to
>>
>>60337312
>Pretty sure English is a National language in India.
India has more English-as-first-language speakers than the US has residents.
They do have an accent but so does y'all, eh?
>>
>>60332218
Drink the Kool-aid and move to the valley for some inane startup and people who believe they're better than you because they wrote the most convoluted Python script to do a basic fucking task. or because they used pre-made libraries to do 99% of their job for them

>>60332288
putting this much effort in your shitposts, just ignore or tell him to google it and call him a fag like any other /g/ post that's not /dpg/. >>60332330
>>60332249
>implying anyone on /g/ is nurturing...
/g/ is p. masturbatory, if you want help you'll have better luck on reddit unironically)

>>60335398
Why not use multiple languages? are all companies this retarded?
Write your frontend in some shitty language
that calls a backend written in a good one.

And the backends can be different languages... if C++ is the best way to read and process data a certain way, then C++ is what i'll use, but if the data is all basic data or string parsing, there's no reason not to use Java\C#\Python\Whatever.

>>60337829
So lets talk scalibility. You know a lot of what comes down to handling x concurrent users? Resources. Say for example, on one system, an app supports 30k in python, but 60k in C#. C# is more effective, even if you never plan to hit more than 20k users concurrently...

If the capability in the same system is double, you could *Theoretically* half your VM resources, therefore saving you money.

>>60333027
Welcome to shitty old languages. Like C\C++ with their new renditions, Python newbs will get btfo by conflicting ways of writing basic shit now :(

>>60332998 Have you tried Codecademy? i don't python, and idk what version they're teaching, but it's free and probably a better start :)
>>
>>60329198
Look into nim, OP. It has the speed of C (almost) and the productivity of python.
>>
>>60335812
you can redeem them at https://www.reddit.com
>>
>>60330682
Eh? Why are you feeling scared of Rust? It has a completely different niche. An average python programmer is actually, honestly too retarded to write a rust program that compiles.

You pythonfags can't even handle C, why do you think Rust would appeal to you?
>>
>>60330072
Sorry anon, but you already had brain damage. Your inability to use python just exposed it.
>>
Next up try the Apple meme
>>
Yes, python is pretty good.
I use it if I want something quickly done, since I know there will be a library for what I want.
I have nothing to complain about the language.
>>
>>60339846
This fsggot writes a bunch of shit and the. It turns out he doesn't even know Python. Lol mother fucker you have no business commenting here.

In regards to scalability, what you're suggesting is that developers should prematurely optimize their apps for an order of magnitude more concurrent users than they expect. Premature optimization is a time sink and basic fallacy that should always be avoided. Knowing this comes with real world experience in managing big projects.
>>
First rule of g - you dont listen to gtards
>>
>>60342733
Second rule of g - you always listen to gtards
Thread posts: 83
Thread images: 13


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.