https://kotlinlang.org logo
#getting-started
Title
# getting-started
e

Everett Corvid

11/16/2023, 9:05 PM
I'm just now getting a feel for the fact that, like rust, NO objects are copied unless specified or required, but it's a lot more comfortable in kotlin than rust. I can see this as easy to forget and will certainly lead to lots of troubleshooting down the line, but in general it's nice to exclusively work in pointers and not touch object data unless necessary - makes it much less likely to invalidate pointers, duplicate data accidentally, etc, but I also will have to manually keep track of what owns which objects, and to not step over eachother toes, unless theres a system for that I haven't learned yet