lugged
Joined 6 years ago
Joined 6 years ago
https://github.com/ochinchina/supervisord
You can configure it like supervisord with a single config file,
https://riptutorial.com/docker/example/14132/dockerfile-plus...
But the golang version is much smaller / less deps and can be installed as a static binary.
Parameter count denotes logical branches like an if statement.
If you're passing in more than two to three Params a parameter object quickly becomes desireable.
Forcing parameter objects for one or two parameter functions seems.. stupid to say the least.
Boolean parameters are extremely rare if you're code is clean. They're essentially a code smell that indicate someone has dropped a hack in the middle of your function and handed in a parameter to toggle the behavior on in their one case against all others.
You're much better off writing a new function that triggers the new behavior and wraps a call to the old one.
Similar story for object returns, if you need to return an object that's fine but to be honest destructuring an object straight away makes code pretty hard to read in a lot of cases (not all).
For returning two parameters I'm pretty confused about the code, it's likely breaking single responsibility and signalling sideeffects.
>> If the court follows this argument the ...
Op is referring to precedent potentially being set, but I'm not sure it would actually apply in practice. (Different laws)
It's perfectly fine if 0.00000001% of the population spends their lives on something that achieves nothing if a few of these lead to further developments.
There are currently over 100 proposed solutions that do actually add up to more than enough sequestration but the conversation needs to change and the disparaging whataboutism needs to end.
If people get apathetic or nihilism sets in nobody will be able to make the changes required.
Neither the peacful capitol protest or the thousand days of violent riots in Portland lead to significant upticks in corona virus spreading, but some spreading did happen.
They're paid by the load, so sitting idle is a non option.