Mirrors are hard. Good luck on your quest.
Mirrors are hard. Good luck on your quest.
I would do
class MyClass:
def __init__(self, value):
self._whatever = value
@property
def whatever(self):
return self._whatever
Personally, I would type hint all of that but I’m just showing how you can do it without types. Your linter should be smart enough to say “hey dumbass did you mean this other thing”? Also since we didn’t create a setter you can’t arbitrarily overwrite the value of whatever so thats neat.
And I’ll just say before I post that I’m on mobile and I’m sorry if the formatting is fucked. I’m not going to fix it.
find -iname '*part*'
has saved my butt countless times.
find a . | grep part
if you’re feeling stupid and lazy!
Programming has its highs and lows. Yesterday I spent four hours trying to write a script that honestly probably won’t even be useful to anyone.
Today I felt like a god because I built a recursive query to pull some ridiculously obscure data from our database.
Tomorrow I’ll probably delete a table in prod or something.
You win some, you lose some!
Yeah. If it only impacted your landlord that would be one thing, but you’re potentially ruining the entire municipal plumbing system.
You should read about fatbergs before doing this though.
Wow this looks great! Can’t wait to try it out.
The mechanics of the game allow this to work but that doesn’t mean anyone has to want to play with you.
deleted by creator