3 ms·
Python is ideal! You can just drop code in a file - no structure - and it runs. Then when you have code you wanna reuse just wrap it in a function and drop it a
by radicalbyte 3y ago
Python is ideal! You can just drop code in a file - no structure - and it runs. Then when you have code you wanna reuse just wrap it in a function and drop it at the top of your file. That get too much? Split it into a different file and import. Have cases where data + logic in functions kinda all fit together? Move them to a class. Start getting overwhelmed by all the runtime errors and stuff being slow? Learn C#, Kotlin, Java or Rust.
- vrighter 3y agono structure apart from the very strict structure imposed by the significant whitespace, guaranteeing that copy and pasting code will result in something unexpected, for a beginner?