arent classes just useless? you can just use a dict or in most cases just save it in a picke...
saebr [#2]classes aren't entirely useless, some people prefer learning in a structured environment with an expert guiding them along and helping them when they are lost or need assistance!
0/8
nobody___100 [#4]whats with the flag
Im trying to see if mods will ban me just for my flag
They banned me for three days because I said israelis don’t deserve to be harassed
Frooti [#5]Im trying to see if mods will ban me just for my flag
They banned me for three days because I said israelis don’t deserve to be harassed
They’ll probably just ban you from changing flags
Frooti [#5]Im trying to see if mods will ban me just for my flag
They banned me for three days because I said israelis don’t deserve to be harassed
is that really all you said? (maybe politics that lead to that?)
Harapan845 [#7]is that really all you said? (maybe politics that lead to that?)
Yes
I said although I don’t support israel, israelis don’t deserve all of the hate just for their nationality
If you hate on israelis, you should hate on Americans too as we are the biggest israel enablers
I will probably get banned for this neutral statement which will prove mods are biased
Sad that telling people not to be racist/xenophobic warrants a ban on this site
Frooti [#8]Yes
I said although I don’t support israel, israelis don’t deserve all of the hate just for their nationality
If you hate on israelis, you should hate on Americans too as we are the biggest israel enablers
I will probably get banned for this neutral statement which will prove mods are biased
Sad that telling people not to be racist/xenophobic warrants a ban on this site
totally agree
Frooti [#8]Yes
I said although I don’t support israel, israelis don’t deserve all of the hate just for their nationality
If you hate on israelis, you should hate on Americans too as we are the biggest israel enablers
I will probably get banned for this neutral statement which will prove mods are biased
Sad that telling people not to be racist/xenophobic warrants a ban on this site
enigma should mod me ngl
Classes in python aren't useless. Good code is more than just getting the thing to work. Classes provide an opportunity for the programmer to define an informative and descriptive interface for the logic being encapsulated. Instance/Class methods, constructor methods, and Meta classes allow for that!
Jamming everything into a dictionary, is, as you point out, sometimes possible, but would frequently sacrifice opportunities to organize the logic in a way that makes it easier for someone reading your code to understand how it works and what you were trying to accomplish.
Frooti [#8]Yes
I said although I don’t support israel, israelis don’t deserve all of the hate just for their nationality
If you hate on israelis, you should hate on Americans too as we are the biggest israel enablers
I will probably get banned for this neutral statement which will prove mods are biased
Sad that telling people not to be racist/xenophobic warrants a ban on this site
based
pett [#11]Classes in python aren't useless. Good code is more than just getting the thing to work. Classes provide an opportunity for the programmer to define an informative and descriptive interface for the logic being encapsulated. Instance/Class methods, constructor methods, and Meta classes allow for that!
Jamming everything into a dictionary, is, as you point out, sometimes possible, but would frequently sacrifice opportunities to organize the logic in a way that makes it easier for someone reading your code to understand how it works and what you were trying to accomplish.
what this guy said. wait til you are working with hundreds of files and you'll see. not to mention working with teammates.