ZenkorSoraz@lemmy.ml to Star Trek@startrek.websiteEnglish · 1 年前What programming languages exist in the Star Trek Universe?message-squaremessage-square66fedilinkarrow-up158arrow-down12
arrow-up156arrow-down1message-squareWhat programming languages exist in the Star Trek Universe?ZenkorSoraz@lemmy.ml to Star Trek@startrek.websiteEnglish · 1 年前message-square66fedilink
minus-squareMajorHavoc@lemmy.worldlinkfedilinkEnglisharrow-up3·edit-21 年前It’s clearly because someone had to work with the Python logging package. Or had to call subprocess.
minus-squarecheery_coffee@lemmy.calinkfedilinkEnglisharrow-up3·1 年前Subprocess is great, just UTF8 encode your strings and never ever ever pass input or receive output from the sub process.
minus-squarebloopernova@programming.devlinkfedilinkEnglisharrow-up2·1 年前Logging is fine, it’s traitlets that I’m struggling with right now. Lack of comprehensive documentation means I have to read the source and that is taking me forever.
minus-squareMajorHavoc@lemmy.worldlinkfedilinkEnglisharrow-up2·1 年前Interesting. Traitlets looks to Java-like (overly in love with objects) for my taste. For typing, I’ve been reasonably happy with MyPy. For everything else in Traitlets - well, that all sounds too OOP for my comfort. Ooh, that’s another reason to burn Python to the ground and never speak of it again - it supports multiple-inheritance.
It’s clearly because someone had to work with the Python logging package. Or had to call subprocess.
Subprocess is great, just UTF8 encode your strings and never ever ever pass input or receive output from the sub process.
Logging is fine, it’s traitlets that I’m struggling with right now. Lack of comprehensive documentation means I have to read the source and that is taking me forever.
Interesting. Traitlets looks to Java-like (overly in love with objects) for my taste.
For typing, I’ve been reasonably happy with MyPy.
For everything else in Traitlets - well, that all sounds too OOP for my comfort.
Ooh, that’s another reason to burn Python to the ground and never speak of it again - it supports multiple-inheritance.