CodeNewbie Community

Discussion on: Examples for reversing a string in JavaScript, Python and Dart

jordanaf808 profile image

are there benefits to using one of these methods over the other?

andrewbaisden profile image
Andrew Baisden Author

Some of them have less lines of code which could lead to a slightly smaller file size and performance boost. The biggest takeaway here would be showing that you understand the programming language well as you can perform the same function using different methods.