← Back to team overview

ubuntu-phone team mailing list archive

Re: Why js not c++?

 

> you can indeed build apps in C++ if you want, but C++ is more complex to
> understand and write (if you ever did a dynamic web page in your life
> you likely know the basics of js). C++ needs a (cross) compile
> environment set up while js means you can just dump a txt (well, .qml)
> file in place and it just works. Doing C++ is just a lot more work and
> while you can use C++ I think people find it easier to simply use js (I
> surely do, i can write a ready made QML app including rolling the click
> and uploading it to the store with a plain text editor within 20min, I
> (personally) cant do that in C++)) ... 

Writing a dynamic web page in C++ is a bit like writing a neural network in COBOL. Don't.

Would I write a device driver in JS? Probably not.

Would I try to tighten a Phillips head screw with a nail file? Probably not either.

I think you get the drift… :-)

Michi.

Follow ups

References