@awdev_6: Python self oop #programming #awdev_6

CodeStra
CodeStra
Open In TikTok:
Region: DZ
Wednesday 01 April 2026 23:00:39 GMT
742109
44980
366
1129

Music

Download

Comments

kuromochine6
Hoangkhai Nguyen :
In Java, we abuse "this"
2026-04-02 03:36:26
2369
gdspd.pl
godspeed.paul :
'this' from java
2026-04-02 00:41:40
1395
lordcsd
"Lord CSD" on Spotify 🇳🇬 :
Doesn’t explain why the __init__ takes self as a parameter. It feels redundant
2026-04-03 06:01:48
192
ta_none
You’re the Problem :
Another reason why python sucks
2026-04-02 02:53:47
83
baklavaundboerke
Arda Güler :
in cpp we cry in * and &
2026-04-02 11:49:34
69
timi_ffx
Timi :
So self in python is like this in java
2026-04-15 02:22:36
29
raremessi10
LM10 :
isnt it like the this in java
2026-04-30 09:05:33
12
jjahayy
J j a H a y Y :
Python = self Java = this
2026-05-22 15:21:00
4
simo62594
Simo 🇫🇮 :
Why you need self as a argument on init function?
2026-04-02 18:30:25
6
matteonotaro388
matteonotaro388 :
It's simple: classes doesn't really exist in python, they are just a syntax sugar for dicts with functions. In other oop languages you don't really need to reference the current instance, it's obvious.
2026-04-02 10:56:46
26
izanamino_mikoto
Izanami No Mikoto :
Another reason to despise object oriented programming 😁
2026-04-03 03:44:13
13
itay_berger_
itai_bergee :
jast to be 100% sure is self referring to the last object that was created?
2026-04-02 00:08:36
16
aurora.info
Aurora Info :
same as "this" from c#
2026-04-04 08:47:10
5
www.zain.a.com
Zain 😵‍💫 :
Innit mate
2026-05-26 00:33:21
3
dork_blownup
Dork :
2026-04-22 19:39:16
1
doc_charles.69
Doc Charles :
I learn Python from a Russian dude suka
2026-04-02 11:36:55
0
stinkoflaziness
Lazy :
"self" is the same thing as "this" in Java, JavaScript and C#
2026-04-02 21:05:36
6
user93094539225506
user93094539225506 :
I get it,but why do we need to put it in the constructor everytime. I mean, in Java/C++,etc, we use "this", and it's always just there, we don't pass it in the constructor.
2026-04-02 00:32:47
6
pluh.4
Suguru Geto :
I wanna learn coding
2026-04-08 11:28:26
4
thatguyrobb__
ThatGuyRobb :
this
2026-04-02 18:30:05
1
cimp001
cimp :
self is like a getter and setter in other languages but self is one line to make It, get and set are written separately
2026-04-02 04:37:29
2
dissoluton2
Dissoluton2 :
this.
2026-04-30 06:54:34
1
aly285312
Aly :
Your channel is SO helpful!! Thank you for explaining, this is great!
2026-06-12 04:04:58
1
toad12345678
toad :
what program do you use
2026-04-02 12:37:48
2
To see more videos from user @awdev_6, please go to the Tikwm homepage.

Other Videos


About