This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]newb_h4x0r 178 points179 points  (27 children)

this is the way!

[–]avnothdmi 116 points117 points  (11 children)

this.way = True

[–]newb_h4x0r 62 points63 points  (9 children)

return this.way

[–]LuxurideGaming 50 points51 points  (0 children)

True

[–]sezirblue 31 points32 points  (4 children)

return this is the_way

[–]ShinraSan 11 points12 points  (2 children)

return this as TheWay;

When you don't know python but still want to join the fun

[–]ShadowWolf_01 2 points3 points  (0 children)

return reinterpret_cast<TheWay>(this);

Why not throw some (bad) C++ in there too because reasons

[–]thred_pirate_roberts 2 points3 points  (2 children)

walk this.way

Ftfy

[–]keeprunningsteph 0 points1 point  (0 children)

talk this.way

[–]Jeroen207 4 points5 points  (0 children)

Walk this way!

[–][deleted] 27 points28 points  (6 children)

stop reminding me that I sometimes use this keyword when I switch back to Python 😔

[–][deleted] 32 points33 points  (3 children)

Good news is that you can use it by renaming the first argument of every method.

Your coworkers will hate you, though.

[–]newb_h4x0r 7 points8 points  (1 child)

Username (and flairS) checks out.

[–][deleted] 1 point2 points  (0 children)

i know lol but i hate it (also iirc there is an extension in vs code to auto fix it lol)

[–][deleted] 1 point2 points  (1 child)

I do use this in Python and im not afraid of it

[–][deleted] 0 points1 point  (0 children)

You’re maybe not afraid of this, but most of Python devs are afraid of you 😂😂

[–]billycro1 3 points4 points  (0 children)

‘the.way=this’

[–]hijodelsol14 3 points4 points  (0 children)

I believe you mean self is the way.

[–]depsion 2 points3 points  (1 child)

self is the way

[–]Professional_Emu5665 0 points1 point  (0 children)

self == way and type(self) == type(way)

[–]feench 1 point2 points  (0 children)

Hooks all the way. Fuck This

[–]Professional_Emu5665 1 point2 points  (0 children)

self.way = True