TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: For beginners: what is the hardest part while learning web dev?

45 点作者 alinalex超过 8 年前
Hey there,<p>Self-taught web developer here. I managed to get a job after 11 months of learning of my own. For me, the sheer amount of resources was overwhelming and sometimes got me thinking to give up, but I kept at it and managed to get a job and find out how web dev looks like in real life.<p>Eager to hear your stories.<p>Thanks, Alin R.

22 条评论

codegeek超过 8 年前
I think that a majority of &quot;beginnner&quot; tutorials miss the point. They start with the actual HTML&#x2F;CSS right away. Heck, some even start with jquery as part of a beginning course.<p>I really believe in learning the &quot;why&quot; of something and not just the &quot;what&quot; or &quot;how&quot;.<p>For example, if you really want to learn web dev, you have to learn to some extent how the internet works, what are the various protocols for web (http vs ftp vs ws etc), what the hell is DNS, the whole client&#x2F;server cycle (request&#x2F;response etc) etc. Sure it can help showing actual HTML code to explain http or request&#x2F;response but I feel a lot of beginner tutorials just focus on the result and not the actual path.<p>Teach about the document&#x2F;DOM etc and then write a simple helloworld.html. But then open the web inspector, show them how the request was sent (header,data) and then show the response received from the server.<p>There is plenty of tutorial on the usual stuff but not many that get real deep which is useful for beginners.
评论 #13298174 未加载
评论 #13300303 未加载
评论 #13298556 未加载
jmkni超过 8 年前
In my opinion, it&#x27;s the sheer amount of options available. It&#x27;s overwhelming.<p>First of all, the tooling. Should I use NPM, Bower, Gulp, Grunt, Webpack or something else?<p>What text editor should I use? Visual Studio code? Sublime? Vim? Emacs? Something else?<p>What Javascript framework should I use? React? Angular.js? Angular2? Vue.js? Do everything with jQuery? Something else?<p>What CSS framework should I use? Bootstrap? Semantic UI? Material Design? Something else?<p>Should I just use ordinary CSS? SASS? LESS? Something else?<p>Should I use plain Javascript? Typescript? Dart? Something else?<p>All of the above have a learning curve (which means spending your valuable time learning the specifics of each choice). And no matter which combination you choose, somebody will come along and tell you that you have made all of the wrong decisions and should start again with X, Y and Z instead, which is incredibly frustrating when you just want to build something.<p>I&#x27;ve learned that, if you have learned X and are using it to build something, and somebody comes along and says, <i>What are you using X for, everybody is using Y now, X is dead</i>, you just need to have enough backbone to say, <i>X works for me, I know it inside out and I can use it to build a mean product, go away</i>.<p>It reminds me of the old but still relevant Joel Spolsky blog post, <i>Fire and Motion[0]</i>.<p>[0] - <a href="https:&#x2F;&#x2F;www.joelonsoftware.com&#x2F;2002&#x2F;01&#x2F;06&#x2F;fire-and-motion&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.joelonsoftware.com&#x2F;2002&#x2F;01&#x2F;06&#x2F;fire-and-motion&#x2F;</a>
评论 #13316859 未加载
open-source-ux超过 8 年前
<i>&quot;What is the hardest part while learning web dev?&quot;</i><p>The sheer amount of stuff you have to learn <i>other</i> than just the programming language you picked up. In fact it feels like as much, if not more, time is spent understanding tooling, distribution, packaging and hosting options for you web app. Little of which feels satisfying or enriching to learn because so much of it is simply endless administrative minutiae. No-one seems interested in simple, easy alternative methods.<p>This won&#x27;t be a popular opinion, but I&#x27;ll say it anyway...I am learning Python at the moment, and I can completely see why so many people start with PHP for web dev. Python - <i>the language</i> - might be easier and friendlier PHP, but Python&#x27;s &#x27;eco-system&#x27; for deployment and distribution is horrible, fragmented, clumsy and not easy to learn (or documented well).
评论 #13298208 未加载
评论 #13298678 未加载
devwastaken超过 8 年前
The hardest part, for me, is knowing how to &#x27;get a job&#x27; as a web dev. It seems like thats something no one ever talks about, and rarely do I see any information for. The reality is that you need to have some worth to a company, and that is in your skills and ability to improve your skills. Thing is, how do you prove that? Just because you make some app in React doesn&#x27;t mean you&#x27;re now an experienced React developer that can solve complex problems with it. Just because you make some web apps doesn&#x27;t mean that you know the proper technologies to work with in other projects. It takes a lot of time and effort to learn things, and there are plenty of companies that aren&#x27;t there to pay you to learn a whole bunch of new things unless overall you have a lot of experience.<p>I look at job postings all the time, and I don&#x27;t feel I can honestly say: &quot;Yeah, I can do that&quot;. I could learn to do what they need, or maybe the circumstances of the employment may cause me to be useless in its duration. There just doesn&#x27;t seem to be a way to know what you&#x27;re going to be working with until you just jump ship into it, and if you fail, well, nobody talks about that, and thats legitimately scary to me.<p>Sometimes I feel its not real, like the people who get &#x27;real&#x27; jobs with this stuff can either just fake it and get lucky, or are simply better. It sucks, because I know I&#x27;ve made some cool things and can make much better things. It sucks even more because there&#x27;s a limit to how much time you can spend working towards a complex career goal like software development before you just end up working a retail job full time to survive.<p>So, yeah, that parts difficult.
LukeB_UK超过 8 年前
Also a self-taught web developer here. My advice would be to make sure you learn the languages, not the frameworks. Once you know the languages, you can pick up the frameworks far easier and you can actually dig in and see what&#x27;s happening.
评论 #13299531 未加载
评论 #13298363 未加载
nitin42超过 8 年前
The hardest part what I think is that we are surrounded by numerous web frameworks which makes it difficult to choose one of them. It may be due to the scope of the framework, community support and learning curve. I am a JavaScript Developer and I too find it hard sometimes to move ahead due to the design paradigms (both frontend and backend), database drivers (MongoDB my fav), community support for the project. It doesn&#x27;t end here but we also feel that our project or a small app that we make might be neglected because the stack which we used while developing it was too much flexible or was easy to implement.<p>A solution to this can be making your development stack more and more compact according to the current needs and choosing a open source project or framework to work on which offers good community support and has a future scope.
hamandcheese超过 8 年前
I started not even trying to learn &quot;web&quot;. I was self teaching Python and trying to solve Project Euler problems... it was fun!<p>But also not very useful. I became pretty clever (imho) but didn&#x27;t know much about the web. I had no idea how JavaScript would interact with HTML, for example.<p>I found that learning how the internet worked helped a lot. So TCP, HTTP, DNS. Before I learned these things, I struggled a lot.<p>From there I learned Rails (and then Ruby, which is common but perhaps not ideal), and the rest is history.<p>This was over the course of several years though. One thing I&#x27;d really like to point out is that you&#x27;re likely able to get a job earlier than you expect. That&#x27;s not to say that you should be overconfident, but embrace being a beginner, ask questions, and know that you can still contribute.
justanotherbody超过 8 年前
For me it was getting enough experience with the various tools and tooling to learn the <i></i>right<i></i> tool for each job.<p>I started around &#x27;08 on a Django-based stack with really only university courses and prior Python programming experience. I was very active reading about the tech stacks which helped substantially.<p>When building mostly static content, I relied heavily on templating. When it came time to add interactivity, jQuery was right there waiting for me. When more complex behaviors were needed, I had to figure out how to write <i>actual</i> javascript rather than string callbacks together. Then learning to manage dependencies and assets became necessary, ... and so on.<p>A mentor would have been an enormous benefit. I was very lucky in that I got a wide berth to work in, and much opportunity for greenfield work.
ayushgp超过 8 年前
These are all the things that made full stack webdev overwhelming for me: 1. HTML, CSS, JS and a backend language with a database.<p>2. Even if you learn basics of these, you proceed to see online tutorials. When I started angular was all the rage. Midway through learning angular, facebook released react. As a beginner you get pretty much carried away by blog posts which go on praising the new tech.<p>3. Es6 comes in the scene. Enough said.<p>4. But you have to learn grunt&#x2F;gulp to be productive.<p>5. Code in vanilla JS? Ever heard about typescript? All the angular guys are using it.<p>Css frameworks, jQuery, and many other things.
评论 #13300259 未加载
increment_i超过 8 年前
For me the hardest part was slamming into that wall where you&#x27;ve been working at a very high level of abstraction (HTML, CSS, a web framework of some sort, an IDE) and you realize you have very little idea how computers work or how they talk to each other.<p>This is the point where you need to do some kind of a deep dive into UNIX or the command line of your OS and figure out what the hell is really going on. Processes, files, permissions, networking, security, etc. When you pull back that curtain a bit and realize you know almost nothing...
评论 #13297875 未加载
mbeasley超过 8 年前
1. Code tutorial websites teach mostly syntax but are weaker when it comes to teaching you how to set up an environment and structure a new environment. As such, it&#x27;s useful to look at other people&#x27;s code on github or similar. Websites and web applications are only partially about the code your write; they are also about the system on which they are built. Learn what it means to &quot;deploy&quot; a website and how that works. Even though some will argue that that&#x27;s more of an operations concern, as a web developer you often have to wear multiple hats, including operations and server management.<p>2. With languages like javascript, especially for those with no programming experience, it&#x27;s really easy to get your feet wet and believe that you &quot;get it&quot;, that you &quot;know javascript&quot;. That&#x27;s a fallacy. Javascript, perhaps more than other languages I know, is easy to stitch together to get working (quick and dirty) but really tricky to write eloquently in a way that follows core software development principles and in a way that is easy to manage in the long term (which is part of the reason that there are so many JS frameworks out there).<p>3. Accept that there are things that you just don&#x27;t know (and things that you don&#x27;t know you don&#x27;t know) and dedicate time to learning from others; not just as you get started, but forever. We spend time on our team every day sharing even the smallest things that we&#x27;ve learned that week to promote this idea (even things like &quot;I discovered the `git add -p` command and here&#x27;s what it does!&quot;).
评论 #13301498 未加载
kewin87超过 8 年前
The way I teach it to beginners, is by making them create something the really would love to create.<p>Because teaching them HTML&#x2F;JS&#x2F;CSS and&#x2F;or a random framework simply &#x27;always&#x27; is overwhelming.<p>And because some really like backend, others Frontend. Some really like Vanilla and others really like frameworks.<p>If we sit together for 5 minutes to talk about the requirements.. They usually getting really excited and seem to to do a Minimal Viable Product approach with a lot of motivating.<p>For some reason they learn really fast that way and start to make quick choices from the start because they have a clear goal and start to look more &#x27;what works for them&#x27; instead of getting lost in all pretty looking blogs and to much technicall theory from the start.<p>Next to that, I&#x27;m being really clear that there code will always suck. Same as there 2nd project and the 3rd project.. Even my code will suck after I did 50 more projects..<p>Point is, they have to have finish something first, look back and than realise what they want to improve.. After a few years you know a lot of pitfalls and you &#x27;could&#x27; call your self a good developer
dtnewman超过 8 年前
There are a lot of tools and frameworks out there, so it&#x27;s tough to know which ones to get started with. There are a lot of terms that don&#x27;t make much sense until you just go ahead and start using them... HTML, CSS, JavaScript, CoffeeScript, Ruby on Rails, Django, HTTP, API, SSL, Angular... it&#x27;s really frustrating to figure out what&#x27;s what when you are just beginning, but once you do figure out, you realize that it&#x27;s not rocket science. But I&#x27;d advise <i>anyone</i> trying to learn to do web development to find a mentor who can help you get started by pointing in you in the right direction in terms of tools you&#x27;ll need to learn to get started (and in what order to learn them). Once you have the basics, it&#x27;ll be easier to know what tools you want to add to your arsenal later.<p>A great way to meet people who can give you guidance is through local meetups. For example, you&#x27;ll likely find people with web development experience at any Python meetup. Finding a good mentor will save you a <i>lot</i> of time.
评论 #13297765 未加载
webmaven超过 8 年前
This isn&#x27;t as much of a problem today, but when I was beginning (&#x27;97-&#x27;98) the hardest part was learning to completely ignore most &quot;vendor&quot; platforms (especially the big content management systems like Vignette StoryServer).<p>Other than that, the need to learn five sets of semantics&#x2F;syntax in parallel (HTML, CSS, JS, (Python|Perl|PHP), template language) with constant context switching was quite difficult as well. I lucked out in that the server-side tech I chose (Python &amp; Zope) at least let me ignore SQL for a while, and I was able to minimize the amount of JS I used until jQuery came along to make front-end coding suck a <i>lot</i> less.
girishso超过 8 年前
As someone working on web development for about 16 years and mentoring tens of junior developers, most of them get stumped at how HTTP Redirect exactly works. Not that it&#x27;s super complicated.<p>Otherwise I think web development these days has gone nuts, with so many technologies involved SQL, HTML&#x2F;css, server side language and framework, not to mention JavaScript.. even if you decide to stick with React, which is the most accepted framework these days, within React eco system there are so many different choices of tools no newbie can get his&#x2F;her head around that easily.
hanniabu超过 8 年前
I graduated as a mechanical engineer and tried to make the switch to web dev but I got caught up in not really knowing what to learn to get an actual job. For instance, I&#x27;m a natural at CSS, came as a no brainer, but all places want you to know less and then it was sass and then it was one of those along with gulp and then grunt, and then everybody became crazy about mom and then webpack. This is why I gave up and moved on. I still love to code in my spare time, but as far as work wise I never made the transition. I felt like I was chasing a never ending qualification list.
评论 #13299587 未加载
marktangotango超过 8 年前
Cutting through all the bullshit and tribalism around languages and frameworks one finds online is the hardest part imo. whats important is defining a basis to choose; employability, cool, theoretical etc, and basing how you spend your time on that. Not on &quot;x says y is the new hot I better learn that!&quot; That&#x27;s a treadmill that never stops.<p>Edit also understanding the first language and framework you learn is just the beginning, there will be many. That&#x27;s something that surprises many.
forgottenacc57超过 8 年前
Ugh. When I think about how much I know, and how long it took to learn, and how hard it was to learn, I have to say I would be daunted if I had to start again from &quot;this is a bold tag&quot;, which I did in about 1998.<p>You just need to maintain a frenzy of non stop learning and write huge amounts of code for the next X years and you&#x27;ll be OK.
kayman超过 8 年前
I echo the sentiment expressed here: Learn the building blocks not frameworks.<p>It&#x27;s the long way but the investment will pay off. New frameworks come along, you&#x27;ll pick them easier because you&#x27;ll already know which building blocks are used.
jackgolding超过 8 年前
The tooling (do I need grunt, what framework do I use) and organising my code (best practises&#x2F;design patterns) has always been what confuses me as a data scientist who wants to learn more front end.
dattasaurabh82超过 8 年前
that&#x27;s a reason never liked web dev .. it&#x27;s like porn fight between reality kings and pornhub.. @jmkni introduces very clearly first few probs..
du_bing超过 8 年前
The whole picture of the Internet, this is hard to get. Technologies are good to learn, but abstractions of the real world, this comes from one&#x27;s experiences.