Closed supamunkey closed 6 years ago
Thanks @supamunkey! I learned something new today - I've never even heard of Kotlin. A Java interoperable language that compiles down to JavaScript - how bout that? 🆒 😎
I'm not terribly worried about people coming from this language getting confused with val
, as JavaScript is far more likely to be someone's intro language, plus the context surrounding it, but all the same, I've thought of this myself, and is good practice, so I don't at all disagree!
Thanks for the PR again! You're officially the most prolific contributor now besides myself 😄
P.S. sorry for the late reply! Been quite busy over the last several days working on the migration of the new React curriculum in to freeCodeCamp's codebase.
Re: No biggie; I haven't had internet since opening this PR 🤣
What's new? 💃
Currently, variables are declared somewhat inconsistently and the usage of
val
andel
as variable names can be a bit confusing for someone coming from another programming-language. Specifically,val
is an actual keyword in other languages -- take Kotlin, for example.To avoid confusion, these variable usages are replaced with their full name qualifiers:
value
andelement
.