oshun icon indicating copy to clipboard operation
oshun copied to clipboard

A thought - my $var TYPE instead of my TYPE $var

Open matthewpersico opened this issue 1 year ago • 1 comments

https://developers.slashdot.org/story/23/08/07/0136228/should-a-variables-type-come-after-its-name

matthewpersico avatar Aug 09 '23 03:08 matthewpersico

First, check are not types, checks are more than types (eg, checks will be available during runtime)

Topic already discussed in discussion #22 , proposal is to use attributes:

my $var :check(Foo);

happy-barney avatar Aug 09 '23 04:08 happy-barney