Reading through the specifics of what the guy’s said and done, clearly a good move
Reading through the specifics of what the guy’s said and done, clearly a good move
In the way that’s common in languages like Java where you’re making a property read-only, yes. But there’s a whole protocol in Python called descriptors where you can override the . on a field. The most common form of these is class methods annotated with the @property annotation, which makes it so the method can be accessed as if it were a property.
Yeah. I can understand the use case when it’s something relating to keeping simple state in sync by replacing it with derived state. But this particular case was flushing a cache after each get, which made each get of the property non-deterministic based on the class’s state.
I helped a friend debug a script last week that was working inconsistently in really weird ways. I looked at the script and it was all event hooks littered with sleep calls. I told him he was basically fuzz testing his own script and then getting surprised when he found race conditions. Shit was wild. Also, sometimes getters in Python are a mistake.
Is it bad if my first reaction to this is “I can fix her”? Like I feel like if I could just use it as a component system and pass simple types as props it would work nicely. But I suppose That defeats the purpose anyway. It sounds like a pain to use for anything beyond basic contexts.
I use PHP daily. The only thing that seems overly magical on a cursory glance is Livewire, but I’ll probably end up using Solid for the frontend anyway.
I have every gog installer I’ve ever downloaded for this exact reason. You can’t rescind the bytes that are already on my drive.
My old senior used to do this before he got laid off and now I’m charge of code that’s littered with old commented out code and no way to know why it was commented out.
Writing plain old JavaScript without a library or framework is nice while you’re learning. Too many people will learn a single framework and not have any idea what the underlying APIs are, so the transferable skills are minimal.
Companies doing austerity internally to own the clean energy enjoyers
The most thriving mod communities are ones for games that have essentially been abandoned by their publisher. Bethesda is infamous for trying to integrate with its modding scene and personally I don’t care for it.
The dude who admitted on national tv to never washing his hands? Lmao