yvolk
October 21, 2020, 9:44am
21
Definitely, as the title suggests that Properties and Fields are separate things.
Wasabi375:
arocnies:
In Kotlin, fields are only used when needed as part of a property
Maybe even change it to
In Kotlin, fields are only used when needed as part of a property and can not be declared directly.
I would extend this with “memory backing” aspect to: “In Kotlin, field is only used when needed as a part of a property to hold property value in memory. Fields can not be declared directly.”
For the sake of smaller edits, how about this change:
In Kotlin, field is only used when needed as a part of a property to hold a property value in memory. Fields can not be declared directly.
An “a” was added before the 16th word. Single character-beat that!
Technically two characters are changed since you removed the trailing punctuation
I added the punctuation back. Smallest change so far
Lol nice. Here’s one smaller. I italicized the “b” in “be declared”, no characters added/removed!
In Kotlin, a field is only used when needed as a part of a property to hold a property value in memory. Fields can not b e declared directly.
Can a mod split this topic? Either at the post right after the 2 year jump or at my post from a day ago?
1 Like
I created a PR to apply the changes we discussed here:
JetBrains:master ← Wasabi375:patch-1
opened 08:08PM - 22 Oct 20 UTC
This is based on the forum discussion here: https://discuss.kotlinlang.org/t/pro… perty-vs-field/8179/10?u=wasabi375
1 Like
@yvolk since you started this discussion again I would like you to take a look at my PR and give some feedback. Do you think those changes are enough or should we add more explanation there?
yvolk
October 23, 2020, 6:12am
29
Thank you @Wasabi375 I think these changes are enough to avoid noticed confusion.
yvolk
January 17, 2021, 6:10am
30
@Wasabi375 After we changed the target page title in the merge request #1931 , I noticed that we forgot to change titles of the links to that page.
Now I created PR for that: Fix link titles referring to the "Properties" page by yvolk · Pull Request #2012 · JetBrains/kotlin-web-site · GitHub
3 Likes