[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]

Is it bad if I like Python? If so, what's wrong with it?

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: 49
Thread images: 6

File: python_anime.jpg (113KB, 984x927px) Image search: [Google]
python_anime.jpg
113KB, 984x927px
Is it bad if I like Python? If so, what's wrong with it?

I really like it for general use.
>>
WTF constitutes "general use" of a programming language?
>>
>>56244324
use the right tool for the job

a coding language is just a translator for ur algorithm
>>
>>56244373
>algorithm

>tfw i never studied algorithms

where do i begin?
>>
>>56244324
i just use perl
>>
File: Clrs3.jpg (50KB, 420x475px) Image search: [Google]
Clrs3.jpg
50KB, 420x475px
>>56244403
Have fun.
>>
>>56244502

>expecting to learn things from a textbook

anon, pls
>>
>>56244532
u stupid?
>>
Don't worry about shitters, Python is fine. You should check out the book "Fluent Python" if you want to learn what's unique about Python besides nobrackets, and about how traditional object-oriented patterns relate to Python.
>>
>>56244783
I actually just picked it up $20 at a shop the other day. After reading the intro I knew it'd be worth going through the material.

The thing is, I've tried out a few other languages but I always come back to Python. I'm still not amazing with it but I do want to get best at it as I can before trying another language.

It just seems to get a lot of hate at times, never understood why.
>>
>>56244532
This is interesting. I have trouble teaching myself from textbooks unless I'm taking a course alongside it. Is it an attention span thing? How can we train ourselves to use textbooks effectively?
>>
>>56245142

I think it's your brain refusing bullshit. most textbooks will have you do things like find the number of times a given 3 letter string occurs in the dictionary.

your brain knows this this is bullshit busy work and wants to solve actual problems, so you zone out.
>>
>>56244324
>Is it bad if I like Python?
No, unless you're a webshit, and even then it's only bad to be a webshit. Python is really cool for a lot of things, generally singular or small things from my experience. See >>56244373

>If so, what's wrong with it?
Most commonly cited issues:
- Whitespace
- Dynamic typing can lead to issues
- Generally slow speed in comparison to other utilities/programs written in other languages
>>
>>56245238
... And college assignments are less bullshit? Kek.
>>
only nerdz read books and do assignments XDD
>>
File: slicing.png (82KB, 761x491px) Image search: [Google]
slicing.png
82KB, 761x491px
How I learn python

>I want to do shit
>I google out how to do shit
>I do shit

repeat as needed

at some point shit becomes complicated

>I cant google out anything useful and shit is complicated
>I start studying books and materials
>because of all the previous experience with shit I understand lot of it right after reading
>I do shit

I feel this approach fits me better than studying for some blind preparedness without actual objective, other than "learn python"
of course you need to get the basic syntax under your belt, but not really remember it
>>
import-antigravity
>>
File: 1430.gif (1MB, 226x209px) Image search: [Google]
1430.gif
1MB, 226x209px
>>56245578
>-
>>
File: gaucho.png (88KB, 890x670px) Image search: [Google]
gaucho.png
88KB, 890x670px
>>56245455
no... college assignments are even more bullshit.
>>
>>56245543
Yes this is very effective indeed
>>
>>56245829
kek
>>
>>56244502
Is this literally the only text book they give intro to algorithms courses?
>>
>>56247117
From what I can tell, it's by far the most common.
>>
>>56245829
The beauty
>>
>>56245543
>read book on Python
>want to do shit
>can do most shit without le Google
>finish while others are still googling
>>
>>56245829
%I%don't%see%a%problem%with%this%
>>
I like python for prototyping, my workflow usually goes:
python -> C.
i use python to check my algorithms then I translate it for C, because muh performance
>>
>>56247872
And there is a day when you discover OCaml.
>>
>>56244409
Thoughts on Perl 6?
>>
>>56244324
If you like it and you can get shit done, nope. There is nothing wrong with it.

I personally loathe it, but that has nothing to do with what you can accomplish with it if you like it.
>>
>>56248121
Anon, it's is fast?
can you program some gaymes/enterprise on it?
>>
>>56245142
>I have trouble teaching myself from textbooks unless I'm taking a course alongside it. Is it an attention span thing?
We all do have the same problem. It's a proven phenomena that happened to our generation. We basically are much worse than our parents and grandparents at focusing on longer chains of implications like A->B->C->D->E..., but we are better at acquiring more shorter, unrelated chains like A->B; X->Y; K->L etc. at the same time.
In other words, we are becoming unfit for reading books.
>>
I like how it forces dipshits to indent shit perfectly
>>
>>56249532
this
>>
>>56249532
Haskell does that too though. It also forces dipshits to use pure functions and not mutate everything they see.
>>
you can't switch or pattern match in python
>>
>>56249839

Regex... what is it?
>>
>>56250141
not regex
match expressions/pattern matching
>>
>>56249651
>and not mutate everything they see.
I think you mean "and force them to mutate everything they see."
>>
>>56250141
Confusingly enough, nothing to do with pattern matching.
>>
>>56244353
General use as opposed to specific use?
For example, using Javascript only for front end web development, using ruby only for rails, using Java only for Android development. That's not what he's doing. He's using python for whatever he's working on. Mathematics, graphics, back end Web Development, desktop applications, etc.
>>
As a GIS guy, Python erryday.
>>
I keep seeing the word coding language lately. It bothers me. Is it due to a filter or something? Let me test that: programming language.

>>56247872
How does that work out?
Python and C are quite different, so I imagine it isn't always easy to translate something like example_list = [3, "word", True] into C without extra effort
>>
>>56251535
python's interpreter is implemented in C. it's trivial to write code in python that hooks into C code.
>>
File: 4L_u8ULYJoe.gif (566KB, 230x230px) Image search: [Google]
4L_u8ULYJoe.gif
566KB, 230x230px
>>56244324
No python is good for things.
You can make a lot of money in the animation field as a technical director or pipeline director
>>
>>56247117
CLRS is a classic. There's nothing better. I know people who still keep it by their desks.
>>
>>56251535
Yes python and c are totally different, however if you contain yourself, like not doing : example_list = [3, "word", True], you are good to go, it is like writing the python implementation thinking in c terms.
For example, if while implementing the algorithm i need the reference i just create a wrapper class and call it a day. I think this is really useful for working in complicated stuff like image processing where i can reason with the problem with my eyes not some gdb gibberish.
>>
don't ask /g/ for advice, nobody here has been in the real world and don't know what they are talking about
>>
>>56244324
* The biggest problem with python is that it slows down development
* The second biggest problem with python is that it leads to more bugs
* The third biggest problem with python is that it leads to slow programs
Thread posts: 49
Thread images: 6


[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.