Oh absolutely. I can think of several situations where that wouldn't work well or at all, for example, a switch statement that sets up variables to be used in the rest of the function.
Also, good luck using
switch
without anybreak
s, but I'm guessing that's not quite what your teacher had in mind.
The teacher, probably: “You must always put a switch
in its own function! Then use return
at the end of each case.”
@btaf45 @mspencer712 The whole point of Scrum is to use the retrospective to stop doing what doesn't work and start doing what does.
At one point, when my team's workload changed to less-timeboxable work, we threw out the entire concept of sprints and just used kanban instead, and stayed like that for a year. We still did retrospectives on the old sprint cadence though.
@verdare @lysdexic they are, but you have to be an enterprise customer.
https://ubuntu.com/blog/real-time-ubuntu-is-now-generally-available
https://learn.microsoft.com/en-us/windows/iot/iot-enterprise/soft-real-time/soft-real-time
RTOS are not going to become consumer operating systems, because there's too much value in selling it as a capability to enterprise customers (who are largely the consumers who REQUIRE a RTOS, rather than it merely being a convenience).
Python has had syntax support for type annotations for a while now. The Python runtime doesn't enforce the typing at all, but it can be enforced by a linter or by your IDE. And I believe you can introspect the type annotations at runtime, because they are actually part of the syntax.
There's even an alternative way of doing type annotations through specially formatted comments, just in case you might still need to write code that is backwards compatible with Python 2.
@JackbyDev oh damn wish I'd thought of that
@snowe It's got its quirks. For example, if I am replying to someone who's not on programming.dev then I have to make sure to tag @programming (or another account on the instance) in order for my post to still federate to your server, otherwise only the person I'm replying to would see my reply and it wouldn't show in comments.
I did discover that adding the tag as a trailing reply to a missing comment thread will cause the entire reply chain to federate, so that's neat.
@snowe a very common reason with Google products, I've found; up to and including not wanting to provide that product anymore.
@snowe Typing the character. With GBoard it's switch to numbers+symbols then press and hold a number (in this case 1) to access fractions and superscripts.
It's the other way around. The YAML schema supports JSON because YAML was designed as a superset of JSON.
@Lynxtickler @canpolat