On 3/22/12 8:47 PM, Remi Grumeau wrote:
Could we please forget about jsFiddle or similar and keep on
copy-pasting code in the list please ?
I really like jsFiddle and I think we should encourage its use when
asking for general help or reporting possible issues with iUI (or other
frameworks). I don't think there's been any "similar" tools used or
requested on this list, have there?
jsFiddle offers a handful of advantages:
1) It encourages people to decouple the problem code form the complexity
of their entire app and especially from their backend.
2) It provides a complete working (or not working as the case may be)
environment with particular versions of libraries and CSS used, etc.
3) It allows anyone on the list to easily tinker with the example to try
to debug and/or fix it.
4) Fiddle's can be checkpointed and forked and they are permanent (well
as permanent as jsfiddle.net itself is.)
That would help people having a similar problem in the future to
actually see the code too.
I don't think jsFiddle should replace snippets of code on the list, I
think it should be a supplement. Like this:
Q) I think I'm having a problem with these lines of code:
<code>code sample goes here...</code>
Here it is in JSFiddle: http://jsfiddle.net/user1/<fiddle1>
A) I changed the code like this:
<code>fixed lines here...</code>
Here's the modified fiddle: http://jsfiddle.net/user2/<fiddle2>
I've been participating on the Angular.js list and the Angular
developers pretty much require a fiddle for any bug report on the list
and it is working very well. I'd like people to try using it here.
-- Sean
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to iphonewebdev@googlegroups.com.
To unsubscribe from this group, send email to
iphonewebdev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.