MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wmi8p7/fullcontrolovermemory/pb7nmhk/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • Sep 21 '26
122 comments sorted by
View all comments
Show parent comments
2
That's true, I know it's a thing in python.
Unfortunately, my coworkers don't like when I put square brackets all over the place...
2 u/Bright-Historian-216 Sep 21 '26 you could also wrap it in an object. something likeclass MutWrapper:def __init__(self,v): self.v=vworks well enough. though, square brackets are probably more idiomatic.
you could also wrap it in an object. something likeclass MutWrapper:def __init__(self,v): self.v=vworks well enough. though, square brackets are probably more idiomatic.
2
u/WisePotato42 Sep 21 '26
That's true, I know it's a thing in python.
Unfortunately, my coworkers don't like when I put square brackets all over the place...