Pierre Hébert I know this is not an easy thing, but:

Pierre Hébert I know this is not an easy thing, but:

I would like to code scripts only in java and get rid of javscript.

I know this would break every other script written before, but it’s really annoying to code in two languages at once.

And: Isn’t it kind of weird to have a java app executing javascript which calls java?

I know this is probably not gonna happen, I just wanted to express that this is a great wish of mine.

]]>

8 Commentsto Pierre Hébert I know this is not an easy thing, but:

  1. Anonymous says:

    < ![CDATA[

    well, I do not find it strange ‘a java app executing javascript which calls java’ and besides, I think that for scripting, javascript has an edge (just think of coffescript, node.js …)

    ]]>

  2. Anonymous says:

    < ![CDATA[

    I like it as it is. I code in a lot of different languages. 

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Perhaps a java API to use with normal java apps?


    Or


    Maybe you can modify the apk when creating a custom script template to introduce your own dialog (easier to do with eclipse).


    But I don’t know if this is possible, I never tried.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Short answer: no way.


    The explanation is the difference in goals and design of scripting and software programming.


    Scripting is designed for short extensions, relatively small utilities. It can be executed on the fly and doesn’t need expert knowledge nor a lot of tools. Java is for complex and structured software, it needs a compiler and benefit from advanced tools, such as an IDE. You need to study this kind of programming language a bit more to understand and really master its usage.


    In an application such as Lightning, scripting is a good fit for plugins and extension. The caveat is that it offers too many possibilities…  Providing a more robust language (Java) does not make sense at this level. It would be suitable (and the only choice) for “binary” extensions, but that’s a very different thing.


    My feeling is that you like to code. Probably you should go on and make your own android app ? Maybe you already done that, I don’t know, but if this is not the case I think you would enjoy it.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Pierre Hébert you’ve reminded me of a useful bit of humor I heard in a software shop where I used to work. People there were coding in everything from COBOL to javascript, depending on the systems in use etc. I did a lot of Microsoft visual basic because there’s so much of it out there and it was easy to talk customers into paying me to give them custom-built idiot-proofed applications. But I was also painfully familiar with the myriad ways that Windows can go wrong….


    One day we were talking about how to decide what to use for any given project. The guy in the next cubicle said “If you write the code for a heart-lung machine with Microsoft visual basic, the phrase ‘blue screen of death’ takes on a whole new meaning 🙂

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Pierre Hébert


    As I said: I didn’t really expect anything, I just wanted to give it a try…



    I also thought about an own app, but I don’t have a good idea for it, and I don’t want to waste time on nonsense .

    ]]>

  7. Anonymous says:

    < ![CDATA[

    This is in writing nonsense software that you slowly learn things, and that’s often fun 🙂 This is actually very difficult to make really useful software.

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Pierre Hébert well, you gave that challenge a new upper bound…

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *