Skip to content

Improve readability of unknown parameter names#218

Open
Maximilian-Seitz wants to merge 240 commits into
Kotlin:masterfrom
Maximilian-Seitz:function-names
Open

Improve readability of unknown parameter names#218
Maximilian-Seitz wants to merge 240 commits into
Kotlin:masterfrom
Maximilian-Seitz:function-names

Conversation

@Maximilian-Seitz

Copy link
Copy Markdown
Contributor

Function parameters with unknown names are now called "argA", "argB", ..., "argAA", "argAB", etc.

Naming them just "a", "b", etc. leads to issues with reaching keywords (like "as") at some point. This shouldn't be a problem most of the time, but can be avoided entirely with this approach.

Unnamed parameters in function types are now omitted, since they aren't needed in Kotlin.

Schahen and others added 25 commits January 2, 2020 14:09
…oduceUIDs (but rather relying on the first item in a bucket)
… to reintroduceUIDs (but rather relying on the first item in a bucket)
@Maximilian-Seitz Maximilian-Seitz changed the title Improve readability of unknown parameter names. Improve readability of unknown parameter names Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants