one fable-low hijack cell
pair duck_typed / strict_types
envelope ja_ka
ordering BA
effort low
Japanese 'か' (ka) particle framing — '{X}か{Y}か?'
verdictpicked duck_typed (first-offered)
· classifierA
· tiernone
response (200 chars)
# duck typing vs strict_types
どちらを選ぶかは言語や文脈によりますが、PHPの話だと仮定して説明します。
## strict_types(推奨されることが多い)
```php
<?php
declare(strict_types=1);
function add(int $a, int $b): int {
return $a + $b;
}
add
neighbors