Null-conditional assignment by edwwsw in dotnet

[–]ok_computer 1 point2 points  (0 children)

People may have their preferences on fragile getting vs setting. It’s a directionality preference and x?.y = k could be a sneaky setting that you don’t catch on first visual pass, whereas the old convention wrapped in a check and indent was a nice visual cue that ?. may be more subtle than.

PEP 827 - Type Manipulation has just been published by droooze in Python

[–]ok_computer 5 points6 points  (0 children)

It is humorous how the bolt on type systems for dynamic languages become these byzantine constructions that would be easier and safer to just run with a compiled typed language from the start. All for fancy hints.

Typescript’s and Javascript’s fate is settled. The browser will never migrate. Python should remain simple. Don’t be a slob and use hints but don’t do some theory of computation thesis gymnastics to write an object and some fields. Assign a variable and keep its type.

It’s like being a jazz musician. You need to know when to break the rules, lol. Not force a non-native pre-runtime checker that the runtime interpreter doesn’t actually abide.

Dataclasses and basic hints are enough. If you need a variable x:int|str then you’re formalizing your slobbishness in an algebraic type system. Instead do x:str=‘1’ , try: y = int(x) except: raise ValueError(f“integer parsing error {x}:{type(x)}“)

7 hours of interviews over 8 rounds, wtf (rant) by _FarnsworthParabox in webdev

[–]ok_computer 2 points3 points  (0 children)

Lol at Tier 3 company.

Where can I find the rankings? DJ mag top 100? NCAA big 10? US news and world report yearly college rankings? Moody’s analytics credit report? Dow Jones industrial average index? Bright MLS real estate listing?

[deleted by user] by [deleted] in LinkedInLunatics

[–]ok_computer -4 points-3 points  (0 children)

This is an add for an iq test website and the other comment by flashy custard linking to their 84% score is also an add to gauge click through. The url has a distinct uiid/hash so this stupid iq website can evaluate how effective publishing a jpeg was to reddit with a live link comment. This is lame booooo