Poll of the Day > Python is a horrible language

Topic List
Page List: 1
Yellow
07/12/19 3:36:12 AM
#1:


I sacrificed a goat and got intellisense back. Finally. Looks like back in 2018 they invented a crazy thing that let you see members of an object in the form of an obscure VSCode extension.

As if it matters. A real programmer works in NotePad++.

And wow, it looks like naming conventions are out the window. Better never use uppercase.

Now just let me make a folder to hold my classes, oh look, I have to sacrifice another goat to do that. Better throw everything in the same folder. Looks like organization is out the window.

Looks like type definitions are out the window as well. Better make sure I accidentally don't mispell one thing or else my entire program will break without warning.

And all this for the low cost of 90% of the speed, as well as once again learning an entirely new language that functionally does the exact same thing. Interpreting is the future. Compilers might effectively do the exact same thing for free without requiring any sort of runtime for the user to use, but all this open-source is making me feel good. I mean sure, people were already putting their code up on GitHub if sharing it was relevant at all, but now there is no choice.

I question why the smartest people on the planet come up with this

Well, the smartest people on the planet use this. They definitely didn't make it.

Honestly, it's hurting my motivation getting annoyed every 5 seconds. I guess I better get over it.
---
... Copied to Clipboard!
dragon504
07/12/19 3:54:42 AM
#2:


... Copied to Clipboard!
Mead
07/12/19 4:00:02 AM
#3:


I think you mean parseltongue
---
If they drag you through the mud, it doesnt change whats in your blood
... Copied to Clipboard!
Sarcasthma
07/12/19 4:03:18 AM
#4:


I heard thats what Taylor Swift writes all her songs in.
---
What's the difference between a pickpocket and a peeping tom?
A pickpocket snatches your watch.
... Copied to Clipboard!
Yellow
07/12/19 4:03:47 AM
#5:


dragon504 posted...
hiss hiss

stomp
---
... Copied to Clipboard!
Grendel
07/12/19 4:06:00 AM
#6:


Yellow posted...
Better never use uppercase.


Upper case is encouraged for class names and snake case is more readable than camel case.

Yellow posted...
Looks like type definitions are out the window as well.


That's really up to you. You can use type hints and enforce them with mypy.

Yellow posted...
Better make sure I accidentally don't mispell one thing or else my entire program will break without warning.


Well that's your own fault for not using a linter.

Yellow posted...
I question why the smartest people on the planet come up with this


Probably because you don't seem to even understand how to set up a proper Python environment and are listing only solved "problems". There are some legitimate gripes with Python, but your list is garbage.
... Copied to Clipboard!
Yellow
07/12/19 4:35:06 AM
#8:


Grendel posted...
Well that's your own fault for not using a linter.


class Person:
easily_misspelled_thing = 89

def __init__(self, name, years):
self.years= years
self.name = name

name = 'Joe'
number = 8

#Swapped, no error
guy = Person(number, name)

#Mistake, no error
guy.easily_mispeled_thing = 5


Grendel posted...
That's really up to you. You can use type hints and enforce them with mypy.

I definitely will use that, thank you. That fixes the type mixup hole, but not the misspelling and creating new fields on accident. Intellisense from 2018 helps that, but not entirely.

I also don't care for the use of a C# 'var' for every defined object.

Grendel posted...
There are some legitimate gripes with Python, but your list is garbage.

Oh yeah?

Let me just google the first list I find
http://net-informations.com/python/iq/disadvantages.htm

Speed, yeah, I said that
Deployability, yeah
Memory, yup, sort of goes along with being interpreted

Wasn't the whole point of interpreted languages to be easily shared? Seems like a bit of a Python flaw. I just don't understand the point of interpreted languages in general tbh. They all have their porting quirks regardless, whether you want to do it in the compiler or not.
---
... Copied to Clipboard!
Yellow
07/15/19 5:22:22 PM
#9:


Importing from other folders is an absolute bloody nightmare. I now have to throw everything in the root folder after Googling for literal hours on how to import a file from a subfolder within a subfolder. Nothing works.

Python, what a revolutionary, simple language. We really needed this change.
---
... Copied to Clipboard!
Black_Crusher
07/15/19 8:55:08 PM
#10:


BASIC or bust, good luck to you!
---
... Copied to Clipboard!
Yellow
07/15/19 9:40:38 PM
#11:


Black_Crusher posted...
BASIC

I've actually used BASIC, C++, C#, VB, and now Python extensively.

C# is a dream. My favorite language, and nothing else is close. The only problem I had was class inheritance being very limited.
Visual Basic is C# with more English words.
C++ is too complicated. Too much effort is needed to do simple things. Header files are not needed at all. It's basically just outdated.
BASIC was a meme, but it was fun. My BASIC version used BG tiles and sprites. No objects allowed!

Python is just a straight headache. I want to go back to C#, but here I am porting my C# code to Python, because I can't interact with any crypto trading APIs out there without Python/Javascript/PHP. I decided to go with Python because I'm not setting up a server.
---
... Copied to Clipboard!
Black_Crusher
07/15/19 11:10:33 PM
#12:


