Buford T Justice wrote: » As a 3rd year college student with real world experience, I can tell you that vanilla js was only a single semester in Y2, and doing nothing but simple functions and dom manipulation. From then it was a semester in jquery and now two semesters of Angular2. Therein covers the extent of what some courses are covering in college.
off.the.walls wrote: » Like if I were to say to you [HTML]setTimeout(function () { for (var i = 0; i < 10; ++i) { console.log(i) } }, 1000)[/HTML] would you be able to tell me the answer, without running it, how to fix it, and why it happens?
for (var i = 0; i < 10; ++i) { setTimeout(function() { console.log(i); }, i * 1000); }
14ned wrote: » I do find it a great shame that Ireland has given up on teaching any compsci which isn't web programming. It's become very noticeable how old we systems programmers are becoming, and all the younger engineers are almost universally non-European. Niall
off.the.walls wrote: » So the colleges are teaching frameworks? It is understandable that they'd want to keep up with current frameworks. But a semester of js is just not enough. Like if I were to say to you [HTML]setTimeout(function () { for (var i = 0; i < 10; ++i) { console.log(i) } }, 1000)[/HTML] would you be able to tell me the answer, without running it, how to fix it, and why it happens?
Talisman wrote: » I'm not sure what you're looking for there in terms of there being an issue to fix. If you are looking for knowledge of the gotcha which I think you had in mind then this is the snippet you may have meant: for (var i = 0; i < 10; ++i) { setTimeout(function() { console.log(i); }, 1000); }
for (var i = 0; i < 10; ++i) { setTimeout(function() { console.log(i); }, 1000); }
Buford T Justice wrote: » Standard javascript functions like setTimeout and so on yeah, they're not all taught, but in fairness anyone with an ounce of common sense can easily find a solution to a problem.
Talisman wrote: » I think the point was to check your knowledge of Scoping and Asynchronous callbacks. It's a relatively simple problem to solve but it's the kind of thing that will cause you to pull your hair out if you don't know it. Anyone that interviews for a JavaScript job should recognise the issue and know how to fix it immediately. If they can't then it's a good indicator that they don't really know JavaScript or haven't written anything beyond trivial code.
Buford T Justice wrote: » Then in that context no; asynchronous programming isn't 'taught' in my college. If you're interested and do more than the bare minimum you would learn it as part of your projects - as problem based learning I must add, but that's it.
Buford T Justice wrote: » We are also learning OOP with C# and .NET, so technically not just web technologies, if that's any consolation. Perhaps Universities do focus more on compsci, but not at the institute I attend.
jester77 wrote: » If the framework uses standard design patterns, then any half decent developer should be up and running fairly quickly, even if they are not too familiar with the language in question.
off.the.walls wrote: » One thing i've noticed in the past interviewing candidates and within online discussions and articles is that a lot of developers are very good at using their frameworks but are not able to write simple vanilla JS code. For example I asked one candidate to write an ES5 class with prototypal inheritance. Did not go well.
Caliden wrote: » (I've actually seen jobs looking for 5 years React experience.)
grogi wrote: » That's just HR/Recruiters speaking - React is only 4 years old.
Caliden wrote: » Yeah I know but these have been job specs from companies themselves not just recruiters. Not that I applied for them but my point was there's a lot of weight and importance being put on said frameworks. My question is, how does one even get the foot in the door to get experience in these frameworks without taking a substantial paycut just to get the experience?
Caliden wrote: » Kind of a follow on question but how do I go about getting actual experience in different frameworks? I'm in a role where it's native js/ext js for the last 5 years and I'm struggling to get out. Every role is either ember/react/angular and other frameworks are overlooked (despite them being extremely similar). I've had about 3 interviews so far where 2 have went well (in my mind anyway) but my lack of professional experience with the framework prevented me from getting the job. I want to change roles but I don't know where to start when it comes to showing that I can manage these frameworks. Do I just create github projects and upload a worthless snippet that could be ripped from somewhere else to show that I have these languages and they can just tick their boxes on the hiring form? Honestly I jumped into my current role having only jquery and it didn't take long to get up to speed but it's getting frustrating now that trying to find a job requires you to have more experience in the framework than the framework has existed. (I've actually seen jobs looking for 5 years React experience.)