Active Topics

 


Reply
Thread Tools
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#31
Anyone making further suggestions that ECMA script is a viable basis for apps (let alone a platform) and superior to (insert any language) will be subject to death by grue.

Regarding PalmOS: there are a number of emulators for Garnet OS around. I think the lack of killer app for Palm that doesn't exist on Maemo is why they aren't used more.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#32
Originally Posted by Capt'n Corrupt View Post
Javascript is a very flexible OO-langauge that shares similarity with Ruby. It's very easy to get into, even if you are just doing procedural programming.
JavaScript is well supported on the maemo browser, so you could code apps with HTML/CSS/JavaScript.

JavaScript is not an object-oriented language though. It's object-based, which is a little bit different. It has some weird concepts, too. It might be easy to learn but hard to comprehend the more advanced stuff.
 

The Following User Says Thank You to pycage For This Useful Post:
Capt'n Corrupt's Avatar
Posts: 3,524 | Thanked: 2,958 times | Joined on Oct 2007 @ Delta Quadrant
#33
Originally Posted by javispedro View Post
No, you don't mean HTML then. You position the elements using a GUI, and that's where the easiness comes from.
Umm, excuse me? It wasn't implied anywhere that I use a GUI to generate HTML.


Originally Posted by javispedro View Post
I code HTML and Javascript by hand and I can tell Python is waaaaaay easier (and nicer!). I'd even consider C to be easier.
'Easier' is a matter of experience and skill. They're all just languages that have the exact same control of flow statements, and roughly the same syntax. Generally the 'difficulty' comes not from the language, but the that you're trying to implement, and the tools available to you.

That said Javascript/DOM is not the best environment for all apps. But it's a great environment for *many* apps. It carries a number of advantages including easy development, easy testing, instant distribution, no installation, etc.

I believe the OP was referring to this when he mentioned Javascript, as its generally synonymous with browsers these days.

Originally Posted by javispedro View Post
So, wait for a proper PySide GUI instead.
Uhhhh... Thanks for the tip, but no.

}:^/~
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#34
Originally Posted by Capt'n Corrupt View Post
It carries a number of advantages including easy development, easy testing, instant distribution, no installation, etc.
Oh, like any other interpreted language... Surprising.

Only with a proper GUI toolkit you can actually easily code window layouts and not document layouts like HTML is supposed to do.

And then I'd disagree on the "easy testing" part, but hey, you can code in whatever language you want...
 
Capt'n Corrupt's Avatar
Posts: 3,524 | Thanked: 2,958 times | Joined on Oct 2007 @ Delta Quadrant
#35
Originally Posted by pycage View Post
JavaScript is well supported on the maemo browser, so you could code apps with HTML/CSS/JavaScript.

JavaScript is not an object-oriented language though. It's object-based, which is a little bit different. It has some weird concepts, too. It might be easy to learn but hard to comprehend the more advanced stuff.
Well, this is debatable. It's a prototyped language, is dynamic, and classless, so in that way it's different than traditional OOLs, but it retains the key characteristics necessary to receive the OOL designation .

The ECMA also considers ECMAScript an OOL (page 13 -- section 4); of which javascript is a dialect.

Yes, I agree, it's easy to jump into, but so incredibly dynamic, that advanced concepts can be a bit challenging to understand. But this can be said of any language, no? (consider C-pointers/objects/polymorphism/aspects/etc for the novice!)

It can also get very messy if the coder doesn't adhere to good design principles (much like C). This is where I've noticed Javascript gets a lot of slack. But it is possible to write beautiful, highly functional code.

}:^)~
 
Capt'n Corrupt's Avatar
Posts: 3,524 | Thanked: 2,958 times | Joined on Oct 2007 @ Delta Quadrant
#36
Originally Posted by javispedro View Post
Oh, like any other interpreted language... Surprising.
This doesn't need to be Javascript vs Python war. There's room for them both to be easy to develop on.

Originally Posted by javispedro View Post
Only with a proper GUI toolkit you can actually easily code window layouts and not document layouts like HTML is supposed to do.
Window-like layouts in a browser is a snap! Simply markup your elements in a DIV, you can even dress it up using CSS, then use Javascript to manipulate it (show/hide/rotate/opacity/width/height/position/destroy/duplicate/change contents/etc). Instant window. Honestly, it takes 1min max.

Originally Posted by javispedro View Post
And then I'd disagree on the "easy testing" part, but hey, you can code in whatever language you want...
Easy in that all you have to do is hit refresh in the browser to quickly run your code. It's very forgiving for rapid prototyping/development. Again, I didn't say that python, by implication, is less easy.

I appreciate and respect your opinions. I think in this case, we've a clash of perspectives. Perhaps some day you'll get into DOM/Javascript development and grow to appreciate it. It's really quite fun and forgiving, and I'd highly recommend it!

}:^)~
 
Posts: 15 | Thanked: 4 times | Joined on Jun 2009
#37
Originally Posted by zerojay View Post
Where do you get the idea that Maemo apps HAVE to be writtin in Python.. or anything else, for that matter? There are and will be bindings for all sorts of languages.
Because that's what works when making apps. If you know how to get javascript apps to work on maemo 4 tell us all
 
Capt'n Corrupt's Avatar
Posts: 3,524 | Thanked: 2,958 times | Joined on Oct 2007 @ Delta Quadrant
#38
Originally Posted by adem3311 View Post
Because that's what works when making apps. If you know how to get javascript apps to work on maemo 4 tell us all
I think he was implying that there are many other languages beyond Python for app devel on maemo. This is true, there are a whack, including command line scripting tools.

Of course, a Javascript app from the command line would be neat (if not a bit pointless given the many mature choices).

}:^)~
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#39
Originally Posted by Capt'n Corrupt View Post
This doesn't need to be Javascript vs Python war. There's room for them both to be easy to develop on.
No need for a war. They can peacefully co-exist. I usually code my AJAX backend stuff in Python.
 

The Following User Says Thank You to pycage For This Useful Post:
Posts: 67 | Thanked: 101 times | Joined on Sep 2009 @ Londrina, PR - Brazil
#40
Originally Posted by adem3311 View Post
Because that's what works when making apps. If you know how to get javascript apps to work on maemo 4 tell us all
You mean, like that? http://puelocesar.wordpress.com/2009...ent-for-maemo/

:P
 
Reply

Tags
android, cyanogen, disgruntled developers, google is not evil, google v. good war, iphone, maemo, piracy


 
Forum Jump


All times are GMT. The time now is 07:17.