{"id":1716,"date":"2012-01-30T12:11:19","date_gmt":"2012-01-30T17:11:19","guid":{"rendered":"http:\/\/www.bohyunkim.net\/blog\/?p=1716"},"modified":"2012-09-12T16:34:23","modified_gmt":"2012-09-12T20:34:23","slug":"tips-for-everyone-doing-the-codeyear","status":"publish","type":"post","link":"https:\/\/www.bohyunkim.net\/blog\/archives\/1716","title":{"rendered":"Tips for Everyone Doing the #codeyear"},"content":{"rendered":"<p>*** \u00c2\u00a0 This post has been originally posted to <a href=\"http:\/\/acrl.ala.org\/techconnect\/?p=167\">the ACRL TechConnect blog<\/a>. \u00c2\u00a0***<\/p>\n<p><span style=\"color: #9f241d;\"><strong>Learn to Code in 2012!<\/strong><\/span><\/p>\n<p>If you are a librarian interested in learning how to code, 2012 is a perfect year for you to start the project. Thanks to CodeAcademy (<a href=\"http:\/\/codeacademy.com\/\">http:\/\/codeacademy.com<\/a>), free JavaScript lessons are provided every week at <a href=\"http:\/\/codeyear.com\/\">http:\/\/codeyear.com\/<\/a>. The lessons are interactive and geared towards beginners. So even if you do not have any previous experience in programming, you will be able to pick up the new skill soon enough as long as you are patient and willing to spend time on mastering each lesson every week.<\/p>\n<p>A great thing about this learn-how-to-program project, called #codeyear in Twitter (#libcodeyear and #catcode in the library-land) is that there are +375,443 people (and counting up) out there who are doing exactly the same lessons as you are. The greatest thing about this #libcodeyear \/ #catcode project is that librarians have organized themselves around this project for the collective learning experience. \u00c2\u00a0How librarian-like, don\u00e2\u20ac\u2122t you think?<\/p>\n<p>Now, if you are ready to dive in, here are some useful resources.\u00c2\u00a0 And after these Resources, I will tell you a little bit more about how to best ask help about your codes when they are not working for you.<\/p>\n<p><span style=\"color: #9f241d;\"><strong>Resources for Collective Learning<\/strong><\/span><\/p>\n<ul>\n<li>CodeYear Group in ALAConnect<br \/>\n<a href=\"http:\/\/connect.ala.org\/codeyear\">http:\/\/connect.ala.org\/codeyear<\/a><br \/>\n\/\/Meet other librarians who are also doing the #codeyear project, ask questions, rant out your frustration, find support from your peers.<\/li>\n<li>CatCode Wiki<br \/>\n<a href=\"http:\/\/catcode.pbworks.com\/w\/page\/49328692\/Welcome%20to%20CatCode\">http:\/\/catcode.pbworks.com\/w\/page\/49328692\/Welcome%20to%20CatCode<\/a><br \/>\n\/\/Meet other librarians &#8211; particularly catalogers &#8211; who are doing the #codeyear project. The wiki also includes useful resources (<a href=\"http:\/\/catcode.pbworks.com\/w\/page\/49680175\/Resources\">http:\/\/catcode.pbworks.com\/w\/page\/49680175\/Resources<\/a>) for budding coders.<\/li>\n<li>CatCode IRC<br \/>\n<a href=\"http:\/\/webchat.freenode.net\/\">http:\/\/webchat.freenode.net\/<\/a>, and enter the channel name #catcode<br \/>\n\/\/#catcode folks also set up an IRC channel for real-time chat. It is a nerdier version of group chat (e.g. Meebo, MSN, etc.) \u00c2\u00a0Read IRC info here at Code4Lib wiki (<a href=\"http:\/\/code4lib.org\/irc\/faq\">http:\/\/code4lib.org\/irc\/faq<\/a>) but remember the channel name is #catcode instead of #code4lib.<\/li>\n<li>Twitter hastags\n<ul>\n<li>#codeyear : <a href=\"http:\/\/twitter.com\/#%21\/search\/%23codeyear\">http:\/\/twitter.com\/#!\/search\/%23codeyear<\/a><\/li>\n<li>#libcodeyear :<a href=\"http:\/\/twitter.com\/#%21\/search?q=%23libcodeyear\">http:\/\/twitter.com\/#!\/search?q=%23libcodeyear<\/a><\/li>\n<li>#catcode : <a href=\"http:\/\/twitter.com\/#%21\/search\/%23catcode\">http:\/\/twitter.com\/#!\/search\/%23catcode<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"color: #9f241d;\"><strong>Syntax Error: Catch the most frustrating bugs!<\/strong><\/span><\/p>\n<p>Now what I really like about #codeyear lessons so far is that some of the lessons trip you by trivial things like a typo! So you need to find a typo and fix it to pass a certain lesson. Now you may ask \u00e2\u20ac\u0153How the hell does fixing a typo count as a programming lesson?\u00e2\u20ac\u009d<\/p>\n<p>Let me tell you. Finding a typo is no triviality in coding. Catching a similar syntax error will save you from the most frustrating experience in coding.<\/p>\n<p><span style=\"color: #333399;\"><em>The examples of seemingly innocuous syntax errors are:<\/em><\/span><\/p>\n<ul>\n<li>var myFunction = funtction (){blah, blah, blah \u00e2\u20ac\u00a6 };<\/li>\n<li>var myNewFunction = function (]{blah, blah, blah \u00e2\u20ac\u00a6 };<\/li>\n<li>for(i=0,\u00c2\u00a0 i&lt;10, i++;)<\/li>\n<li>var substr=\u00e2\u20ac\u2122Hello World\u00e2\u20ac\u2122; alert(subst);<\/li>\n<li>&#8211;\/\/This is my first JavaScript<\/li>\n<\/ul>\n<p>Can you figure out why these lines would not work? \u00c2\u00a0Give it a try! You won\u00e2\u20ac\u2122t be sorry. Post your answers in the comments section.<\/p>\n<p><span style=\"color: #9f241d;\"><strong>How to Ask Help about Your Codes\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 <\/strong><\/span><\/p>\n<div style=\"width: 278px\" class=\"wp-caption alignright\"><a href=\"http:\/\/farm4.staticflickr.com\/3577\/3502347936_43b5e2a886.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" \" src=\"http:\/\/farm4.staticflickr.com\/3577\/3502347936_43b5e2a886.jpg\" alt=\"\" width=\"268\" height=\"400\" \/><\/a><p class=\"wp-caption-text\">by Matteo De Felice in Flickr (http:\/\/farm4.staticflickr.com\/3577\/3502347936_43b5e2a886.jpg)<\/p><\/div>\n<p>I am assuming that as #codeyear, #catcode, #libcodeyear project progresses, more people are going to ask questions about problems that stump them. Some lessons already have Q&amp;A in the CodeAcademy site. So check those out. Reading through others\u00e2\u20ac\u2122 questions will give valuable insight to how codes work and where they can easily trip you.<\/p>\n<p>That having been said, you may want to ask questions to the places mentioned in the Resources section above. If you do, it\u00e2\u20ac\u2122s a good idea to follow some rules. This will make your question more likely to be looked at by others and way more likely to be answered correctly.<\/p>\n<ul>\n<li><strong>Before asking a question, try to research yourself.<\/strong> Google the question, check out the Q&amp;A section in the CodeAcademy website, check out other online tutorials about JS (see below for some of the recommended ones).<\/li>\n<li>If this fails, do the following:\n<ul>\n<li><strong>Specify your problem clearly.<\/strong><br \/>\n(Don\u00e2\u20ac\u2122t say things like \u00e2\u20ac\u0153I don\u00e2\u20ac\u2122t get lesson 3.5.\u00e2\u20ac\u009d or \u00e2\u20ac\u0153JavaScript function is too hard\u00e2\u20ac\u009d unless the purpose is just to rant.)<\/li>\n<li><strong>Provide your codes with any parts\/details that are related to the lines with a problem.<\/strong><br \/>\n(Bear in mind that you might think there is a problem in line 10 but the problem may lie in line 1, which you are not looking.) Highlight\/color code the line you are having a problem. Make it easy for others to immediately see the problematic part.<\/li>\n<li><strong>Describe what you have done to troubleshoot this (even if it didn\u00e2\u20ac\u2122t work.)<\/strong><br \/>\n: This helps the possible commenter to know what your reasoning is behind your codes and what solutions you have already tried, thereby saving their time. So this will make it more likely that someone will actually help you. To believe it or not, what seems completely obvious and clear to you can be completely alien and unfathomable to others.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"color: #9f241d;\"><strong>Some JavaScript Resources<\/strong><\/span><\/p>\n<p>There are many resources that will facilitate your learning JavaScript. In addition to the lessons provided by CodeAcademy, you may also find these other tutorials helpful to get a quick overview of JavaScript syntax, usage, functions, etc. From my experience, I know that I get a better understanding when I review the same subject from more than one resource.<\/p>\n<p>If you have other favorite Javascript please share in the comment section.<\/p>\n<ul>\n<li>W3Schools JavaScript Tutorial<br \/>\n<a href=\"http:\/\/www.w3schools.com\/js\/default.asp\">http:\/\/www.w3schools.com\/js\/default.asp<\/a><\/li>\n<li>TiZag JavaScript Tutorial:<br \/>\n<a href=\"http:\/\/www.tizag.com\/javascriptT\/\">http:\/\/www.tizag.com\/javascriptT\/<\/a><\/li>\n<li>WebMonkey Basic JavaScript Tutorial:<br \/>\n<a href=\"http:\/\/www.webmonkey.com\/2010\/02\/JavaScript_Tutorial_-_Lesson_1\/\">http:\/\/www.webmonkey.com\/2010\/02\/JavaScript_Tutorial_-_Lesson_1\/<\/a><\/li>\n<li>WebMonkey Advanced JavaScript Tutorial:<br \/>\n<a href=\"http:\/\/www.webmonkey.com\/2010\/02\/Advanced_JavaScript_Tutorial_-_Lesson_1\/\">http:\/\/www.webmonkey.com\/2010\/02\/Advanced_JavaScript_Tutorial_-_Lesson_1\/<\/a><\/li>\n<\/ul>\n<p><a href=\"http:\/\/acrl.ala.org\/techconnect\/\">ACRL TechConnect blog <\/a>will continue to cover #libcodeyear \/ #catcode related topics throughout the year!\u00c2\u00a0 The post up next will tell you all about some of the excuses people deploy to postpone learning how to code and what might break the mental blockage!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>*** \u00c2\u00a0 This post has been originally posted to the ACRL TechConnect blog. \u00c2\u00a0*** Learn to Code in 2012! If you are a librarian interested in learning how to code, 2012 is a perfect year for you to start the &hellip; <a href=\"https:\/\/www.bohyunkim.net\/blog\/archives\/1716\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[242,45,5,10,7],"tags":[189,187,186,121,362,191,188,120,360,190,171],"class_list":["post-1716","post","type-post","status-publish","format-standard","hentry","category-coding-2","category-librarianship","category-library","category-technology","category-web","tag-catcode","tag-codeacademy","tag-codeyear","tag-coding","tag-continuing-education","tag-javascript","tag-libcodeyear","tag-programming","tag-technology","tag-tips","tag-web-2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2AlrP-rG","_links":{"self":[{"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/posts\/1716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/comments?post=1716"}],"version-history":[{"count":10,"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/posts\/1716\/revisions"}],"predecessor-version":[{"id":1721,"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/posts\/1716\/revisions\/1721"}],"wp:attachment":[{"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/media?parent=1716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/categories?post=1716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bohyunkim.net\/blog\/wp-json\/wp\/v2\/tags?post=1716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}