Having moved, some what, through the learning curve for Appium I am questioning my choice. JS is very primitive in terms of modern languages, there is no compiler pass before it runs so simple syntactic mistakes are not found until runtime. Also the await/async syntax, albeit simple and easy to understand, keeps tripping me out as being untyped, returning a
promise is no different to returning a value as far as the JS runtime is concerned, but for programme logic it really matters. Obviously. That is not even caught at runtime by JS, but by Appium.
Looking at the choices listed it looks like C# and Java are the only statically typed and compiled languages that will help with these problems. I have not seen any sign of people using C#, but because in my firm there are C# programmers it could be a good choice. I see a lot of Java but the reverse applies - no Java programmers here.
I know no Ruby. Maybe I should learn?
Edit: Perhaps there are static JS checkers I could use? (A bit OT for this forum… sorry)