MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/t4doe0/i_wonder_if_its_a_match/
r/badcode • u/HeyItsMassacre • Mar 01 '22
16 comments sorted by
16
Image Transcription: Code
isMatch = True while isMatch: match = ... isMatch = self.__checkMatch(match) return def __checkMatch(self, match=None): return True if match else False
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
9 u/HeyItsMassacre Mar 01 '22 Best hooman
9
Best hooman
66
TIL about ... in python
26 u/drkspace2 Mar 01 '22 Same. I've been using python for like 7 years and I always thought when I saw people using it it was kinda like a pseudo-code thing cause the author didn't want to type the expression out. 14 u/megamaz_ Mar 02 '22 so how in the world is it used here? 27 u/drkspace2 Mar 02 '22 You're in /r/badcode. It doesn't have to work 4 u/megamaz_ Mar 02 '22 aight 8 u/noop_noob Mar 02 '22 The created Ellipses object is checked to be truthy, then discarded. 1 u/konstantinua00 Mar 09 '22 it isn'tI'm pretty sure in this pic it is IDE hiding code 2 u/Johanno1 Mar 02 '22 I just thought it was pseudo code
26
Same. I've been using python for like 7 years and I always thought when I saw people using it it was kinda like a pseudo-code thing cause the author didn't want to type the expression out.
14
so how in the world is it used here?
27 u/drkspace2 Mar 02 '22 You're in /r/badcode. It doesn't have to work 4 u/megamaz_ Mar 02 '22 aight 8 u/noop_noob Mar 02 '22 The created Ellipses object is checked to be truthy, then discarded. 1 u/konstantinua00 Mar 09 '22 it isn'tI'm pretty sure in this pic it is IDE hiding code
27
You're in /r/badcode. It doesn't have to work
4 u/megamaz_ Mar 02 '22 aight
4
aight
8
The created Ellipses object is checked to be truthy, then discarded.
1
it isn't
I'm pretty sure in this pic it is IDE hiding code
2
I just thought it was pseudo code
What font is this?
2 u/HeyItsMassacre Mar 05 '22 MonoLisa Regular 1 u/STEIN197 Mar 05 '22 Thanks a lot!
MonoLisa Regular
1 u/STEIN197 Mar 05 '22 Thanks a lot!
Thanks a lot!
3
oh no I've gone crosseyed
this is painfully common in self taught python devs
but. but. when will Elipsis not be true
16
u/seeroflights Mar 01 '22
Image Transcription: Code
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
66
u/Kamoda Mar 01 '22
TIL about ... in python
1
u/STEIN197 Mar 05 '22
What font is this?
3
u/peeslosh122 Mar 02 '22
oh no I've gone crosseyed
2
u/Anna-22463 Mar 04 '22
this is painfully common in self taught python devs
1
u/jso__ Mar 02 '22
but. but. when will Elipsis not be true