Elektrine lite

← Feed

@saagar@federated.saagarjha.com

Post #2598501

2023-03-19 09:17 UTC

@slomo@toot.cat Take, for example, a language that allows both specifying default argument expressions (e.g. Swift) and reordering parameters by name (e.g. Python). Combining both of these features, which is not all that unreasonable, can “break” LTR for either the caller or callee.

Replies (1)

  • @slomo@toot.cat 2023-03-19 09:24

    @saagar@federated.saagarjha.com Yes, also why it's not as easy as it seems to design a programming language without footguns (to be clear, Rust also has its own set of those), and you have to be very careful with adding features at a later time as the interaction between them can be confusing, or adding one harmless feature makes it impossible to add another one in the future.

    Open ##2598502