I’m also on Mastodon as https://hachyderm.io/@BoydStephenSmithJr .

  • 2 Posts
  • 253 Comments
Joined il y a 3 ans
cake
Cake day: 2 octobre 2023

help-circle




  • I want a language with an internal/core calculus of GRTT with a specific grading that I believe will provide both optimal evaluation and prompt resource release. You aren’t going to get that by building on top of another language.

    Of course you could do it as a library for another language, but the few values you could lift/lower and the necessary analysis do to bidirectional type inference/checking mean that you are writing a compile phase whether you call it that or not. In theory, you might save on the tokenizer/parser, but those are trivial to write. You might be able to reuse parts of the API/ABI, which could be an advantage if the underlying language has a good, stable one that can reflect your linking/calling/passing restrictions; but that’s not likely.






  • If you read the literature, particularly “Types and Programming Language”, you’ll find that “dynamic typing” isn’t even considered typing. If you can have a type error at runtime you’ve defeated the reason to add a type system: to reduce runtime errors. The hope is that “well-typed programs don’t go wrong” tho there are some limits to what any type system can do (e.g. Rice’s Theorem).

    That said. Static v. Dynamic is much more precise than Strong v. Weak and should be preferred.

    Implicit v. Manifest is less useful just because it’s a broad spectrum, basically inculcating how much type inference is done and “how much” generally depends a lot the input program(s). Haskell does whole-program inference, tho GHC (the only Haskell compiler) has a number of syntactic forms that can’t be inferred. Scala only does local inference. C doesn’t infer types, though is gets close with how it treats functions with no-argument in the prototype and varargs stuff. C++ uses auto for some type inference, which is still somewhat manifest, but also mostly implicit.

    I think weak typing is a good name for when there are invisible coercions, but that doesn’t actually have much to do with proper types.

    Anyway, great comment, If more people would use static/dynamic and explicit/implicit instead of strong/weak, there’d be less miscommunication.








  • bss03@infosec.pubtoComic Strips@lemmy.worldTipping
    link
    fedilink
    English
    arrow-up
    8
    ·
    il y a 18 jours

    But the people who directly benefit will still fight you on it.

    Is that still true? Even back when I has tipped workers as peers, their attitudes were mixed. If you have any polling data, that would be appreciated – but, I don’t have any data either, just vague memories.


  • bss03@infosec.pubtoComic Strips@lemmy.worldTipping
    link
    fedilink
    English
    arrow-up
    27
    ·
    il y a 18 jours

    Yes and “tipping” has gone insane. Not just amounts (tho even when I was a child, my parents consider 10% the bare minimum) but also you get prompted to leave a tip for transactions that don’t involve a tipped position.

    My experience is from one of the shittier states for workers (Arkansas), right-to-work effectively eliminates all union activity, the state would remove the minimum wage if it could, and there’s even people that want to make it easier for 14-18 year olds to work.



  • bss03@infosec.pubtoComic Strips@lemmy.worldTipping
    link
    fedilink
    arrow-up
    113
    ·
    il y a 18 jours

    As wish many things American, it goes back to slavery. Tipped workers were a way for employers to avoid paying (mostly black) workers, effectively providing slavery-lite even after slavery had ended (Happy Juneteenth).

    In any case, current U.S. labor law has specific carve-outs for certain tipped jobs that allow the minimal wage to be not the already unlivable $7.25/hr but the unsustainable $2.15/hr. Technically, employers are required to bring a tipped workers pay up to $7.25/hr if they do not report enough tips, but in practice employers encourage reporting incorrect tips and find reasons (if needed) to dismiss employees that do not report enough tips.

    Fisherman, Sailor, Teamster, and Chef are not tipped positions. Waitstaff is a tipped position.