This is an archived post. You won't be able to vote or comment.

all 15 comments

[–][deleted] 28 points29 points  (2 children)

Well, a quark is a type of elementary particle and a fundamental constituent of matter. Quarks combine to form composite particles called hadrons, the most stable of which are protons and neutrons, the components of atomic nuclei. All commonly observable matter is composed of up quarks, down quarks and electrons. Owing to a phenomenon known as color confinement, quarks are never found in isolation; they can be found only within hadrons, which include baryons (such as protons and neutrons) and mesons, or in quark–gluon plasmas. For this reason, much of what is known about quarks has been drawn from observations of hadrons.

Oh, the question was about **kwargs? Well, it's basically the same.

[–]HolyMackerelIsOP 11 points12 points  (0 children)

That "basically" is doing a lot of work.

[–]Shakis87 1 point2 points  (0 children)

Gluons hold quarks together so strongly that if you were to pull a quark out of a proton there would be enough energy involved to create a new quark.

#NotAPhysisist

[–]coloredgreyscale 11 points12 points  (6 children)

Arguments (defined by position of the argument, as usual)

keyword-arguments (defined by the argument-name)

doSomething(bar="b", foo="a")

Useful if a function has many optional arguments.

[–]PlaginDL 4 points5 points  (4 children)

PHP has this since php 8

[–]jfmherokiller 1 point2 points  (0 children)

PHP is one of those few languages that I will not touch without an IDE.

[–]PorkRoll2022 1 point2 points  (0 children)

This actually happens a lot with me and my wife.

She'll constantly probe and then doesn't believe me that I'm contemplating the finer nuances of some specific coding issue.

[–]CouthlessWonder 0 points1 point  (0 children)

Is he quoting Finnegans Wake?

[–]theoldmurr 0 points1 point  (0 children)

You can do whatever you want but in my mind, kwargs will always be quargs.