{"id":406254,"date":"2024-06-29T18:49:36","date_gmt":"2024-06-29T18:49:36","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=406254"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=406254","title":{"rendered":"<span>What is one of the most common mistakes beginner developers make<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>It may seem that when you are a beginner, you&#8217;ll do simple\u00a0things only. No need to learn data structures and algorithms. No need to understand\u00a0Big O notation, complexity\u00a0and stuff\u00a0like that.\u00a0<\/p>\n<p>This couldn&#8217;t be further away from the truth!<\/p>\n<p>In 2008, when I just started learning to program, I spent\u00a0a lot of time reading books on PHP and MySQL. Months later, when I felt confident, I took my first freelance project. It was a real estate website. A simple one. I used a custom-made ORM and everything worked just\u00a0fine!<\/p>\n<p>When I released it, the search feature quickly became sluggish\u00a0and made the website\u00a0unusable.\u00a0<\/p>\n<p>I was wondering\u00a0what the heck had happened. I figured out that database queries became\u00a0very slow when there were over 200 real estate objects added to it.\u00a0<\/p>\n<p>This is it. What worked fine during testing did not work in real life.<\/p>\n<p>I was a self-taught developer.\u00a0I did not know how to measure if my project scaled well. I didn&#8217;t even know\u00a0that I had to do it.<\/p>\n<p>I thought algorithms mattered only for launching a spaceship.<\/p>\n<p>If I had some basic understanding of algorithms, I would have known that the more the input, the longer it takes.\u00a0<\/p>\n<p>I am not saying I would have come up with a robust solution as a junior, but I would have looked for a solution because I knew there would be a problem.\u00a0<\/p>\n<p>Please, don&#8217;t make the same mistake!<\/p>\n<p>Of course,\u00a0data structures and algorithms are much more than that and they apply differently depending on what you work on.<\/p>\n<p>But a basic understanding of data structures and algorithms is a must for every software developer.\u00a0<\/p>\n<hr\/>\n<p>I am writing about my experience of what I wish I knew when I was a beginner and I review programming courses to find those that\u00a0are worth learning.\u00a0<\/p>\n<p>If you are a junior or a beginner and you want to know what you need to learn, I can help for free by sharing my experience. <\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/538032\/\"> https:\/\/habr.com\/ru\/articles\/538032\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>It may seem that when you are a beginner, you&#8217;ll do simple\u00a0things only. No need to learn data structures and algorithms. No need to understand\u00a0Big O notation, complexity\u00a0and stuff\u00a0like that.\u00a0<\/p>\n<p>This couldn&#8217;t be further away from the truth!<\/p>\n<p>In 2008, when I just started learning to program, I spent\u00a0a lot of time reading books on PHP and MySQL. Months later, when I felt confident, I took my first freelance project. It was a real estate website. A simple one. I used a custom-made ORM and everything worked just\u00a0fine!<\/p>\n<p>When I released it, the search feature quickly became sluggish\u00a0and made the website\u00a0unusable.\u00a0<\/p>\n<p>I was wondering\u00a0what the heck had happened. I figured out that database queries became\u00a0very slow when there were over 200 real estate objects added to it.\u00a0<\/p>\n<p>This is it. What worked fine during testing did not work in real life.<\/p>\n<p>I was a self-taught developer.\u00a0I did not know how to measure if my project scaled well. I didn&#8217;t even know\u00a0that I had to do it.<\/p>\n<p>I thought algorithms mattered only for launching a spaceship.<\/p>\n<p>If I had some basic understanding of algorithms, I would have known that the more the input, the longer it takes.\u00a0<\/p>\n<p>I am not saying I would have come up with a robust solution as a junior, but I would have looked for a solution because I knew there would be a problem.\u00a0<\/p>\n<p>Please, don&#8217;t make the same mistake!<\/p>\n<p>Of course,\u00a0data structures and algorithms are much more than that and they apply differently depending on what you work on.<\/p>\n<p>But a basic understanding of data structures and algorithms is a must for every software developer.\u00a0<\/p>\n<hr\/>\n<p>I am writing about my experience of what I wish I knew when I was a beginner and I review programming courses to find those that\u00a0are worth learning.\u00a0<\/p>\n<p>If you are a junior or a beginner and you want to know what you need to learn, I can help for free by sharing my experience. <\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/538032\/\"> https:\/\/habr.com\/ru\/articles\/538032\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-406254","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/406254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=406254"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/406254\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=406254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=406254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=406254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}