Elektrine lite

← Feed

@pvanheus@mstdn.science

Post #2273821

2026-05-08 19:40 UTC

@eliocamp@mastodon.social this is exactly what I mean: there's a parameter to the function that changes its behaviour, meaning that I need to remember which functions have these special parameters. In Python I need to learn that there's a language construction (a loop or a list comprehension) that can take a list (or anything iterable) and filter it into another list. It is more verbose but more general.

Replies (1)

  • @eliocamp@mastodon.social 2026-05-08 23:41

    @pvanheus@mstdn.science You don't need to remember it. You can press tab and get a list of all arguments, or press F1 to open the documentation of the function.

    Open ##2273822