	{"id":4646,"date":"2015-01-03T23:33:43","date_gmt":"2015-01-03T16:33:43","guid":{"rendered":"http:\/\/science-technology.vn\/?p=4646"},"modified":"2015-01-03T23:33:43","modified_gmt":"2015-01-03T16:33:43","slug":"cai-tien-ki-nang-viet-ma","status":"publish","type":"post","link":"https:\/\/science-technology.vn\/?p=4646","title":{"rendered":"C\u1ea3i ti\u1ebfn k\u0129 n\u0103ng vi\u1ebft m\u00e3"},"content":{"rendered":"<p>M\u1ed9t sinh vi\u00ean vi\u1ebft cho t\u00f4i: \u201cB\u1ea1n g\u00e1i c\u1ee7a em h\u1ecdc c\u00e1ch vi\u1ebft ch\u01b0\u01a1ng tr\u00ecnh ch\u1ec9 trong v\u00e0i ng\u00e0y r\u1ed3i c\u00f4 \u1ea5y vi\u1ebft th\u1eb3ng m\u00e3 ngay nh\u01b0ng em ph\u1ea3i m\u1ea5t ba tu\u1ea7n ch\u1ec9 vi\u1ebft \u0111\u01b0\u1ee3c v\u00e0i d\u00f2ng m\u00e3. Ch\u00fang em hi\u1ec7n \u0111ang h\u1ecdc JavaScript v\u00e0 v\u1edbi em d\u01b0\u1eddng nh\u01b0 c\u1ee9 m\u00e3i m\u00e3i ch\u1ec9 hi\u1ec3u nh\u1eefng \u0111i\u1ec1u c\u01a1 b\u1ea3n. L\u00e0m sao ng\u01b0\u1eddi kh\u00e1c c\u00f3 th\u1ec3 h\u1ecdc c\u00e1c th\u1ee9 nhanh th\u1ebf c\u00f2n em l\u1ea1i ch\u1eadm qu\u00e1? Em b\u1ed1i r\u1ed1i v\u00e0 th\u1eadm ch\u00ed c\u00f2n ghen t\u1ecb v\u1edbi c\u00f4 \u1ea5y. C\u00f3 k\u0129 thu\u1eadt n\u00e0o nh\u1edd \u0111\u00f3 em c\u00f3 th\u1ec3 c\u1ea3i ti\u1ebfn vi\u1ec7c l\u1eadp tr\u00ecnh c\u1ee7a em cho nhanh h\u01a1n kh\u00f4ng?<\/p>\n<p>&nbsp;<\/p>\n<p>\u0110\u00e1p: M\u1ecdi ng\u01b0\u1eddi h\u1ecdc c\u00e1c th\u1ee9 m\u1ed9t c\u00e1ch kh\u00e1c nhau. Ch\u1eebng n\u00e0o em \u0111ang h\u1ecdc c\u00e1i g\u00ec \u0111\u00f3, kh\u00f4ng th\u00e0nh v\u1ea5n \u0111\u1ec1 nhanh hay ch\u1eadm th\u1ebf n\u00e0o. C\u00f3 th\u1ec3 b\u1ea1n g\u00e1i c\u1ee7a em c\u00f3 n\u1ec1n t\u1ea3ng v\u1eefng m\u1ea1nh h\u01a1n \u1edf tr\u01b0\u1eddng trung h\u1ecdc cho n\u00ean c\u00f4 \u1ea5y c\u00f3 th\u1ec3 h\u1ecdc c\u00e1c th\u1ee9 nhanh h\u01a1n nh\u01b0ng em c\u1ea7n bi\u1ebft r\u1eb1ng ch\u00ednh v\u1ea5n \u0111\u1ec1 l\u00e0 ch\u1ea5t l\u01b0\u1ee3ng ch\u1ee9 kh\u00f4ng ph\u1ea3i t\u1ed1c \u0111\u1ed9. V\u1edbi l\u00ed do n\u00e0y \u0111i\u1ec1u quan tr\u1ecdng l\u00e0 h\u1ecdc qua h\u00e0nh r\u1ed3i suy ng\u1eabm v\u1ec1 c\u00f4ng vi\u1ec7c c\u1ee7a em v\u00e0 c\u1ea3i ti\u1ebfn n\u00f3. Em c\u00f3 th\u1ec3 h\u1ed9i t\u1ee5 v\u00e0o vi\u1ebft v\u00e0i c\u00e2u l\u1ec7nh m\u1ed9t l\u00fac v\u00e0 ch\u1eafc ch\u00fang l\u00e0 \u0111\u00fang r\u1ed3i em s\u1ebd th\u1ea5y d\u1ec5 h\u1ecdc c\u1ea5u tr\u00fac c\u1ee7a ng\u00f4n ng\u1eef h\u01a1n v\u00ec n\u00f3 c\u00f3 li\u00ean quan t\u1edbi kinh nghi\u1ec7m th\u1ef1c t\u1ea1i. M\u1ed9t trong nh\u1eefng c\u00e1ch t\u1ed1t nh\u1ea5t \u0111\u1ec3 gi\u1eef cho m\u00e3 nh\u1ea5t qu\u00e1n v\u00e0 c\u00f3 t\u1ed5 ch\u1ee9c l\u00e0 g\u1ed9p nh\u00f3m ch\u1ee9c n\u0103ng v\u1edbi nhau. Ch\u1eb3ng h\u1ea1n, thay v\u00ec t\u1ed1ng m\u1ecdi JavaScript c\u1ee7a em v\u00e0o m\u1ed9t t\u1ec7p main.js, em c\u00f3 th\u1ec3 g\u1ed9p nh\u00f3m ch\u00fang v\u00e0o trong c\u00e1c t\u1ec7p t\u00e1ch bi\u1ec7t d\u1ef1a tr\u00ean t\u00ednh ch\u1ee9c n\u0103ng, r\u1ed3i g\u1eafn ch\u00fang l\u1ea1i m\u1ed9t khi em \u0111\u1ea1t t\u1edbi b\u01b0\u1edbc d\u1ef1ng.<\/p>\n<p>Sau khi vi\u1ebft m\u00e3, em n\u00ean \u0111\u1ec3 th\u1eddi gian ki\u1ec3m \u0111i\u1ec3m l\u1ea1i c\u00f4ng vi\u1ec7c ri\u00eang c\u1ee7a em hay \u0111\u1ec1 ngh\u1ecb b\u1ea1n kh\u00e1c ki\u1ec3m \u0111i\u1ec3m n\u00f3 l\u1ea1i cho em. Vi\u1ec7c ki\u1ec3m m\u00e3 l\u00e0 \u0111\u01b0a m\u00e3 c\u1ee7a em cho v\u00e0i ng\u01b0\u1eddi b\u1ea1n xem \u0111\u1ec3 cho em c\u00f3 th\u1ec3 gi\u1ea3i th\u00edch \u0111i\u1ec1u em \u0111\u00e3 vi\u1ebft, t\u1ea1i sao em l\u00e0m n\u00f3 theo c\u00e1ch \u0111\u00f3 v\u00e0 d\u1ef1a tr\u00ean \u00fd ki\u1ebfn ph\u1ea3n h\u1ed3i c\u1ee7a h\u1ecd, em h\u1ecdc c\u00e1ch vi\u1ebft t\u1ed1t h\u01a1n. M\u1ee5c \u0111\u00edch c\u1ee7a ki\u1ec3m \u0111i\u1ec3m m\u00e3 l\u00e0 \u0111\u1ec3 t\u00ecm ra l\u1ed7i v\u00e0 h\u1ecdc c\u1ea3i ti\u1ebfn k\u0129 n\u0103ng vi\u1ebft m\u00e3 c\u1ee7a em. T\u1ea5t nhi\u00ean, n\u1ebfu em kh\u00f4ng mu\u1ed1n xem m\u00e3 c\u1ee7a em, em c\u00f3 th\u1ec3 d\u00f9ng c\u00e1c c\u00f4ng c\u1ee5 nh\u01b0 jslint hay SCSSlint \u0111\u1ec3 ki\u1ec3m m\u00e3 c\u1ee7a em \u0111\u1ec3 t\u00ecm l\u1ed7i. C\u00e1ch kh\u00e1c \u0111\u1ec3 c\u1ea3i ti\u1ebfn k\u0129 n\u0103ng vi\u1ebft m\u00e3 c\u1ee7a em l\u00e0 \u0111\u1ecdc m\u00e3 c\u1ee7a ng\u01b0\u1eddi kh\u00e1c, xem x\u00e9t c\u1ea5u tr\u00fac d\u1eef li\u1ec7u v\u00e0 thu\u1eadt to\u00e1n c\u1ee7a h\u1ecd v\u00e0 t\u1ef1 h\u1ecfi b\u1ea3n th\u00e2n em t\u1ea1i sao h\u1ecd l\u00e0m theo c\u00e1ch \u0111\u00f3? B\u1eb1ng vi\u1ec7c ki\u1ec3m \u0111i\u1ec3m m\u00e3 t\u1ed1t, em s\u1ebd h\u1ecdc nhi\u1ec1u v\u00e0 kh\u00e1 h\u01a1n v\u1edbi m\u00e3 ri\u00eang c\u1ee7a em v\u00e0 s\u1ebd t\u1ea1o kh\u1ea3 n\u0103ng cho em vi\u1ebft t\u1ed1t h\u01a1n trong t\u01b0\u01a1ng lai.<\/p>\n<p>Vi\u1ec7c h\u1ecdc ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh y\u00eau c\u1ea7u th\u1ef1c h\u00e0nh; em c\u00e0ng vi\u1ebft nhi\u1ec1u m\u00e3 k\u0129 n\u0103ng c\u1ee7a em c\u00e0ng t\u1ed1t h\u01a1n. Khi em \u0111\u00e3 l\u00e0m n\u00f3 \u0111\u1ee7 l\u00e2u, em s\u1ebd bi\u1ebft m\u1ecdi c\u1ea5u tr\u00fac c\u1ee7a ng\u00f4n ng\u1eef \u0111\u00f3 v\u00e0 n\u00f3 s\u1ebd tr\u1edf th\u00e0nh d\u1ec5 h\u01a1n. V\u1ec1 c\u0103n b\u1ea3n, em h\u1ecdc l\u00e0m ch\u1ecdn l\u1ef1a n\u00e0o t\u1eeb tri th\u1ee9c ri\u00eang c\u1ee7a em c\u0169ng nh\u01b0 c\u00e1c ngo\u1ea1i l\u1ec7. B\u1eb1ng vi\u1ec7c c\u00f3 nh\u1eefng k\u0129 n\u0103ng n\u00e0y th\u00ec em c\u00f3 th\u1ec3 vi\u1ebft m\u00e3 ch\u1ea5t l\u01b0\u1ee3ng cao nhanh h\u01a1n. V\u00e0i n\u0103m tr\u01b0\u1edbc, m\u1ed9t ng\u01b0\u1eddi b\u1ea1n nh\u1ea1c s\u0129 n\u00f3i v\u1edbi t\u00f4i r\u1eb1ng vi\u1ec7c h\u1ecdc ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh l\u00e0 t\u01b0\u01a1ng t\u1ef1 nh\u01b0 ch\u01a1i nh\u1ea1c c\u1ee5. B\u1ea1n b\u1eaft \u0111\u1ea7u ch\u1eadm \u0111\u1ec3 ch\u1eafc r\u1eb1ng b\u1ea1n h\u1ecdc m\u1ecdi \u0111i\u1ec1u c\u01a1 b\u1ea3n r\u1ed3i b\u1ea1n h\u1ecdc ch\u01a1i t\u01b0\u01a1ng \u1ee9ng \u0111\u1ec3 ph\u00e1t tri\u1ec3n k\u0129 n\u0103ng c\u1ee7a b\u1ea1n tr\u01b0\u1edbc khi b\u1ea1n c\u00f3 th\u1ec3 ch\u01a1i c\u00f9ng ng\u01b0\u1eddi kh\u00e1c trong ban nh\u1ea1c. Anh \u1ea5y b\u1ea3o t\u00f4i r\u1eb1ng sau khi b\u1ea1n \u0111\u00e3 ch\u01a1i \u0111\u1ee7 l\u00e2u, b\u1ea1n bi\u1ebft m\u1ecdi ki\u1ec3u nh\u1ea1c th\u00ec b\u1ea1n c\u00f3 th\u1ec3 ch\u01a1i ch\u00fang theo c\u00e1ch kh\u00e1c v\u00e0 l\u00e0 m\u1ed9t nh\u1ea1c s\u0129 gi\u1ecfi.<\/p>\n<p>L\u1eddi khuy\u00ean cu\u1ed1i c\u00f9ng c\u1ee7a t\u00f4i: \u0110\u1eebng so s\u00e1nh b\u1ea3n th\u00e2n em v\u1edbi ng\u01b0\u1eddi kh\u00e1c, \u0111\u1eb7c bi\u1ec7t v\u1edbi b\u1ea1n g\u00e1i. C\u1ee9 l\u00e0 b\u1ea3n th\u00e2n em nh\u01b0ng k\u00ednh tr\u1ecdng ng\u01b0\u1edd kh\u00e1c v\u00ec em v\u1eabn c\u00f2n \u0111ang h\u1ecdc v\u00e0 tr\u01b0\u1edfng th\u00e0nh.<\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;English version&#8212;<\/p>\n<p>&nbsp;<\/p>\n<p>To improve coding skills<\/p>\n<p>A student wrote to me: \u201cMy girlfriend learns how to program in just few days then she write code right away but it takes me three weeks just to write a few lines of code. We are currently learning JavaScript and for me it seems to be taking forever just to understand the basics. How can others learn things so fast and I am too slow? I am so embarrassed and even envy with her. Is there any technique by which I can improve my programming faster?<\/p>\n<p>&nbsp;<\/p>\n<p>Answer: People learn things differently. As long as you are learning something, it does not matter how fast or slow. Maybe your girlfriend has stronger foundation in high school so she may learn things faster but you need to know that it is the quality that counts, not the speed. For this reason it is important to learn by doing then reflect on your work and improve it. You may focus on writing few sentences at a time and make sure they are corrected then you will find it easier to learn the structure of a language because it relates to an actual experience. One of the best ways to keep code consistent and organized is to group functionality together. For example, rather than dumping all your JavaScript into one main.js file, you may want to group them into separate files based on functionality, then concatenating them once you reach your build step.<\/p>\n<p>After write code, you should take time to review your own work or ask other friends to review it for you. The code review is to show your code to few friends so that you can explain what you have written, why you do it that way and based on their feedbacks, you learn how to write better. The goal of code review is to find errors and learn to improve your coding skills. Of course, if you do not want others to see your code, you may use tools such as jslint or SCSSlint to check your code for errors. Another way to improve your coding skills is to read others\u2019 codes, examine their data structures and algorithms and ask yourself why they are doing that way? By review more good code, you will learn more and get better with your own code and will enable you to write better in the future.<\/p>\n<p>Learning programming language requires practice; the more you write codes the better is your skills. When you have been doing it long enough, you will know all the structures of that language and it will become easier. Basically, you learn which choices are made from your own knowledge as well as the exceptions. By having the skills then you can write high quality codes faster. Few years ago, a musician friend told me that learning programming language is similar to playing an instrument. You start slow to make sure that you learn all the basics then you learn to play accordingly to develop your skills before you can play with others in a band. He told me that after you have played long enough, you know all types of music then you can play them in different ways and be a good musician.<\/p>\n<p>My last advice: Do not compare yourself with others, especially with your girlfriend. Be yourself but respect others as you are still learning and growing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>M\u1ed9t sinh vi\u00ean vi\u1ebft cho t\u00f4i: \u201cB\u1ea1n g\u00e1i c\u1ee7a em h\u1ecdc c\u00e1ch vi\u1ebft ch\u01b0\u01a1ng tr\u00ecnh ch\u1ec9 trong v\u00e0i ng\u00e0y r\u1ed3i c\u00f4 \u1ea5y vi\u1ebft th\u1eb3ng m\u00e3 &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,30],"tags":[],"class_list":["post-4646","post","type-post","status-publish","format-standard","hentry","category-loi-khuyen-cho-sinh-vien","category-hoi-va-dap"],"_links":{"self":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/4646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4646"}],"version-history":[{"count":1,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/4646\/revisions"}],"predecessor-version":[{"id":4647,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/4646\/revisions\/4647"}],"wp:attachment":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}