News for hackers. Stuff that matters.
Re:Appcelerator Titanium: From a developer's perspective by s00pcan on Monday April 04, 2011 @01:17PM (#2407456)
"It’s only syntax/static checking is done via JSLint with a pretty arcane set of rules. Want to write one line if statements? That’s a warning. A for loop without checking for property existence? That’s a warning."

Someone hasn't read Javascript: The Good Parts.

Re:Appcelerator Titanium: From a developer's perspective by wahnfrieden on Monday April 04, 2011 @02:42PM (#2407901)
The JSLint step is optional. I build my Titanium projects via the commandline (I don't use the IDE thing at all) which bypasses JSLint. I use the more reasonable JSHint as integrated into vim, not as part of the build.

This is the line that builds and runs my project:

  /Library/Application\ Support/Titanium/mobilesdk/osx/1.6.0/iphone/builder.py "simulator" "4.2" /Users/jehlke/workspace/titanium/Manabi "org.manabi.mobile" "Manabi"
You just need to setup the project inside the Titanium Developer app, and then you can invoke it with this command from then on.
Re:Appcelerator Titanium: From a developer's perspective by mckoss on Monday April 04, 2011 @01:30PM (#2407525)
There's a difference between reading it and accepting it. More and more people are moving away from JSLint because of the Cry Wolf syndrome - real errors hidden in a sea of warnings based only on the "opinion" that they tend to be harmful coding style.

https://github.com/jshint/jshint/