|
|
|
|
|
by S1ngleM4lt
1557 days ago
|
|
That seems to be mostly just a matter of taste, but is definitely off putting when coming from other languages. Interestingly other recent languages like rust, zig, and go follow a similar convention to type script. Go has a brief explanation of why they went with this approach [0] so I’d be curious if other langs have documented their decisions. [0] https://go.dev/doc/faq#declarations_backwards |
|