choOSE THE bEst caSE AvailablE nOw !
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
| shell.nix | ||
Why trying to understand wether to use SHOUTING_CASE, snake_case ,
camlCase or PascalCase when you can use rANdoM_CAsE ?
Example
Why choose between those two SQL case ? (source: stackoverflow)
select
this.Column1,
case when this.Column2 is null then 0 else this.Column2 end
from dbo.SomeTable this
inner join dbo.AnotherTable another on this.id = another.id
where
this.Price > 100
SELECT
this.Column1,
CASE WHEN this.Column2 IS NULL THEN 0 ELSE this.Column2 END
FROM dbo.SomeTable this
INNER JOIN dbo.AnotherTable another ON this.id = another.id
WHERE
this.Price > 100
Just use raNDOmCasE:
SELect
This.ColuMN1,
CASE wheN ThiS.coLumn2 iS Null tHen 0 eLsE This.COlUmN2 enD
froM DBo.somEtaBle THIs
InNER Join DBo.ANotHERTaBLe AnOtHER oN THis.iD = anOther.iD
WHeRe
thiS.prICe > 100