Elektrine lite

← Feed

@Ronflaix@mastodon.gamedev.place

Post #4275493

2026-07-17 15:12 UTC

@NullTheFool@mastodon.gamedev.place it changed nothing except providing to linters , programmers and debuggers a hint about what the type is expected to be. Given Python's core duck typing principle, you can still pass anything other than the type you provided, it'll just cause a few warnings but no performance or codegen change

Replies (1)

  • @taylor@social.axfive.net 2026-07-17 16:18

    @Ronflaix@mastodon.gamedev.place @NullTheFool@mastodon.gamedev.place you can still pass anything other than the type you provided, it'll just cause a few warnings but no performance or codegen change Note: Python will not give any warnings, but other tooling (like IDEs and LSPs) will.

    Open ##4278673