4 ms·
As with everything, there are trade offs and in this case, I don't think they are worth it. What are the most common use cases for JS, that might be a barrier
by gedrap 10y ago
As with everything, there are trade offs and in this case, I don't think they are worth it.
What are the most common use cases for JS, that might be a barrier to an unfamiliar developer, requiring some learning? I believe that making an ajax request and some trivial DOM manipulation covers a lot (say, send ajax request to the server and add some text returned to a dom element). In order to do that, you don't need some fancy framework, plain simple JS will do it. Arguably, it will be even easier to do it in JS than in e.g. Python, because there are tons of examples on the web in case you need to extend the functionality. Occasionally, you will need some visualization (chart or something), but then it's mostly just finding some library and transforming the data into the required format, that's simple enough to do with a language that you are not an expert in.
After all, isn't web development already accessible? I would argue that this is the most accessible of software development, with huge amount of high quality, accessible learning resources and various frameworks that enable to develop complex features rather quickly, if needed.
True, there's always something that can be improved but I don't think that Python-to-JS solves anything.
However, I genuinely believe that a project such as this is a cool side project to explore and improve your software development skills :) so often 'why would you...' can be answered with simply 'because it's fun'.