Of course this question is only relevant to programming languages that allow utf-8 characters in variable names (eg. python3, golang...)
When I need to write some code from scientific papers, I have the temptation to write that kind of code :
θ = 1.
When a lot of variable are involved, I think that this code might be clearer and easier to read because the variable has the same name in the code and in the paper. Of course it is much harder to write because the character is not on the keyboard.
What do you think of that idea? What would be your reaction if you were reading that code?
I believe if the utf-8 characters works fine in variable names, then if using variable names with utf-8 characters can improve the readability of the program, just use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With