I used BASIC from 87 up until maybe 2000, where I switched to VB6 and that was a lot of fun. They taught us a tiny bit of Pascal in middle school too but honestly that was over 30 years ago I can't remember jack shit about it haha.

My buddy's dad was a coder and he always recommended learning C#, said you could pretty much make anything with it if you knew what you were doing. A lot of roguelike devs use Phython too from what I see. Whatever the language this is the sort of thing you either love or hate, it doesn't seem to have a lot of grey area does it?
---
... Copied to Clipboard!
Yellow
07/18/19 11:32:16 PM
#13:


I've calmed down after finally getting tensorflow-gpu installed. Fuck me in the ass. I've never been able to get the gpu version working. There are like five specific older versions of runtimes that you have to dig up.

I've remade my thing in Python, and I have to say it's not as hard as I thought it would be. I'm not saying it has a reason to exist, but I think I can live with Python, considering it was familiar enough that I could learn it in a week.

@Black_Crusher posted...
I used BASIC from 87 up until maybe 2000, where I switched to VB6 and that was a lot of fun. They taught us a tiny bit of Pascal in middle school too but honestly that was over 30 years ago I can't remember jack shit about it haha.

My buddy's dad was a coder and he always recommended learning C#, said you could pretty much make anything with it if you knew what you were doing. A lot of roguelike devs use Phython too from what I see. Whatever the language this is the sort of thing you either love or hate, it doesn't seem to have a lot of grey area does it?

The first language I used was SmileBASIC for the Nintendo DSi. I think I was 18 at the time.

I made a Pokemon replica game.
https://www.youtube.com/watch?v=j38IdEWpPS0" data-time="


I had converted ripped midis and sprites and everything.

I was competing with a guy who remade all of MM2, I have to say he beat me. Mostly because he finished his project, and I didn't.

From that I went on to C++, and I was freaked out, because the first thing I wanted to do was draw a picture on the screen. That's probably where I get so mad at overcomplicated things. From that point on I kind of lingered in C++'s console, slowly figuring things out over time, just wishing I could make something.

There's nothing like being the master at one thing, only to move on and become the worst at the next thing. >_>

Edit- MM2 = Mega Man 2, I forgot not everyone knows that.
---
... Copied to Clipboard!
Molitheus
07/18/19 11:36:51 PM
#14:


Don't you dare say Monty.
---
There will be death Harv-5
You wouldnt wanna eat me anyways, you'd only get the runs. Got it Fools?
... Copied to Clipboard!
DrPrimemaster
07/18/19 11:53:46 PM
#15:


You just have to reference from the root directory down?

From top.other_dir.sub.code_thing import what_i_want as foo
---
Metroids Suck
... Copied to Clipboard!
Black_Crusher
07/19/19 12:00:25 AM
#16:


@Yellow

We take for granted all the graphics that computers can display today, when I first started they gave you two different graphic modes to choose: GR and HGR. So say the first line you'd have to tell the computer which mode to enter, then you'd have to tell it the color (I believe GR had 15 or 16, 0 = black IIRC). From there you'd have to either type out each dot / square / whatever you'd want like 'Plot 4,9' so it'd make a dot at X 4 / Y 9. You could also have it draw a line between two sets of coordinates, or have For / Next loops fill in large areas on the screen.

Some of my very first games with graphics I did on an Apple 2e like this. That same buddy I spoke of before and I would stay up all night, drawing monsters on graph paper and then later go through each sheet and read off the X/Y coordinates and colors while the other would code it on the computer. In the end if we were lucky we'd get a working picture of a monster that still didn't look anywhere as near as good as the ones on the Nintendo haha. Dragon Warrior was etched in my brain at the time so we were trying to make a similar RPG.
---
... Copied to Clipboard!
Bugmeat
07/19/19 12:47:36 AM
#17:


dragon504 posted...
hiss hiss

It fills my heart with joy to see this as the first reply.


---
John Mellencamp said it best "Life goes on long after the thrill of living is gone."
... Copied to Clipboard!
jramirez23
07/19/19 1:08:38 AM
#18:


I am not a programmer, so I am barely following the topic, but I liked what you said about the smartest people in the room making really odd design choices. I read an article about relational databases and it mentioned SQL injection and it made the hilarious analogy of comparing the database to a nuclear power plant where the visitor gallery and the control room are combined.
---
When life backs you up into a corner, come out swingin'!
... Copied to Clipboard!
DrPrimemaster
07/19/19 10:54:22 AM
#19:


jramirez23 posted...
I am not a programmer, so I am barely following the topic, but I liked what you said about the smartest people in the room making really odd design choices. I read an article about relational databases and it mentioned SQL injection and it made the hilarious analogy of comparing the database to a nuclear power plant where the visitor gallery and the control room are combined.


And new technologies being built so things get used for the things the creator didnt even know existed, because they didnt.
---
Metroids Suck
... Copied to Clipboard!
Topic List
Page List: 1