Reply to comment

Visitor's picture
Dazz_x commented on #1

i agree with posts above.
when your work is going to be shared, all these shorcuts tends to make it less readable
$(document).ready() is expressive on what the coder mean to do
$() is just for those who used pretty extensively jquery before, and in a team, you can't
assume there are only JQuery experts

So is the better solution to comment the $() use ? Well, you'll need more than 16 bytes to explain it !

just my 2 cents

dazz_x

Reply

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><img>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <css>, <drupal>, <java>, <javascript>, <mysql>, <php>, <ruby>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA

This question is for testing whether you are a human visitor and to prevent automated spam submissions.