Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> the static typing was extremely limited: you could only type "Function", not the actual arg and return value types

You can type args and returns. One of the biggest things I relied on when I coded AS3



I meant for higher order functions, callbacks, etc.

e.g, see the signature of Array.map:

map(callback:Function, thisObject:* = null):Array




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: