Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "why python why"
-
What the fuck student. Why in fuck would you submit a python assignment in word. So that all the formatting you know the stuff that tells python how to run the code all fucks up. How the fuck can I mark this.28
-
my_girlfriend: who do you like more in your life?
me: linux
my_girlfriend: What????
me: you asked who i LIKE not Who i LOVE?
my_girlfriend: ok, who do you LOVE?
me: python
i dont know why she left me, i think she was php fan18 -
My professor( 2 yrs ago) : Why r u wasting ur time on Python. Learn Java or .net , u will get a good job.
Now she asked me for python tutorials cause she needs it for her PHd. 😂😂😂12 -
*Posting screenshot about random stuff*
Typical comment: Why are you using light theme, oooh my eyes 😨
*Posting something related to Windows*
Typical comment: Why are you using Windows, use Linux like "pro", btw I am using Arch 🙄
*Posting something related to IDE*
Typical comments: use vim, why are you using that
*Posting something related to Java*
Typical comment: Java is slow ( 🤮 ), use Python it's cool.
*Posting something related to JavaScript*
Typical comment: js is cancer, get rid of it and use {some_other_language}
Just a normal day on devrant 🤷
(not mentioning of course non dev related sick comments)
to be continued41 -
Yesterday on #vim irc
User1: Hey this is my code <linkto python code>, why isn't this working?
User2: It's Vim channel, you will have more luck on #python.
User1: But I'm coding on Vim so it's Vim related
Me: Then go to #ikea because of that chair you are sitting on while typing.5 -
Are you for real Guido/python devs?! Can we stop shoving politics into non issues just to virtue signal please?
What the fuck is next?! Oh you can't kill a process you politely put it to sleep, you can't call that machine a server anymore it might get offended now it's called a service caring electrical appliance, hey what about removing python all together after all python could be misconstrued as phallic and drive women away; I know! Let's call it Santa/elves instead of master/slave!
Fuck off! And what's that of you being akward saying server/slave terminology around black people? That's insanely racist! Who the fuck thinks all black people are descendants of slaves? Why the fuck are you racist enough to imply they can't do their job properly because (unlike you) they would be uncomfortable, you low expectations racist fuck!
You just fucked with your open source base and I really don't wanna see python going woke and then broke.
https://github.com/python/cpython/...31 -
Type letter "w" in wife's browser
"What is the ratio of open to closed doors in the world right now?"
"Why doesn't my baby molt her skin all at once while she grows?"
"Will Python help me to make a robot friend for my toddler daughter"
"Where do I buy tensors for building robot brains"
"Why don't we solve aging population and climate change by not vaccinating boomers"
Me: ... "Seriously, why can't you just watch hardcore porn, like a normal person"25 -
Got assignment that needs to be written in C.
I write mostly Python.
It's ok i got it.
*after 5mins*
WHY THIS SHIT DOESNT FUCKIN WORK.
ah shit, i need to declare the variables.8 -
PHP sucks
JavaScript sucks
Python sucks
C sucks
C++ sucks
Apple sucks
Microsoft sucks
Linux based operating systems suck
Vim sucks
Emacs sucks
$IDE_OF_CHOICE sucks
Docker sucks
The way we talk about our tools makes we wonder why we do programming in the first place.23 -
"Running the sample code is easy! Just git clone, make sure python, lua, gcc, docker and cuda are installed, and run ./install.sh. Easy!"
Me: Light 6 candles, sprinkle some thyme water with unicorn tears over my keyboard, start chanting an unholy hymn... shit... some compiler error from a library I've never heard of before.
Why can't these "interesting samples" come with easy pre-compiled binaries...18 -
My company wants to start using Node.JS.
JavaScript.
They wanna use JavaScript.
For everything.
JAVASCRIPT.
FOR EVERYTHING.
Scene;
**Asshat enters break room after meeting**
**Asshat turns to Asshole**
Asshat: “Oh here in a year or two we’ll just be rewriting all of this is Node.JS.”
Asshole: “JavaScript. You’ll be rewriting it in JavaScript. And fucking WHY?”
Asshat: “It’s better”
Asshole: “It’s not really a general use language. Why wouldn’t you guys choose Python if you wanted to write EVERYTHING in a goddamn scripting language?”
Asshat: “Google uses Node.JS”
Asshole: “For back-end web development type stuff. I doubt their accounting systems are written in fucking JavaScript...”
Asshat: “Python is oooooold.”
Asshole (to himself): No you’re old, you stupid, ancient fuck.
**Asshole rolls his eyes and walks away**
**Asshat continues his ignorant chuckling**
End Scene;
Clearly years of fixed format RPG programming has killed too many of Asshat’s brain cells.12 -
"Why can't I just get the terminology right in my head"
java: map.
javascript: object?
python: dictionary!
ruby: HASH!
php: aSsoCiaTiVe aRrAy14 -
Wrote a python script to fetch details of amazon products to monitor price differences.
The script is only 50 lines, which is why I love python!8 -
Ok so cowsay itself is already a pretty awesome thing and combined with lolcat it just gets better.
Another awesome and cool thing is devRant and so I thought: 'Hey, why not combine these awesome things into an even more awesome thing?'
Here it is:
(I will open source the python file tomorrow :D, it is just 10 lines actually)
Please tell me if you have any more ideas! :)5 -
Why all the hate? Jesus...
I love my Windows 10 laptop, I love my Android phone, I love working in PHP. But I would never, NEVER, think less of anyone who prefers Mac/Linux/iPhone/C#/Python/what-ever-the-fuck12 -
Why is Java so comfy?
I don't know why, but every time I try to use Javascript and Python I feel lost in those functional gimmicks and fancy libraries.
Java feels like the warm, soft old couch at home.9 -
MATLAB sucks so bad. Why my university professors keep forcing us using that crap instead of Python?!20
-
Started with planning to develop super Mario Bros. Using python.
Ended up with a music player which can play ogg (and mp3 files with 320 kbps bitrate) .
Why!?3 -
Me: hm yes this will be easiest in python
Me, 10 minutes later: fuck python why am i using this piece of shit8 -
So I'm in HS CS and some of us know how to code, and the others are struggling with variables (in python).
One of them asks: "Sir, why are doing python? I heard about java and how it changed the internet and stuff"
So naturally my teacher explains the difference (between JS and Java, in case your captain of the USS dumbass), but then described JS in the best way possible:
"JavaScript is basically the California of programming, its a really weird place where people mix everything up and nothing makes sense"4 -
I hate when idiots make assumptions without basis. My company so higher up idiots decided not to use Python. I said why they said it’s not scalable. I asked have anyone of you ever wrote micro service which can handle millions request every hours? Have you ever wrote service in Python? Have you ever worked on Python? Architect said but Python doesn’t have type support? I said there is use Python3. He said I want to validate my request payload. I told have you tried form and decorators. I told, I have 8 years experience. I worked in every language and I one has advantage over others depending on situation. Then they said, but we want only Java as finding resources is easy. I said have you checked git Python overtook Java in case resources, you are outdated. I don’t want to leave company but even after so many argument these idiots just dropping Python and because of that I am loosing so many good resources.8
-
ARGGHHHH Python!!! why the hell is this a thing... if I specify a default argument, I want it to be a default argument, not get carried over....13
-
Python is such a elegant language, but why can't I have an if-clause on a simple for-statement when I can have it in a list comprehension??22
-
Today I had the pleasure to introduce to my Professor (who teaches Python) that you could cause a keyboard interrupt typing Ctrl-c. Her logic was that "Ctrl-c is for Copy" and the only way to end a infinite Loop in the shell is to, "X out the Window." She also clearly has never dealt with linux or terminals.13
-
Why do most Java programmers know Java and nothing else? Wtf, every time find myself reviewing crappy Bash/Python/JavaScript/Ruby shit written by Java-only programmers I want to puke. Don't you know that the world is bigger than your small island?14
-
Some random coworker has been asked to setup tests for the framework written in Java and the GUI is a web app that comes with the framework.
Since he doesn't know any language we work in, he decided he would do it in Python. When I asked him why introduce Python and he replied with "it doesnt matter which language it is because it is going to run on selenium"
I told him to either use Java or Javascript for selenium because when he leaves we should be able to maintain the tests and not first figure out what the hell you wrote in Python
He didnt understand and is going to go with Python anyway8 -
Why do people jump from c to python quickly. And all are about machine learning. Free days back my cousin asked me for books to learn python.
Trust me you have to learn c before python. People struggle going from python to c. But no ml, scripting,
And most importantly software engineering wtf?
Software engineering is how to run projects and it is compulsory to learn python and no mention of got it any other vcs, wtf?
What the hell is that type of college. Trust me I am no way saying python is weak, but for learning purpose the depth of language and concepts like pass by reference, memory leaks, pointers.
And learning algorithms, data structures, is more important than machine learning, trust me if you cannot model the data, get proper training data, testing data then you will get screewed up outputs. And then again every one who hype these kinds of stuff also think that ml with 100% accuracy is greater than 90% and overfit the data, test the model on training data. And mostly the will learn in college will be by hearting few formulas, that's it.
Learn a language (concepts in language) like then you will most languages are easy.
Cool cs programmer are born today😖31 -
Usually I develop in python, mongo, cordova and node. Few days back I installed Windows on my laptop cause I needed to use the Visual Studio for a specific task. Then I thought that if I can setup the python, mongo, cordova and node stack on Windows then I don't need to switch between Linux and Windows frequently. And that was a horrible decision.
It took almost 8-10 hours to setup that shit, and still I couldn't make it work. There are so much complexities and those do not make any fucking sense! I mean why the hell I need to add the python path to the environment variables, and then again add the pip path separately. Then mongodb can not autostart. And finally I needed to make and build a package, and that waa the moment when I just scrapped it.
It takes me 2-3 hours to setup a fresh Linux box (which supports apt) including the OS installation. Same for the osX. I still wonder that why Microsoft does this! If Windows is for non-dev and non-tech people then why don't they release a Windows developer edition? Developing anything except ASP.NET and Java in Windows is a fucking nightmare for me!11 -
I realized why do i like java the most. Error messages are easy to read and consistent. Never really had to look up an error because the message tells you exactly what is wrong. Hell, you could write a script to self-repair the errors because they are so obvious to fix.
Now compare that to my current stack, python and js....8 -
The 8 year old is learning Python, and after a dealing with a syntax bug she asks: "If the computer knows I'm missing a semicolon here, why won't it add it itself?"
I don't know. I really don't know.31 -
Teaching JavaScript to a master of classical programming (only uses C++, Python, Ruby, etc.). Here are the results:
1. What
2. What the fuck
3. Why
4. Why the fuck
5. Oh shit that's useful
6. Oh shit that's stupid
7. Why would anyone do that
8. Why isn't anyone else doing that
9. This is crazy complex
10. This is stupid easy8 -
I have just started learning C# having previously known only Python. It's a learning curve - why is there so much syntax!? 😬18
-
Do you have a dev (or informatic in general) nickname?
Oh, I love stories XD
When I was at university, my first boyfriend (now ex-boyfriend) was the only one who knows Python (teachers used to teach Java and C#). He was pretty old, like 4 years older than all of us, and when the teacher introduced himself to the group the first day of the semester, "Python" asked
- "Teacher, do you use Python platform?"
I don't know why, but the rest of my classroom mates laughed. And from that day, my friends called him "Python".
The funny thing is that two weeks later he became my boyfriend ^_^ a friend of mine said "he wants to show you his python :o"
A semester after our broke-up, I was invited to teach Python at the university. I accepted. Now some teachers remember me as "Python girl".5 -
Before I get too fat, the "Hour of Code" concept it's great, trying to get kids interested in programming
That being said, why on earth do they use fucking drag and drop programming? I would argue Python is easier to learn and infinitely more useful, and this is coming from someone who can't stand Python.
So far the only thing that I can think that the Hour of Code achieves, with drag and drop programming, is people possibly getting into Scratch, and fuck Scratch.5 -
fuuuccckkk stackoverflow.
q: "why doesn't python do this like i want:
me: "Here's an answer that quotes an article and links out explaining with Python 3.6.x doesn't allow that."
every fucker: "downvote, doesn't answer why it isn't allowed"
FUCK YOU, PROVIDE AN ANSWER THAT DOESN'T SAY WHAT I SAID5 -
Hey Python, why in the ever loving readability universe I can't break the following command across multiple lines?
df.replace(...).apply(...).reset_index().drop(...)
Oh, but I hear you say "Hitko, why you can break it into multiple lines if you break within brackets!"
To which I ask you, does this shit look any more readable?
df.replace(...
).apply(...
).reset_index(
).drop(...)15 -
Why do job descriptions for ONE developer position, list down ALL the known programming languages, all the web technologies and frameworks available? From java kotlin swift php js jquery node to ionic angular laravel python and what not. Wtf? And this is not one, this is about 70 percent of the job descriptions I see these days!!5
-
Uggg..... I'm trying to encode a binary file in Python which may be an image or may be an executable, and then decode it back into a file (I plan on editing it in the middle, but baby steps for now..) but nothing is working!!
My plan is to:
Open binary file.
Decode as base64, or something else that could easily handle binary.
Convert byte data to string (for editory perpousos - I won't be editing bytes, I'll be doing custom encoding but that's irrelevant for this test)
Convert back to a byte string/array (with .encode(), probably)
Write to file.
I do this, yet the output has been altered... Though I haven't touched anything..
It's so enfuriating.. x.x18 -
>dad nagging to learn python
>i hate python
>cuz i hate snakes
>whatever
>so started learning it
>with some awesome video tutorials
>even though i like the instructor
>i find the language
>boring
>uhh
>why do u use this?
>oh and you say it is easy 4 begineers
>oh good
>then why does only
>del keyword gets highlighted in pycharm
>just to look cool i guess
>lua is way better
>hope lua is more used than python
>and more supported
>but i still like C#
Moral: C# rocks10 -
I dunno why, but my brain is just not weird to like syntactic whitespace.
Things like yaml, python and coffeescript...as much as I like Python...i just can't stand being forced to deal with whitespace.7 -
Being a programmer in a scientific discipline can be infuriating.
using "no one" ="almost no one"
using everyone = "almost everyone"
1. No one knows what even the very idea of good practice is. And everyone refuses to learn. 3k lines of repetitive copy pasted main. 500 lines of plotting method.
2. Raw C-style pointer based array creation. Won't use develope array libraries because what if development stops. FUCKING HAVE YOU SEEN YOUR CODE WHAT IF DEVELOPMENT ON YOUR CODE STOPS. FUCK.
3. LOOP VARIABLES DECLARED AT THE BEGINNING OF THE METHOD WHY.
4. Everyone wants to make modular, independent code. No one wants to use OOP. NOPE. ALL IN ONE FILE. WRITE C++ LIKE A FUCKING PYTHON NOTEBOOK. FUCK.
5. LIBRARIES OH MY GOD PLEASE DO NOT CODE UP YOUR MATRIX MULTIPLICATION. PLEASE DO NOT TRIPLE LOOP IT. NO. THE LINEAR ALGEBRA LIBRARY WILL STAY IN DEVELOPMENT.
6. Please realize that literally not one comment over an 1800 line file does not help anyone.
FUCKING. WHY. WHY ARE WE SCIENTISTS SO GOOD AT SCIENCE AND SO FUCKING SHIT AT THE CODE THAT MAKES OUR SCIENCE HAPPEN. WHY. FUCKING. WHY. FUCK.undefined rage no comments scientific computing fuck this shit wall of text bad code science fuck c++ fucking4 -
Not quite a rant, but if you came here for a cool way to reverse strings in python then I've got you covered:
backwardsString = string[::-1]
Don't know why you come to devRANT for tips on python string reversal but hey
I thought it was cool at the time ::)))3 -
2018 dev goal #1: ✔️
This week I learned Python 3, as in most of the syntax. Not yet any development, but that will come tomorrow onwards.
Oh, and I hate the funky type system, which is almost non existent and so flexible that I don't know if it's just bad or I simply don't see why I should want it this way.
Please enlighten me why you think Python is great or just plain snake crap.
Did I mention snake case being common practice? And that Python doesn't know real private properties, methods, etc.? How does that work?17 -
Conclusion for this week:
Arrrgggh I worked so fucking long...
Thanks EU, FUCK ARTICLE 13,
FUCK EU, FUCK POLITICIANS, FUCK ALL!
PYTHON WHY THE FUCK, WHAT THE FUCK, HOW AND WHY?!??
FUCKFUCKFUCK
Have I missed something?6 -
It all started with a simple shell script that ran a bunch of build commands.
Then it became a python script that ran a bunch of build commands because why not?
Now it's becoming an electron app with a jazzy UI.. that runs a bunch of build commands. Because why not! -
What's your favorite IDE to use and why?
I saw a little IntelliJ hate on another rant, but so far it has been pretty useful for me, I only need 1 IDE for Java/PHP/HTML/Python/JS/SQL
Pic unrelated, just for attention and the LOL's19 -
I loved Python from when I wrote my first program up to I googled "how to import a module from a parent directory".
My love lasted 30 seconds16 -
Coffeescript is such a pain in the ass. If I wanted to code in Python, I'll code in Python. Why do you have to add pythonicness to JS! Eat a bag of dicks!7
-
Python prorammers ignore this.
Oh so now we got a fucking new fight started on devRant on which line to put brackets on.
Fucking why!!??
Both conventions basically mean same thing and even no fucking ide is partial about the fact.
Stop it!8 -
Just spent about 15minutes trying to figure out why my beautifully formatted f'{strings}' code was returning "invalid syntax".
Turns out I was in a Python 2 shell. How's your day going? 🙂4 -
I really don't understand why my university thinks "Oh yeah, make the super easy python assignment that can be finished in 1 hour (max) using basic logic, syntax, and file I/O a 3-person group assignment, there's definitely not going to be just one guy writing code while the others free-ride and get an easy grade."5
-
Doing a python code review after working in Scala is all:
"Why the loop? Can you just put a function here and... oh yeah, right... python does not allow it. I could have written these 20 lines in 4 if was Scala"
Scala, stop spoiling me!!4 -
Master/Slave terms we're just removed from python. Why? Who needed / requested this? Do people not understand these terms to such a degree that they actually offend people?7
-
Wasted a bloody hour today wondering why a route was giving weird errors...
Turns out I inadvertently wrote a for ... in ... loop instead of a for ... of ...
It's my bloody fault for being retarded, but I swear this unholy mix of JavaScript and python I'm dealing with is doing bad things to my brain. 😔5 -
Probably the most Russian programming language is Python.
Why, I hear you ask?
because every Python app's file is signed with a Russian national suffix... .ru
P.S. that came to my attention just today. After all those years...9 -
Correcting basic programming exam, see this part of an answer:
---
for round in all_days:
if round+1 < round:
---2 -
Discovering Julia:
"Wow! It is awesome! It's like a Python but fast, function composition is so useful..."
Then you realize that arrays start at 1:
"WHAT THE F! WHY?!"4 -
Why does every Software Engineering role at the top companies never have PHP or any functional languages in it’s list of languages they want you to be experienced in?
It’s always Java, Python, C#, C/C++, Objective C or Ruby. What about Elixir, Scala, Haskell or Clojure?9 -
Internships in BLOCKCHAIN
Required skills at least five among:
C++, Java, Java Script, Python, Solidity, Simplicity, PHP, Ruby, Rust, GO, C#, CX, Rholang, Scilla, Vyper.
Why do they expect so much? 🙄4 -
Why do I program everything myself in C, even a rest service? By writing everything yourself in C you make simple things complex to make complex things simple.
Writing a rest service for example learns you a part of http protocol, how sockets work, how to create a parser (in this case json). Three thing's you would miss if I used python.
On top, your rest service uses WAY lesser resource than written in python for example. Especially for CPU usage.
Allocating and free-ing still often have issues there, but I consider it a skill problem / discipline issue. Not blaming C for that. The rules are clear.12 -
My two cent: Java is fucking terrible for computer science. Why the fuck would you teach somebody such a verbose language with so many unwritten rules?
If you really want your students to learn about computer, why not C? Java has no pointer, no passed by reference, no memory management, a lots of obscure classes structure and design pattern, this shit is garbage. The student will almost never has contact with the compiler, many don't even know of existence of a compiler.
Java is so enterprise focused and just fucked up for educating purpose. And I say it as somebody who (still) uses it as main language.
If you want your students to be productive and learn about software engineering, why not Python? Things are simple in Python can can be done way easier without students becoming code monkeys (assuming they don't use for each task a whole library). I mean java takes who god damn class and an explicitly declared entry point which is btw. fucking verbose to print something into the console.
Fuck Java.17 -
Julia is a smelly pile of steaming shit.
https://discourse.julialang.org/t/...
Jesus fucking christ would you look at that pile of pure utter shit. The dumbfuck dev somehow managed to break WHILE loops for devs coming from python, and I speak for myself and probably others when I write most of us python developers are functionally braindead. If you can somehow fuck it up for python devs, a significant portion of the people you're trying to attract (owing by the syntax), then you should probably just go head and delete your whole git repo now.
Julia is a prime example of why you don't listen to your users on fucking github about the direction of language development.
What a bunch of fucking booger eating retards.33 -
When your egghead boss (who is a dev, BTW) fails miserably in understanding that JavaScript fetch does not behave like the default synchronous nature of requests in Python.
After failing to make him learn about the asynchronous nature of JavaScript promises, he ends the discussion by saying "that's why python is better than js"
*facepalm*2 -
There is something so comfy about Java that I never get from other languages.
I don't know why but I genuinely enjoy writing 200 lines of boilerplate code. Maybe it makes me feel I am in control and not some syntactic magic like in Python or Javascript.
People keep ranting on java, yet it lives on.2 -
Why some libraries written in C++ does not offer an api in C++ but they offered it in Python and others "fast developing" languages? I start hating python..7
-
Almost like interview.....
At project fair..
Q. Which language you use.
Me. Python
Q. Why.
Me. Explained
Q. Why you not use Java?..
Me(in mind): ###############4 -
Why WordPress is not very good:
I wrote a quick 230 line python script that uses the power of urllib, ebooklib and 12 regular expressions that would make any italian proud to download webnovels from virlyce.com and turn them into .epub files for me.
The chapters are all individual WordPress pages, and after sequentially downloading only 202 of them I got an internal server error.
Why, WordPress?
Of course, I saw this coming and put mitmproxy to good use caching everything, so even though my python script with terrible error handling crashed I don't have to do it all again (yay)4 -
Keras was throwing errors...
Since I thought it was a tensorflow issue, I went up and down and all the way around. Installing all tensorflow shit like a bijillion times.
... But it wasn't. It was the fucking ipykernel...
It took me a good 5-6 hours.
I pulled a 12 hours day today.
... Somebody hug me plz 😢2 -
OH MY GOD, i cant believe this is my 25th day without a job... why!!!! not with all the kubernetes and node js and javascript that i know. lol. not to mention golang and python and all the networking stuff, dns, aws etc. lol where are all the recruiters when i need them?!!!!8
-
Anybody loves python? I don't know why, but the more I use python, the more I seem to hate it. Specially the poor naming of the functions are just horrible! specially when you've been following the #CleanCodePrinciple strictly.
Let me give some example:
What does even "len" or "str" mean normally? is it a variable or a function? can anybody imagine?
where as in Java or JavaScript it is array.length and anyValue.toString()
anybody can understand what these things are, whether a variable or a function.
in python some functions are like "dothisorthat" and some are "do_this_or_that" some are "doThisOrThat". I mean, why can't you just follow an unified rule?
and there's this fragmentation between python 2 and 3! whether in stackoverflow or in youtube/udemy, a lot of them used python 2 and some uses python 3. I mean, can't they have some BackworkSupports?18 -
Last year I had to program most of my projects in Python. I like the language, don't get me wrong. But man oh man if you indent your line of code one too many fucking times, it can be such a pain in the ass to find your error...
Even if it may clutter your code (not in my opinion), that's why I love them curly brackets and languages which use them <39 -
!rant
Best advice ever: "Why are you using Java for this? use Python"
And that kids, is how I fell in love. -
Today I am thankful that at my company, nobody is going to get offended during code reviews when they see my SPI driver using terms like master/slave. GG company!
-
Why do people compare languages? Like C++ vs JAVA, C++ vs Python, C++ vs Elixir?
All languages are best in their own specific use-cases. So why we need to compare all this stuff?
Or might be I am wrong.19 -
why is everyone hating on python lately?
I know it's not perfect, and it takes care of a lot of shit for you. and it's slow, and doesn't have a decent compiler, and PEP 8 encroaches on everything good in the world, and mandatory whitespace, etc.
yea. it's got some issues. but it's still a good language imo. and it's easy to write, it's fun to write, it looks nice (not Ruby level nice but ehh). not worthy of all the "fuck python!" talk.21 -
Why people are saying Python is an easy language? I mean yes, if you write c/java code with python it may seem easy, but writing proper python code, in a pythonic way is not so easy.
SO DON'T TELL PEOPLE THAT'S IT EASY LANGUAGE because new commers later they come with absurd code and ask people to fix it.7 -
Weird!! Just from the dentist's and all through the procedure all I could think of is why my python code is throwing a typeError. I mean I should have been sharting myself.1
-
Why the hell are they teaching Python for web backend purposes at my school??? PHP ist just faster, needs less ressources and looks syntacially like a beast.4
-
New programmer who just pick up Python be like , C is shot , is bad , python better blablabla....
Why anyone hate C so much? I personally use C for Embedded Programming, for hardware or is better compare to using python for my case.
I love python , but I love C more. Because without C the rest don't exist. Right?
So stop hating on C. Because you might use it someday.17 -
I've heard a lot of nice things about python so today I decided to check it out and HOLY CRAP this is an amazing language! Really makes me wonder why I didn't look into this sooner!
Seriously though! I looked at the documentation and official tutorials for like 30 minutes before writing a selection sort algorithm using only six lines of code. I'm quite mind blown.8 -
It's been a year since I first entered the world of development.
Let's see what I have accomplished so far:
Learned:
Java, J2EE, Node.js, Python, Django, Android, Angular, html/css, Rxjs, RxJava, Linux, MySQL, Mongodb, Docker, Heroku, AWS
Projects:
All unfinished.
Job:
Still working in IT security goddammit.
Fucking hell. Why am I so good at learning but shit at working?6 -
!rant
Started learning Rust yesterday. As a web developer I like the static typing and the speed. I want to know a low-level language to complement Python but kind of dislike C and C++ and that's why I chose Rust. At the moment the syntax still feels kind of foreign but I probably need to just man up and embrace it. :)9 -
I was wondering why it had a duck when I use python, was thinking maybe it is a font issue .. which I ignored for months.
Today I say the tongue.2 -
why the hate on java? ok, i'm only studying applied computer sciences for a year now, we mainly saw java /javascript and i like them. personally i worked with python, c, c#, php, swift too but i still don't see the problem with java4
-
It should have been named Monty and not Python. It is so misleading, now everyone thinks it is because of the snake3
-
I just dealt with a 3 nested "if" statements in SQL. There is no indentation so I am quite frustrated since each "if" spans up to 2-30 lines.
I now understand why Python white space is significant3 -
Which language do you hate the most, and why?
Mine is Java, maybe because I've been learning about it since I started to learn programming on class.. getting tired and bored since I met Js and Python10 -
everything was going great, I was loving it,
then self happens
why should one pass self (current object refrance) to the constructor in python , why doesn't this keyword exist in python.
coming from java I always forget to add it.
just WHY?????9 -
I might sound ridiculous but yeah, I am switching from C++ to java.
reason: I am bored sticking to a single language for 4 years.
Why not python?
reason: I use it every second day at my work.
Why this(java) shit? There are tons of other languages out there.
reason: java gives me PLEASURE
How drunk are you?
me: VERY10 -
// Task: add one to the input number
// Sane people:
// print(int(input())+1)
// Me:
n = [*(reversed(bin(int(input()))[2:]))]
tmp = ""
for i in range(len(n)):
tmp = n[i]
tmp = "1" if tmp == "0" else "0"
n[i] = tmp
if tmp == "1":break
if tmp == "0":n+=["1"]
n = "".join(reversed(n))
n = int(n,2)
print(n)7 -
Why python can't into proper dependency management?
I Node.js we use npm. Modules are downloaded per project and packaging is easy.
In Java we use maven/gradle. Never been so easy to build and download libraries and package your project.
But in Python? No, it's not easy. You have to use virtualenv first so pip/anaconda won't download globally, then you must write setyp.py in a million different ways. Packaging and distribution to clients? Good luck with that.21 -
Okay, I’m confused. What’s this whole master/slave python thing everyone’s going on about and why haven’t I heard about it?4
-
Complete disaster. As a C++ dev I was assigned to maintain some Python applications (some of them acting as proxies, wtf) just because the original authors left the team. It's slow as hell and it's not even a product - it's a helper tool. Cannot rewrite because nobody will give a green light for that. Why? Why?!4
-
Why do I have 50 pdfs of books that teach me things that I will never be using?
Assembly tutorial? Why?
Java tutorial? Hm... okay. Perhaps.
Python tutorial x10? But I could use docs!
C? Shit!
C++? Ugh...
C#? Seriously?!
I think it's the time to wipe out all files with .pdf extention :/5 -
They ask me, why do you hate Python? Well, maybe because I prefer fucking warnings and no fucking exit the program after 2 hours of computation if the parameter is unexpected. Fuck off7
-
They call Python, C, Java, Ruby, and stuff like that programming 'LANGUAGES' for a reason. I just wrote a Python dictionary literal in my C# code and was clueless as to why it was failing to compile for five minutes straight. Maybe that was because I was working with Python like 30 minutes ago.
It's like I have to have one 'brain' per one language and need to switch between such 'brains' to write code in another language. And such switches take time.5 -
Man why is it that the languages that I like get shit on by like 90% of developers. Whiney little cunts that get mad at css because they think "oh I can just inline style and it'll be fine" No wonder your X looks like fucking roadkill. And I fucking love python. Maybe if the Oracle overlord didn't have a goddamn chokehold on ever major hardware manufacturer python would be more prominent.7
-
* at DrupalCamp *
"Now, you can use our all-in-one .exe to install Apache and MySQL on your computer"
ME: but why would someone do that?
"In order to use the LAMP architecture"
ME: But there's no Linux!
"It doesn't matter, Apache runs on windows just fine"
ME: Feels kinda like using Express on Python4 -
When I first began with Python I really missed the static typed checking from Java, I barely know anything about a returned object from a method and have to read the API extensively for every new library.
After a while I finally understand why Python is so powerful, the combination of dynamic typed language and rich default methods make the language unbeatable for your productivity.
While Java's Object only has toString(), hashCode(), equals() or clone(), Python's basic Class has every fucking method for every scenario I could ever image. No wonder that libraries like numpy or pandas work so well and fluidly.8 -
How come your fucking pseudo code is far more complex than python code? You're a fucking university teacher FFS, ALSO TELL ME WHY THE FUCK YOU START YOUR INDEX LIST BY 1.1
-
I'm currently trying to get better at python and to learn django. And here I am, following a c++ course I found on safari books.
Really, sometimes I don't know why I do certain things...2 -
Oh man. When I look for a job after I'm done with school, I need to watch out for those "pay-per-line" bullshit contracts. More lines? Everyone can do that, but it will cause inefficiency just for the money. I could make a fucking Python Hello World program have 100 needed lines if I wanted to, but why would I? More lines = more typing ≠ more work.3
-
I spent the whole day coding in python (usually I code in php or perl) and this language is a fucking joke. C'mon, why everything have to be done in such a weird way? And don't say it's python way because it's bullshit way. Want some examples?
", ". join(str(x) for x in array)
to join array of integers. wtf is that?
True|False
why in hell you need the first letter to be uppercase when your own fucking standard says to use lowercase letters in eg. var names and method names. why?
math.isnan(float(x))
to check if a variable (expected to be integer) is NaN. I won't fucking comment that...
Even prolog don't have such stupid things6 -
Ah yes, The Hacker News intentionally using intendation errors in python 2 to screw over people using their ddos script. yes. That's gotta be the reason
why the fuck am I even following these trolls3 -
So.. There are about 4 jobs in my country that even mention golang, and only as an "advantage"
😟 Wow.. learning Go really isn't helping..
Why isn't it used widely as the main language of a dev team?? Too young? Or are there serious issues, that most companies prefer using c#/ruby/python for web dev backend?8 -
python devs are not devs
why do you need numpy and 30 other packages to change some lights on a keyboard
and then the kicker is that it doesn't even work, because it can't find a daemon I guess
this is so fragile
so ridiculous
every time, these math people8 -
I was trying to watch an instructional YouTube Python video (on my Android phone) while it was dark in my bedroom, and then I remembered that Youtube for Android doesn't have a damn dark mode... NOOOOOOOO!!! :( :(
Why did you do this to us Google!5 -
Why is python supposedly something big data people use ? Sounds like r and stats and well I don’t see the adoption of that though python is used somewhat I note in a lot of Linux apps and utilities
Just seems strange that an interpreted language would be used that way to me or am I an idiot ?35 -
Oof, scope creep
Come back to an 8 month old project and I can't update the website because something in webpack needs something in python to compile... Um why. Literally just a poster with some images and a markdown parser.
So I spent 5 hours and 850 lines of code later modernizing the code and... I have the same website again but now it compiles. Woo? -
Be developing in python 3
$ pip install <library>
Don't understand for hours why it doesn't work
I should alias pip3 -
Why do people think Perl's outdated?
Until Python/Ruby get a port of Keyword::Declare Perl's niche stays unquestioned.7 -
Why is it that every python project I come across seems to not even want you to use it.
The deployment always sucks, you get some random ass errors because some parts are in python 2 instead of 3 I guess. If there's a C library involved it most definitely won't work. What the fuck is conda and why do I need it to install software?
Where is the documentation to build a release yourself if the public ones don't work?6 -
So c++ isn't really ideal for robotics? I could just not understand c++ correctly. I think it's just my terrible understanding of why a compiler is needed. I am an intermediate Python Dev, so I guess I'd like to download the "language" and go, ya know?5
-
Why people uses Python for OS scripting? What’s the point in forcing me to download a proper interpreter to run a script when the same result can be achieved with a more portable and cleaner Bash/PowerShell script?!?!24
-
Time for some bad puns I made up with my coworker when we were stuck in traffic. Got any dev puns of your own? Share them here!
Why is it called Python if it isn't a snake?
Why is it called Ruby if I can't put it on my jewellery?
Why is it called Rust if it's so clean?
Why is it called Go if it stays in the same place?
Why is it called Perl if it's so ugly?
Why is it called C# if I can't write music with it?
Why can't I drink Java?6 -
Why does it feel like nobody uses D?
I love it. It combines the best bits of C++, Java, Ruby and even some Python. It still is C ABI and C++ ABI (ish) compatible. It can do everything you need it to. It's not limited like Java. It feels cleaner than C. I LOVE IT. But I don't understand why there's not much going on about it. Is it because it's not 100% stable yet? I don't know. AAAARGH7 -
Python. Oh dear Python. Why, oh why, when I have your function with parameters defined as an int, do you blithely accept a string and just go about your merry day? If I wanted you to be able to accept a string I would have let you accept a string. But no, I want ints. Its not a suggestion. Its a demand.
You're dynamically-typed thug life gets on my static-typed backgrounds nerves.
(I am fully aware of the reasons for it and why, but my goodness I do sometimes miss my static-typed compile error languages, rather than pseudocode that accidently compiles python)25 -
So what do you all believe the best first language is and why? I personally say Python or JavaScript because they are simple, and easy to understand8
-
Fuck copy-pasting. I just spent WAY too long trying to figure out why == wasn’t working to compare strings in python when I discovered that I had accidentally pasted a trailing space into the database entry causing it to not be equal
FUCK3 -
I just want to run your stupid tests so I can submit a PR to fix a stupid bug that has been there for ages and nobody has figured out how to fix why do I need npx to run tests in a stupid python project?! l3
-
Python be like:
TypeError: 'callable_iterator' object is not callable
and also:
TypeError 'callable_iterator' object is not subscriptable
Why the fuck did you name it "callable iterator" if you can't call it, or iterate it.4 -
So..
The company I was working at until two weeks ago just called me because they don't understand the project I've been working on (even though I provided in-depth documentation, which felt like I documented closely every bit twice -.- ) and they don't have any developer left who knows even a bit of python.
WHY PYTHON IN THE FIRST PLACE IF YOU DON'T EXTEND THE CONTRACT FOR THE MAIN DEVELOPER?!?!
Hypocrites...9 -
I wish python had a better package and environment manager. Everybody has their own way around this, but nothing without bugs or 10 steps to install a package in the env. it just sucks...4
-
Why people loves Java? It's because the maintenance or something in architectural level? I don't understand, because we have languages like Python with a better syntax and languages like C++ with a better optimization and speed of processing9
-
Ugh... Spent the last hour figuring out why my Python script wouldn't send an email. Turns out my computer used a DNS cache that pointed to the wrong name server, but BT (shitty UK ISP) takes fucking forever to update their DNS. And obviously you can't edit the modem's DNS to the Google DNS, because fuck you that's why.
I want Richard's decentralised Internet right now.2 -
Spend hours debugging a python script because tests fail. Turns out ftp (the unix binary) adds CR bytes to every byte in a .gz file that looks like a LF on upload (in test setup). Client and server are both linux. 😭
Yes i know switch to binary mode (that fixed it - why not default??). But still WHY CR? Didn't ask for it. No windows in sight.1 -
i'm making my python prof wanna strangle me again, it's 100% the same as the example output, for those wondering why i do this to him it's because he said he "favors speed over readability" so i'm doing as he asks
code:
print("\nThe cost of the item is "+str((float(input("Enter the retail value: "))/(1+float(input("enter the markup percentage (e.g. 0.9): ")))))+"\n\nEnd of Report")17 -
I dont understand why we must use PHP to
understand OOP
Im a student software developer and this is the first time i will learn about Object Oriented programming but i dont know man im really confused why our prof makes us use PHP to understand the concept of OOP rather than to learn Python or Java which is ten times easier for an OOP based application
I can understand that PHP can be used for OOP but why just why... can someone please explain why this might be and how does it feel to use PHP for OOP purpouses9 -
People in 7-8 years will move on to other languages, look back on their Python projects and think "What was I thinking?? Why would anyone do that??".
I'm calling it.19 -
In Linux Mint 19 TINA. All I did was
"sudo apt-get remove python"
then, I saw cinnamon being removed in the terminal. Why is linux so dependent on python that much?16 -
¿Why people hate PHP so much? I love it since it was my first web dev lang and I fell in love with it, however, I decided to move to another language since apparently It's going to die, not saying tomorrow but eventually. I'm not sure which language to pick (between Python (django, pyramid), Elixir (Phoenix) or Ruby (RoR). Any suggestions?
Also, what language you use and do you like PHP?4 -
Can someone tell me why C++ and python are so widely used in the AI department? I kind of understand… you want maximum performance (plus GPU) with C++ or easy logic with Python but still, it seems like other languages would still have there benefits in AI. It just doesn't make sense to me, why isnt it like every single other part of computer science where everyone under 22 thinks "now this is what JavaScript was made for!" (I mean js is used so much in other parts of cs, why not AI). Am I missing something? Maybe the resources are missing for AI in other languages? Can someone please expand12
-
Why the hell the mutant-frankenstein language known as Javascript even exists?
Why back in the day couldn't they use an existing language's syntax for interacting with the web, Like Android did with Java?
Don't get me wrong, I like using js. But it has too many weird inconsistent parts which feel very quirky. Even more than Python.6 -
Calling any Python programmer here (especially package maintainers)
I run Gentoo, so am responsible for maintaining the dependency tree (to a degree). When it comes to Python I have 2.7, 3.4, 3.5, 3.6 available. I'm always running into some package needing one version or another, and I can't just set a single version and forget it (which is fine. I'm running Gentoo).
I know that this is because python changes rapidly and so different libraries need different versions. Fine.
Why does this happen with Python and not C++, JavaScript, php, ruby, or any other languages on my system? I don't have 3 different versions installed to cover any other languages, and I don't spend time adding installation rules to cover them.
Why does Python need to be a pain in the ass about it?3 -
Node.js is the most fucking useless application of js in publishing apps, worse can be only python. Why the fuck would you do all of those "cool" apps if they are fucking useless like tech demo. I found blessed-contrib. Awesome. Now try to use it in real life scenario. Fuck all and useless. Any attempt to port it to a remote terminal or even running locally in browser are so much hassle it will be easier to rewrite the fucking thing in java or c. Why everyone is wanking off at node.js when its fucking useless.7
-
Python is really beginning to turn horrible now. Legacy codes...argh!! why don't developers move already to python3? and all those horrible third party dependencies for only 2 which somehow break after even some mending. God save them. Horrible night.2
-
~ I knew a little bit of Django ~
~ Now I know a little bit more ~
~ I used to like Python ~
~ Not so anymore ~
~ Why though ~
~ I don’t know ~
I use JS professionally and I have majorly coded in JS in personal projects but I always had this liking towards Python. Now, that feeling is gone. Python doesn’t seem that attractive. JS seems better.
One of the reasons, I feel, is the syntax. JS can fuck-up in places but that C-style syntax is love.
Another reason could be that I still don’t know that much Python or Django to make an opinion? Maybe. Probably.9 -
I now understand why people say python is such a damn hard language to keep big projects. I'm so hell lost in all those code indentations and lack of conventions!!!!
GET ME BACK TO RUBY PLEASE I BEG AAAAAAA4 -
I tried once to convince an ex-python dev not to write 100 lines long shitty indented functions and seperate that stuff but no it works just fine why should I or anyone else be able to read it.
-
I fucking hate it when Java programmers hate on Python programmers! They believe Java is superb while Python is flawed. They talk about speed, speed, speed and speed!
Java programmers, why do you guys behave like assholes?27 -
How the fuck do classes work in Python? Why, exactly, do people make them for themselves? I get doing it for like making modules other people will use, but just for your own shit...?25
-
My Linkedin feed is bombarded with .NET and C++ jobs.
I don't like C# and don't know C++.
I understand the demand for C++ but not .NET.
Every time I use C# or Powershell I feel weird and handicapped by Microstuff's prison.
Java, Python,Node.js and bash scripting feel so much better. Why there is such a demand for .NET devs?7 -
I love Django. I really do. It's been fun to work with, and wrestle with, and beat my head over repeatedly. I really have enjoyed it. But why in the name of all that is even remotely holy must the URL documentation be so spotty? I finally did get my URL behavior to work, but now that I've created a view function for deleting objects in one of the models, the URL for the editing function breaks. All you do is click "edit" and it brings up this nice little form where you can edit the database entry by querying its ID number and then you can save that ModelForm and everything is fine. So the url scheme is http://foo.com/bar/edit/3/
Should work. Used to work. I swear it used to work, I pulled up an older commit and it works like a charm. Deleting works with that same url scheme.
http://foo.com/bar/delete/3/
deletes the object with id=3 no problem. The two URL schemes in urls.py match perfectly (except one says delete obviously).
But now something has gone and gotten ROYALLY derailed because every time I run that function, that CLEARLY PRESENT 3 is being passed as None. I thought, oh, maybe I rearranged the arguments and am passing in the wrong ID. Nope. Okay, so what if I mixed up the regex on the url? Nope. Matches. WHERE ARE YOU GETTING NONE FROM? I mean, I realize that's the default, but I'M PASSING AN ARGUMENT in.
{% url 'namespace:edit' id=object.id %}
breaks horribly whereas
{% url 'namespace:delete' id= object.id %} deletes the object just fine. Why, Django? We've been wrestling with this for hours. Give me a sign. Tell me what you want from me. I'll give it to you. I will. I promise. -
After using and learning programming with Python for two years and getting comfortable with the language's ins-and-outs, now it has come the time to learn my second language. I selected C++, and I am so glad I waited until I understood my first language before jumping into a new one because it was worth the time. Before, C++ looked intimidating, but now I see its beauty (reasonably strongly typed language). It took me some hours to understand the basics and ended the day making a simple Python-3 adapter using C++.
Side notes:
Maybe because I am a noob, I don't see why Rust is preferred over C++?
While I only plan to use C++ to speed heavy preprocessing tasks within Python projects - I was surprised to find no NLP libraries?4 -
Someone just told me he writes c++ code and wrap it with swig so that he doesn't need to learn Python. Why man, just why!?
-
If Python is supposed to be so easy, why do I struggle so badly with it compared to other languages?4
-
I know this is not StackOverflow but is there a way to send TCP packets using JavaScript? I can't find a pretty solution. Why I can't find an API like "sockets" from Python to JavaScript?
Telnet API will be fine too.
Thanks!3 -
Dear Python linters, why can't any of you implement some actual linting features? Like, say, consistent use of single or double quotes? Or dict() vs {}? How about indenting nested function calls? Forcing list / set / dict literals as multiline? Trailing commas?
And while I'm at it, why can't you handle dependencies properly? Say, separating linter & linter plugins from the remaining dependencies in a way where I don't have to manually remove them from the requirements lockfile every time?3 -
User: your python script is giving me error, <insert stack trace indicating a missing directory on the system path>
Me: Did you add the directory to the path
User: yes
Walks over to desk checks path, finds a space after the semicolon separator before the directory.
Removes space, problem fixed
Why Windows, why can't you just strip the white space.
Returns to desk, hides underneath and waits out the end of the day 😿 -
I saw this quiz. This is Python, right?
I ran this and got '3 44' although I'm not completely sure why the 44. I can see the obvious correlation between 'values [0]' and 'v[0]'. Aside from that I'm not sure.
Can anyone explain this to me?5 -
Started working with a startup. They have one Dev guy, who for some reason is using both python 3 and 2 in the same git repo, and had no requirement.txt or anything to really track dependencies....
For fuck sake, the Dev guy is actually intelligent, but really freaking messy.. why can't he have this basic thing done...1 -
Why in colleges people make groups I don't understand. wtf happens to people after hearing a python developer and website designers are not friends2
-
What is the best programming language for fintech - Python or Java?
Here's the graphic from Cleveroad's research: https://cleveroad.com/blog/...
What's your opinion?11 -
Scala is as horrible as Java. Been using Java at uni and once having discovered the simplicity and beauty of other languages (Python, golang), never went back.
Currently trying some apache projects (kafka streams, apache flink) where Scala is native. Same crap as Java. Needs 10x lines to write the same thing, abstraction over abstraction, and intuitive = 0. Why tf did it even got invented?6 -
Very noob question. I started using git/github for my classes in Python, but I dont see why is it any better than google drive or onedrive, since you can also send multiple archives and have it synced to your computer without having to "push". Why is it so popular and needed?10
-
So today I got to see one of the most stupid architectural choices I have ever seen.
They have a service-oriented architecture. Mainly Python and Elixir.
A lot of computation goes in the Python services.
And the Elixir services as used to expose RestApi. Basic ones, basically DB proxies.
Not a lot of async, or communication... Just plain CRUD.
Why the fuck do you use Elixir for that?? And now they can't recruit someone... And the CTO doesn't get why it was a stupid choice!!!
And in python, they use async functions with sync DB APIs...1 -
As a Ruby dev I know I've been spoiled. It's so fucking easy to natively manipulate data in a Ruby app.
But seriously...come the fuck on Python...
You mean to tell me that I have to script out the entire logic to dedup an array?! Something that's an inherent part of EVERY project?
Sorry for the rant, but I just cannot fathom why ANYONE would use Python to write a full application. It's great at scripting, but a shit-stain-to-maintain for true app development.
I want to drop-kick the asshole who decided to write this fucker of an app in Python.
Also, fuck Python for taking ~20 years to add a fucking switch statement.19 -
The sorting hat 🎩 from Harry Potter🧙 movies would have put me in Slytherin🐍
Any guesses why??😏
.
.
I know Python.🐍😝7 -
- Need a module to work with PDFs
- npm install
- But wait, that requires some dependencies
- And those dependencies require more dependencies
- Python not found
- Issues with env variables and wsl
*Bajillion hours later*
- poppler-qt5 not found
What the hecc is a poppler and why do I need it?
:/11 -
Why is it such a pain when I have to install all my external modules of Python for PyCharm? JetBrains products are cool, but this,... literally had to remember all the modules from scratch.1
-
i cant understand some people
Why use atom for python development while we have pycharm?
is it about price?
community edition is free and 100 times better than atom.
what is wrong with you?16 -
Oh now that I'm remembering, this is how I learned PHP. It's not my specialty, but I'm writing a small plugin for WordPress.
I was in a dinner with my partner's family. One of their parent's siblings manages the IT in their company, and we had this conversation:
family member: So what language do you know?
Me: A bit of C and C++, and I did a project last year in Java/Kotlin. But my current project uses mostly Python.
Family Member: Oh Python? But Python is a very easy language, even I could learn pretty quickly. That's why we don't use it in my company. We use PHP.
Challenge accepted!
Within a week I was able to learn PHP and some basic templating library, and replicated most their company's website into a new server.5 -
I code.
Never speak to my family about coding.
Family tries not to talk to me. l
Ask them why.
They say I would ramble about C++ or my Python...1 -
Favorite IDE: JetBrain's WebStorm (for JavaScript stuff), Intellij (for most of everything else).
Why: cause it literally saves you time.
Bonus: VS Code for anything else (python or golang)3 -
I see a lot of hatred for Python all over the place, so I have to ask: Why? What do people hate so much about Python? It's fantastic for my use-case (interacting with and managing AWS resources), so is it just a case of "good for this one thing, bad for everything else," or something different?25
-
May I ask why every language I've seen other than pascal has an in place ++ increment operator and fucking python does not ?27
-
When we have Python,Ruby,Elixir,Scala,Clojure,Js
why we should use PHP LARAVEL ?
i cant understand persons which use php & laravel
why u use php or laravel ? how its possible to use php-laravel instead of cool things like Django -ROR ? Are u crazy ?13 -
Told my boss that i don't understand Laravel because i never use PHP in any project before.But he told me that it is so easy and give me 2 week to explore.
I know java, c#, python but don't know why it's hard for me to understand Laravel framework.15 -
I can't get over how absurd this is:
a = "123456"
a = int(a)
Is it just me or do you have to let go of everything you hold dear, embrace Satan, and sell your soul to be able to code in Python.10 -
You know why I know that Francois Chollet's Deep Learning with Python is a good book for beginners?
He takes the idea of A.I in the context of Machine Learning and Python, and makes people realize that we are not going to have big tiddy android girls from her till McCarthy knows when.
Well that sucks. One of my sole purposes behind getting to AI was to have me own Jarvis that could help me build 2B.
Oh well.......3 -
Why the fuck isnt pythons tabbed loop thing something that's configurable?
So many things to like about python, but is there someone on this planet who actually likes this feature?
Trying to use it in Jupyter notebook (browser) is a nightmare, because tab will focus on next ui element.
Or am i missing something?13 -
Newbie here, currently doing Udacity nano degree for full stack (mainly for Python as the other stuff I am confident with). Love this app, funny as f.
I'm curious why others decided to become Devs? I'm doing this because I have an idea for a webapp that will make me millions ;)17 -
Why is it that every time I want to make some dead simple script with Python it turns into the utmost awful programming experience?
Ah no you see you have to install this dependency but even if pip doesn't give you an error your script will still crash on import and vomit up some ugly back trace that doesn't tell you anything.
And then some retarded sub sub dependency wants to run on Python 2 and that has its entire own shithole of dependency hell.
And then for some unknown reason the Python installation wasn't compiled with zlib and some library wants it so you either you compile the entire thing yourself or idk go fuck yourself?
Why is this hot mess of a language still in use? I dont get it, it's easier to set up a cmake project with C++ for gods sake.4 -
We have Python. A very fast to use language.
We have a package warehouse with a lot of packet, PyPI.
Why for the rage of the Gods the upload procedure of a new package to PyPI need to be so LONG and not easily understood??2 -
Things to do in 2020:
- Unsuscribe from Python reddit
- Unsee what you have witnessed over the aforementioned sub
- Figure out why VSCode is ‘...so the best...’ editor whatever that means
- Unsuscribe from any dev related sub5 -
client A: "why don't you code in Java then? it looks much more authentic! those alien-like structure just so cool to us!"
me:"cause i can do the same thing with around 15 lines of code using Python instead of 100 lines in Java...."
client A:*confusing look*
then we have a 15mins of awkward silence time...
please don't set me to meet client T_T...1 -
In university we have to code using ruby. It's likely the most useless and ugly piece of shit programming language I have ever seen (apart from VB). Why can't we use something useful like python?6
-
I just wasted a good half hour trying to figure out why my Python dictionary was in alphabetical order.
I’ve had issues with dictionary order before with 3.5, but that was more or less Python just wanting to put shit in the order IT wants, not alphabetical. And I haven’t had that in months, not since updating to 3.6.
Long story short, VS Code has decided to show me my dictionaries in alphabetical order when I hover over them while stepping code. If I do a print statement, it shows the dictionary in the correct order.
Seriously, you don’t need to do me any favors here.
Oh, the adventures I have with Visual Studio when Python is involved...3 -
!something annoying
I've always had this in the back of my head, and off lately it's eating me alive.
Why don't we just rename python3 to python and Python to python2?
no I'm not gonna alias it in my shell. I'm talking about renaming them in all the distros.
there've been talks about renaming python3 to python and marking it as the default for quite long, but nothing has come of it yet.
I get that a lot of shit is gonna go down if this happens rn, systems breaking, migrations, panic, a lot of systems still working on python2 but we need to migrate.
we've also been hearing a lot of speculation about "Python 4", from earlier this year.
WHAT IS HAPPENING UGHHHH
pls revolution now7 -
Why do you (if you do) prefer dynamic languages? I.E Python, Ruby, JS over Kotlin, Swift, and Haskell? (I know why people don't like Java, I purposefully omitted that).12
-
#include <helpme>
Ok guys I kinda need your help. I have to write a python project for my school in 3 days and instead of saving everything in files I want to have a database. So my question is can you suggest the most simplest and easiest db to create and connect to Python for a few simple tables. Also the easiest to set up on another computer since my professor will probably want to try it at home.
Also I have to learn Python in 3 days, since I already know a couple of languages, I'm confident I can pull it off. Why I'm asking for help is I need to document it all, that will probably take a chunk out of these 3 days.5 -
(I know this rant won't gather much attention, maybe there are just a bunch of people that know Redux and still less that used it in Angular).
I feel so bad, really, I just want to throw everything against the wall. I really hate ngrx, I hate redux and how it's de facto implemented in Angular. I talked with other developers and everyone around says that redux is hated only by people that don't understand it, and well, maybe it's stupid, but I hate it.
It's so different from Angular plain programming, why the hell I need to create a index.ts file? It looks so wrong.
Why the hell import * as reducer, why don't you just import the reducer?
Why do you need a switch statement? Really? We're in 2018, languages as python removed it, in the era of reactive programming why don't you just map a key to a function?
Why so many files? Why for a 20 rows module I've to write 5 files each of them twice longer?
Why so much boilerplate? The time spent at implementing everything will be ever gained back?
Why does everything looks so wrong?3 -
package bar;
public class Foo {
public static void main(){
System.out.println("Hello, World!");
}
}
I still wonder why I didn't start with Python, print('Hello, World') is a god damn one-liner7 -
So I decided to finish college and get a degree in cs. 1,5 years left woohoo proud...
But they changed the curriculum and now I have to build software in oracle Apex.... Why does this exist? Where can I code? what is this. This is so slow, building software in a GUI. Does anyone here heard of this or even use this...
I just wanted to open my text editor and write some python. :(1 -
I wanted to get the latest NASA APOD photo with Python. Easy, right? Nope! Firstly, their RSS feed is partly HTML, so feedparser doesn't understand it. Secondly, feedparser doesn't even get the titles of entries correctly.
Which is why I'm trying to parse it in a horrible way using Python regexp. NASA can put humans on Luna but not even get their RSS feeds to parse properly.2 -
Web server configuration sucks.
Apache or nginx have they're own custom configuration language and I don't understand why.
We've plenty of languages to work with: why we should learn some another custom commands with enigmatic commands for weird stuffs.
I'm not a python funboy but, a web server with python based configuration file will be so easy to setup and to maintain.9 -
I use the Parrot OS linux distro and I think my built in python interpreter is broken, when I run a .py program from the command line, I get errors that I don't get when I run them in pycharm, why is this happening?8
-
The standard python Dict is NOT BLOODY ORDERED which I forgot meaning two hours of debugging why my CSV columns were in the wrong order.
PSA: Dict is not ordered as you would expect. Use collections.OrderedDict -
Hey motorcyclists
Just now have I come across something quite unbelievable...
Is this a real deal? what's the catch? Why would it cost that little...?
Link1: https://alibaba.com/product-detail/...
Link2: https://jszhongxing.en.made-in-china.com/...16 -
jinja templates make me look towards html in a whole new light. are we 'inserting' data to an already rendered page? am i really mixing server code with ui ? It doesn't feel so. there are if else and loops being executed for html code, like wtf?
I don't know but everything feels so good. like i was literally hating every piece of website i was writing in php. everytime i wrote <div>....</div> followed by <?php ... ?> followed by another html tag /php tag in a fuckin php file, i wanted to kill someone from w3c.
WHY THE FUCK ARE WE ALLOWING THE MIXUP ?WHY IS PHP FILE HOLDING HTM TAGS? WHY?WHY?WHY?
But this... this is beauty. their is separation of concerns. jinja has some big powers, we can loop, repeat, make clauses, inherit other html classes, load html content into blocks, set variables,
but main concepts like file handling, response/request handling,calculations,etc are all being done in separate python files. I know that these jinja templates also might be running python in background, but atleast a developer cannot fuck up that code.
we can be sure that if correct jinja codes are written in html, then it would load correctly. And wherever devs doesn't fuck up, the output is better to understand and more maintainable/scaleable3 -
Mod_wsgi for apache is like scratching your freshly cut nails on a chalkboard while eating oysters covered in ketchup.
Why does WAMP have to be a pain for everything? I'm going to just use some premade thing for this because getting stuck on setup is not my idea of fun when I have python APIs to debug.4 -
I'm pretty sure we don't need to use brackets and semicolons anymore. Newer versions of gcc bitch when you mess up tabs, which shouldn't matter in C/C++ because of brackets/semicolons, so why require the tabs and newlines?
On the flipside, if we're requiring tabulation and newlines nowadays, why use brackets and semicolons? Just Python it up and you won't have issues where you mess up and add/omit a semicolon/bracket and break EVERYTHING!
"It's so you can write it all on one line"
I have yet to meet anyone that masochistic.6 -
Why is Python still frowned upon in Competitive Programming? Like yes it's allowed, but why do we have such a huge stigma against it?2
-
the problem
https://cdn.discordapp.com/attachme...
the reasonable solution
https://i.imgur.com/tA3KG67.png
MY SOLUTION >:D
https://i.imgur.com/h0IHruK.png4 -
At work we use a custom python library to parse XML responses from an internal API to objects. I literally spent half an hour pondering why an if statement was misbehaving. Turns out it parsed <tag>false<\tag> as obj.tag = 'false' instead of the boolean False which obviously made "if obj.tag:" misbehave 😒
-
Recently I had a task from my university to build some DB with forms using MS Access.
Despite of me constantly thinking that I wold accomplish this using Python+SQLite+Some GUI much faster, I've completed.
And I've got only one question left: why the hell proprietary product with giant company behind has such a terrible UX?
It' really painful to use. -
We recently pulled in a developer onto the devops team, and also our manager was fired a month ago. Everything devops is Python/Go but all our developers are in Clojure or Node. He's recently been writing a lot of stuff on Clojure and I didn't get an opportunity to bring it up at the last retro.
Recently he changed all our old Go projects to use a CI-pipeline he built, even though I wrote a build tool, with tests, that does everything his pipeline does, in Python .. over two years ago. When I asked him why he doesn't just use our existing builder, he responds saying he doesn't know why he should use some tool/script just because it exists ... um, everything we've built uses it?! 😡
Our last manager was a dick and I understand why they let him go, but he also would put this guy in his place. He's literally made is own little "devops roadmap" for himself and shared it out with the team. It's all about his personal goals and what he wants.1 -
when you start using java again after using python for awhile and you can figure out why your strings conditions aren't working! Damn ".equals()" method as opposed to pythons "=="
-
You'd think I'd fucking learn by now to check for typos before going off on a tangent of over complicated reasons why something may not be working... Learning python/django for the first time, and have been trying to figure out how to run gunicorn... turns out I was typing myproject.wgsi rather than myproject.wsgi...
Though I suppose not knowing about how python modules work added to my confusion... still... ugh... -
Today i had a first experiente with Python. I'm finishing my course and I've done it with mainly Java. Now that I had this first class with python, I just feel like I've been trying to build a house with my bare hands this hole fuckin time!!3
-
Running brew install PHP
I soon get that brew is installing python and compiling its sources.
WHY?3 -
Kinda confused on why Bitstamp API stops working after a few uses on Python, but when used on PHP, there are no errors1
-
When the agency's Head of Digital doesn't know their Python from their PHP (I can only assume beginning with P is the main culprit).
And you wonder why your project is over budget, out of time and everyone is pissed...? -
BlueJ for Java and the IDLE for Python.
No big difference to coding in NotePad.
Just don't understand, why IDEs for learning purposes are that feature-less.
"Hey, you want to learn to code in that specifc language? It would be a shame, if you have to do almost anything by yourself."4 -
I dont understand why people talk so much crap about python. How it "pseudocode".. yea its a" joke" i get it. But if whoever is making said joke dont even know what pythonic programming is , nor practice it. Then said person dont really know how to code in python.. its more like modified c++ and they cant talk crap.
-
When you get called from someone at two employers back because of some Python code you wrote back then asking why their changes in the code do not work and you know exactly by the way they talk they just messed up the indentation. *facepalm*
#InTheWrongMovie
Why do I put documentation in my files when people do not know the basics?2 -
Looking at colleges on summer break between learning python and some projects can't decide between computer science and cyber security as a major 😰 why can't I choose2
-
Why does Python get so much hate? It is literally like a Basic programming language. Easy to learn and guaranteed to get a job because of massive demand.10
-
Python having very limited lambdas, I mean, I understand WHY they are how they are, I just miss true anonymous functions.
-
Jr dev: I need to log in to servers via ssh and run commands.
me: [posts link to Fabric web site]
Jr dev: Does it support python 3?
Gee...here's an idea. Why don't you try READING THE FUCKING DOCS?!?!?! -
Why is there no legit mysql connector for python 3.5.2? Thought about upgrading to the latest from 2.7.12.5
-
Every once in a while I am fiddling with javascript or springboot.
To remind me the reasons why I have switched to Python.1 -
*runs CLI program from Explorer*
*program runs fine*
*chainloads CLI program from Python os.system()*
"This program cannot be run in DOS mode."
why14 -
class Bio:
def __init__(self,likes,dislikes):
self.likes=likes
self.dislikes=dislikes
Sabyasachi=Bio('Python','!Python')
print ('Hello devRant Community. I'm new here')
print ('I don't know why I am writing like this')
while True:
Lets_Rant('😠')5 -
And right here is why I hate python
In all c like languages hell even in pascal code blocks are very well separated
I was wondering my code wasn’t doing anything and here the return block was being called at the end of the loop because of tabbing bullshit
At least I can choose to strongly type
Step up from js2 -
Python rant. Why does my 500 line Flask file look like one long oblong, & why am I adding comments that say “end of function” in *any* programming language when surely clear visual marking of this should be built in? Why did I spent 2 hours debugging SQLite3 dict factory function only to find the issue was a misaligned indented function block that my linter hadn’t picked up on because it appeared to be a logic error. Why do you make my missing tab spaces into logic errors Python? And why does everyone insist that curly braces are just as bad? Not in my world Python. Also, stop returning obscure objects unannounced like I’m supposed to know about it in advance, and stop making me run an entire file only to find I have another mystery type error because I expected x and got y. I hate you Python!!4
-
So, I have a friend and he asked me to do a discord bot for him. (The language was kinda up to me and I chose Python). Nothing complicated (theoretically). I coded it, tested it and sent it to him. But after installing it, he got a different issue EVERY single day. And he didn't change anything! The most infuriating part is, that I couldn't even reproduce the issues he had. WHY? Why can't it just work? Why can't a simple project not just be simple?3
-
Fuck, why is every mildly interesting Algo trading backtesting python package broken or killed off :(4
-
I been teaching someone python for a few day with 2-3 hour each day. It has been very pleasant to teach him programming since he have a goal in mind. He already know what kind of program we wanted to build.
He is a novice and not familiar with programming. It have been a good chance to see how the novice look at the python. I been given a chance to ask the answer like
"Why do we throw exception?" ,
"Why do we put define function at the top of the file and not at __main__?"
"Why do I need to use constructor?" ,
"Why should I call parent constructor in the child constructor?"
Here is the main question.
I have been wondering "should I teach him multi inheritance and the diamond problem?" I haven't been using multi inheritance for a while other than the exercise I done when I started programming and cannot think of the situation to use multi inheritance. I know in other language we use multi inheritance (kind of) regularly by extending multiple interface. I wanted to ask if multi inheritance is common in python.
Another question I have is how should I introduce him to gui programming in a simple manner? I am thinking of introduction him to the gui framework which haved WYSIWYG editor like "Remi"10 -
Another reason why google sucks! Earth Engine Python Api deprecated.
This has been my day:
"ee.mapclient: python3 do not support cStringIO"
On the sample code instructions it says to use ee.mapclient. As I google for answers I find this problem is labeled as #won'tfix without any workaround.
Fml. There goes research. -
When I run this Python code on Dcoder, they shows that they are using Python 3.6.8, and not 3.7.1 as they claim. This is why I cannot use dataclasses.
(And yes, I am having an idea about a template engine)1 -
Python again
So if I use json.dumps or jsonpickle with request.post(json=json.dumps())
OR
request.post(json=jsonpickle.encode)
Body is received cannot be understood by the service (NodeJs)
BUT
if I do: myObject.__dict__
all is good O_O
Can anyone please explain to the noob me why that happened? -
first() function in python...
Because it does not exist
Why have a any() that returns True if any of the items in iteratable are True
But what if I need to get the item itself...
In C it's as easy to write as the any func The performance will be the same6 -
Apple news api - why are you only returning 401s in my c# calls when in my python calls you return a correct response? What small detail am I missing goddamnit!
-
Is there ever a fucking reason to do a get_attrs call in python when you could just use a fucking explicit dict or just idk use the fucking typing system to implement a fucking interface? Like why the fuck should anyone ever be using get_attrs and strings to diddle objects?2
-
I couldn't find a program for this so I'm making one. Cli based. Have a json object you need to unmarshal in golang? Yeah I was getting tired AF making structs for all of them with the json tag name over and over, so I'm mid way through a python script that generates the structs for you. I'll link it here when I'm done.
And if you're wondering why python? Dynamic object definitions. That's why it's trouble in go in the first place.3 -
Why is Lua such a pain to install? Like seriously there are so many hoops to jump through, why can't it be like java or python? -_-3
-
I know c++ and python both and I want to choose machine learning as my career field but I don't know which language is more helpful for me and in what portion I need what..
Can anyone please tell me what language should I go with and why. Also tell me the implementation of that particular language in this field...5 -
Has anyone else used the Decimal module in python?
And if so do you know why it returns
"AttributeError: type object 'decimal.Decimal' has no attribute 'power'"?
According to the documentation
https://docs.python.org/3/library/...
...theres a power() function.
Doing
decimal.power()
Decimal.power()
power(x, y)
No matter how I call it, it always returns an error indicating power() doesn't exist and I'm scratching my head.4 -
Working on a portfolio project - I ran some tests, everything is all good - 100% passing. Computer freezes - pop_os has been giving me shit lately, so I have to restart. Fine.
I get back into code, i re-run pytest - nothing works. Python apparently can't find my modules anymore. I try a few things, nothing. Why? Who the fuck knows - "oh you need this conftest file", "oh you need to remove __init__ from this directory or that one", "oh it's a pytest version iss---" no, no, no - listen here you little shit, it was working two seconds ago. Tell me why and how software I wrote with the most basic ass package structure - literally TWO directories suddenly has no fucking clue how to import the modules. hmm? Even from within the app directory, app.server now no longer recognizes imports from app.main or app.database.
ALL of this worked. It works in new directories without dedicated venvs - it works in new directories with my global python install - it works with any one of my conda envs - it works on other computers - WHY doesn't it work in THIS directory all of a sudden?? Ugh.
What's terrible is that relative imports will probably solve it within the app dir, but the tests dir won't accept them. Moreover, vs code autocompletion can find all the modules, but python itself cannot. Fucking infuriating shit like this is.1 -
Hi guys I do have this problem while learning and I need an advice from y'all...take python it was created with c if I'm correct, and it has alot of applications very good language, but I do think y shd I learn python why not C ,, even using React I feel like Facebook developed it y can't I learn from the source directly?.jst confused 🤔15
-
So i have been coding in python and its my main language. Give me 2 reason why i should learn js(node).this question aroused coz i have to work with MS Bot framework and they just support c# & node js (python is still in prev) and their code has asynchronous programming in both *cries in corner also suggest me good resources to lesrn what async prog2
-
figured out why i'm at home with machine code or Python but can't for the life of me do something in the middle like C: if i'm forced to use pointers, but can't manually pick an address something's made at, my mind can't deal with it.8
-
Python builtins are great
But why the fuck there is STILL no first() function
It's mildlyinfuriating10 -
$ python
>>> from package import app, db
Traceback:
ImportError: cannot import name db
WHY THE FUCK NOT YOU FUCKING CRETIN. JUST IMPORT THE MOTHERTRUCKING DATABASE SO I CAN IMPORT THE SHITTING MODELS, CREATE A TEST ACCOUNT THEN TELL THE CLIENT THAT IM ALMOST THERE DESPITE BEING THREE DUCKING WEEKS BEHIND MOTHERCUKING SCHEDULE.
AAAAAAAAAAAAAARGHH.1 -
Can't understand why some coders feel so threatened by python.
Couldn't get the program right. Classmate yells from behind: "Thats why you should have learnt java" -
I don't get it, why having more than one decorator looks "weird"? that's idiomatic Python AFAIK, that's sounds more like nitpicking on aesthetics :/1
-
Does anyone knows why on my vs2015 community there's cl.exe or vsvarsall.bat? I already installed C++ and Python language
-
You know I know I don't know all the things that can go wrong... but to me it seems, when you're considering package files.... especially in terms of a build system... you'd just change the install prefix and just archive the files from that after getting the names of shit in a nice list of sorts and make that list queryable, but if you're compiling a package, just take that make install output, and archive it with a descriptor......
why is osb so annoying...
i just want one little fucking package built
to allow the use of microsoft azure python modules.
why is that too much ?2 -
Ah. As someone learning Python coming from .NET background, function names starting with a lower case is killing me.
I just spent 5 minutes figuring out why "PIL.Image.Open" didn't work. It's "open" not "Open"!!! -
Made fun of JavaScript and told millions why Python is better than all other languages on this fucking planet. But still...7
-
Why do Python programmers prefer snakes over people?
Because snakes don't require explicit declarations.1 -
C++ Dev Learning Python : Have some ice-cream darling.😁
Python Dev learning C++ : Why darling why ! 😮
Meanwhile Darling - 🙄3 -
Angular w/ Python or React w/ python. what why and how? I feel the web is full easy tutorials directing us to mainstream coding. I love angular 4 directory structure but react has more modules on git. help!1
-
End statements in Ruby are interesting design decision since indentation matters. Why not do it like Python?1
-
Hi everyone i was not on cause i was busy making mod menus on scratch LOL i decided no more and cut off the scratch for a bit and learn some python on scrimba maybe make a print spammer or some text adventure quest game or try making a website game with python, these ideas poped up in my head :) just had some weird ideas of learning it
cause why not? its easy you can probably build bots with it or troll your friends on discrod. -
What is ruby and why should i learn it. also whats the next step after learning fundamentals in Python?13