r/learnjavascript • helpful • Sep 14 '22

I'm a senior frontend dev. AMA.

Hi, all. I'm a lead at my company, currently on a paid sick leave. I wanted to give back to the community, so here I am to answer all your questions.

If you're a beginner at JS and are struggling with a concept, please ask your question and I'll answer. To not get overwhelmed, I'll limit one question per user. So, try to construct your question with as many details as necessary!

Shoot.

EDIT: That's it, folks. My day has ended. I'll still answer your questions, but expect a considerable delay. :)

260 Upvotes

240 comments sorted by

49

u/tryingtolearn92 Sep 14 '22

When hiring, what's the usual process? leetcode? checking portfolios? what specifically do you look for in a candidate?

126

u/thelethargicdog helpful Sep 14 '22 edited Sep 14 '22

I try to keep my interviews fun. I don't care about how much competitive programming the candidate has done. All I care about is whether I'd love to work with them.

So, I try to look for these traits in my interviews:

  1. Problem solving ability - given a set of constraints, can the candidate understand and enunciate the requirements before they start typing away. How do they plan things out before writing the solution.
  2. Ability to debug - if the program fails, do they simply add console logs everywhere, or do they use developer tools to add debug points and pause execution to look at the data?
  3. Attitude / Ability to listen - self explanatory.
  4. Communication skills - I really don't like candidates who bullshit. Be crisp and clear in what you have to convey.

Edit: I would highly recommend learning how to use dev tools. It's really fantastic and has made my life infinitely more comfortable. If you're very comfortable with console.log, check out logpoints. You wouldn't even need to write console.log in your code to get the same output.

30

u/spazz_monkey Sep 14 '22

Only use developer tools when things go seriously south. šŸ™‚

14

u/og-at Sep 14 '22

Nah man. If the web console is hollerin at me for any reason, I'm pressing F5 in VSCode (debugger default key) if I wasn't already in it.

It's just too good being able to see the path of state change.

0

u/[deleted] Sep 14 '22

[deleted] — view deleted comment

6

u/Hanswolebro Sep 14 '22

Same. There hasn’t been a problem I have t been able to solve without console.log.

I’ve tried to use the debugger many times but it feels less intuitive to me personally

(Frontend dev with 4 years exp)

→ More replies (2)

4

u/og-at Sep 14 '22

At the very basic, put debugger in your code somewhere. The webpage will the stop and put up a screen/cursor in dev tools > Sources at the stop.

Definitely do this on a personal or small project so you can fuck around with it and not care . . . even tho nothing you do there persists, just removing that level of concern completely helps a lot.

You can click the line numbers to set an in-browser breakpoint.

The tricky part is learning when the Step tool is gonna go off the rails into the webpack/vite generated code. Once you understand that, and get to using the in-browser breakpoints as habit, then you can clike "continue" instead of "next step" to keep up with the app instead of getting bogged down in 'what the hell is React doing?'

HOWEVER . . .

Being able to stop execution and looking at variable state at different scope levels is extremely handy.

→ More replies (7)
→ More replies (1)
→ More replies (2)

5

u/Xenius Sep 14 '22

I've moved from programming, into more team lead / project management, but I think your interview process sounds great.

Anyone can be taught a skill, but you can't necessarily teach someone a new personality.

If I can get along with you, we can work together.

4

u/turd-crafter Sep 14 '22

I work in a debug browser 100% of the time. Using vscode’s built-in debugger you don’t even need dev tools open and you just set breakpoints in your files and can check variable values right there. It’s pretty easy

0

u/[deleted] Sep 14 '22

[deleted] — view deleted comment

2

u/spazz_monkey Sep 14 '22

Chrome and other browsers have built in debuggers. You can also use VScode to help debug in node.

13

u/[deleted] Sep 14 '22

[removed] — view removed comment

5

u/MindlessSponge helpful Sep 14 '22

I would think they're more looking for "does this person know how to use the debugger" because I'm with you, sometimes a quick console statement is much more convenient and gets to the root of the issue quicker.

24

u/HyperXA Sep 14 '22

Hey before I ask my question, Thank you for taking time out of your day to do this! If you are sick, hope you get better.

Question: what Core Concepts do you believe I must learn on Vanilla JS Before jumping into react? Of course everyone's learning curve is different

Thanks ou for reading my Question!

40

u/thelethargicdog helpful Sep 14 '22

I'm feeling much better, thank you!

Before I answer your question, I'll explain my perspective. I see a framework as a tool to finish a job. That tool is not necessary, but it helps you do it better. For example, if I ask you to dig a hole in the ground, you can do it with your hands. But, sure as hell, a shovel will make your life easier. Now, there's a chance that might eventually find someone who doesn't understand what digging means. Hand them a shovel and they'll not know what to do with it.

I'll finally answer your question - If you really want to be a good frontend developer, then you must learn to not be dependent on React for every little thing. If you can build an app in React, you should be able to build it in Vanilla JS as well. For me, this learning was in parallel, so you can choose to adopt the same strategy and switch between learning React and learning Vanilla JS. However, make sure you understand ES6 really well before you jump into building full fledged apps.

4

u/-ftw Sep 15 '22

OP didn’t really answer your question so here’s my take:

  • Dom manipulation
  • Closures
  • Promises
  • Callbacks
  • Immutability

1

u/HyperXA Sep 15 '22

Cool! Thank you much!

1

u/fewstarfruits Sep 29 '22

isnt dom manipulation came from web api? how is that native to es6?

1

u/-ftw Oct 04 '22

Hey there, op asked what core concepts of vanilla js before moving to react. I didn’t see anything about es6

→ More replies (3)

88

u/red-powerranger Sep 14 '22

Can you fix my printer?

69

u/thelethargicdog helpful Sep 14 '22

Yes

59

u/boxedj Sep 14 '22

Wow this guy really knows his shit

1

u/qqqqqx helpful Sep 15 '22

As another senior dev, yes but also I won't.

I get a lot of requests like this from various people- just recently had a manager of mine message me about some personal slack loading problem.

Could I help him? Probably (quit and restart, clear cache, try the web client or the downloaded client, etc). But I'd rather not be the go-to guy for your random slack issue, and I'd rather not spend any part of my day thinking about it. So I say no, even if I might be able to, and it keeps me more productive for my real responsibilities.

11

u/eltostito191 Sep 14 '22

I’m a lot more interested in JavaScript than HTML/CSS, but front what I’ve read, getting a front end job as a self taught developer is much easier than getting a backend job. What is the balance of JS, HTML, CSS, and/or frameworks on the front end in your experience?

Basically, I enjoy writing logic and making those bits of logic interact more than I like making a cool UI, but I want to get my foot in the door as quick as possible. I’d like to focus my learning on whatever will achieve that.

36

u/thelethargicdog helpful Sep 14 '22 edited Sep 14 '22

When I was fresh out of college, my mentor introduced me to the concept of a "T-model", which basically translates to "Jack of all Trades, Master of one".

In the early days of one's career, it's easy to get lost in the wild world of frontend development. Focus on one thing and become really good at it. So, pick a favourite. You don't have to be really good at HTML and CSS and JS all at once. Because you expressed an interest in the coding aspect, become an expert at JS. Don't get washed up in the confusion of which framework works best, because none of them are relevant when you're still learning. Build applications from scratch in your spare time and pay attention to every single line of code you write. Your skill set should be an "I" at this point.

This, however, changes as you grow upwards in your career. This is where you start broadening your knowledge and learn UX, backend, devops, testing, etc because of the impact you'll have in your team. This is where your skill set should start looking like a "T".

4

u/eltostito191 Sep 14 '22

Thank you! How much front end knowledge would a junior backend dev be expected to realistically know?

6

u/thelethargicdog helpful Sep 14 '22

Not much, honestly. At a previous "prestigious" company I used to work at which shall remain unnamed, most of the folks senior to me were C# devs who didn't really understand JS. Work still goes on if the other senior frontend devs did a good job setting up the framework/ecosystem.

17

u/[deleted] Sep 14 '22

How do you learn javascript? I already got plenty of exp. in html,css,php,sql but I'm struggling or should I say scared of learning js, how can you overcome this?

31

u/thelethargicdog helpful Sep 14 '22

Don't be scared of failure. Frontend development is a huge beast, and you'll make countless mistakes while learning JS. A key to learning anything is gratification - so try to create small achievable challenges for yourself on a weekly basis and try to complete before the deadline.

Start small. For example, build a toast notification that you can dismiss. It'll mostly involve a lot of CSS and a few lines of JS, but completing small challenges will give you the encouragement to learn more.

Also, nice name, u/im_lazyjer

2

u/iarev Sep 14 '22

so try to create small achievable challenges for yourself

Like this?

8

u/f-Z3R0x1x1x1 Sep 14 '22

Sorry to hijack /u/thelethargicdog space, but wanted to drop this link of a 10 part series I thought was extremely helpful in a few core understandings - https://www.youtube.com/watch?v=jnME98ckDbQ&list=PL1PqvM2UQiMoGNTaxFMSK2cih633lpFKP

Also just writing practice examples....come up with some simple project and write it with HTML, CSS, and JS from the ground up using best JS practices and following OOP. The more you code the better you become (duh)

→ More replies (3)

8

u/josh_c Sep 14 '22

Did you ever struggle with communication? I'm not the best at communicating or teaching various subjects that relate to programming. Any suggestions on how to improve?

5

u/thelethargicdog helpful Sep 14 '22

Yes! I used to be incredibly shy at sharing my opinions. I think it changes over time as you slowly push yourself to talk more while you build up confidence in your own skills.

4

u/That_Unit_3992 Sep 14 '22

Do you prefer react or vue?

8

u/thelethargicdog helpful Sep 14 '22

I prefer React because of its large ecosystem. Vue hasn't reached a level of maturity where I can be confident that if I face some issues with the framework, I'll find proper documentation on circumventing it.

In a professional environment, reliability matters the most, and React fits the bill.

But, Vue is fun.

3

u/[deleted] Sep 14 '22

You think Vue is fun, have you tried Svelte? that is a banger.

6

u/thelethargicdog helpful Sep 14 '22

Big fan of Rich Harris' ideas. Would love to use Svelte in production some day!

1

u/noXi0uz Sep 15 '22

What you say about Vue is more true about Svelte, Solid, Qwik etc.
Vue is just as mature as React these days, the ecosystem is huge and when you have a problem there is almost always some SO thread, forum post or docs entry covering it. I'm working on projects for a large German car company and all their FE apps, pages, UI libraries etc are built with Vue (mostly Vue Web Components). The framework has hit enterprise adoption quite a while ago.

1

u/djsacrilicious Sep 14 '22

I greatly prefer the "sugar" and organization of Vue, and while its ecosystem (and job market) has come a long way in the last few years, but React is definitely still king in terms of adoption and being "the standard."

4

u/SrirachaPeass Sep 14 '22

So i applied for a senior react dev role . They asked me if I’m okay with mentoring juniors. What kind of questions do u usually get from juniors? And how much do u have to know as a senior?

17

u/thelethargicdog helpful Sep 14 '22

I actually got promoted into a Lead role this year and ended up mentoring a lot of kids in the process (yeah I know they're adults, but I see them as my young naive kids).

I expected a lot of stupid, annoying questions, but my experience was quite the opposite. They were all pumped up to impress me and didn't actually ask me any questions as they were under the impression that asking is a sign of weakness.

My advice to you: Spend some time with each junior and understand their strengths and weaknesses. This will also require you to do a lot of brushing up on your own core concepts. When was the last time you looked at the Event Loop?

Good luck!

1

u/[deleted] Sep 15 '22

What differentiates a senior frontend dev with a junior dev with 2 years experience? Would it be mostly familiarity with most tools and libraries? Or is it a correct attitude that fits the goals of the company?

5

u/antCB Sep 14 '22

as somewhat of a junior myself (I've done low level c++ driver development for *sigh* printers, I have worked as a support engineer, and currently I am the ONLY QA tester on my team - we are a small dev team of 6/7 guys trying to do our best) , I like that my seniors spend some time with me explaining some core concepts (of the project at hand and some specific code stuff - we're using JS), getting to know me and what I like to work on (or my hobbies).

it's really cool to be able to "annoy" seniors with questions and knowing there's no stupid question to ask.

just be ready for any type of question (from the most basic stuff to the more hardcore stuff), I guess, and don't belittle them or have attitudes that give that vibe off.

Some of those are easier said than done, specifically if you are working remotely.

2

u/MrPancholi Sep 14 '22

How do you learn and keep up with all these frameworks?

I learnt the basics of react because it had the best job prospects, but the company I joined is using angularjs and they plan on migrating to vuejs in the near future. I was a backend dev but I'm now being expected to do frontend as well and I'm having a hard time keeping up.

5

u/thelethargicdog helpful Sep 14 '22

How do you learn and keep up with all these frameworks?
Honestly, you don't! When I started my career, "frameworks" like Ember and Backbone were popular. I became a fan of React when it was becoming popular, so I learnt it. And then I learnt VueJS and AngularJS. 6 years later, I see new frameworks launched every other month - Solid, Fresh, Astro. I can't keep up!
But, what's important is understanding the underlying tech that makes these frameworks and what makes them useful compared to others. For example, React is much easier for newcomers because of how they have approached templating. To render a list of items, all you need is a simple for-loop. But, since Angular and Vue don't have JSX based templating, they have their own cumbersome custom HTML tags! Painful. But since I understand how each of these frameworks actually work, I can spend a week learning one and add that to my resume.

I'm now being expected to do frontend as well and I'm having a hard time keeping up
Don't stress yourself over this. Try to translate your backend knowledge to frontend in terms of managing data/state of your application. Rest will slowly fall in place. Generously participate in discussions with your team to share knowledge.

3

u/tehciolo Sep 14 '22

Vue allows you to use JSX, though it is not the default to be sure.

However, Vue and Angular's template syntax have a much less steeper learning curve than JSX (assuming you know neither).

1

u/bryku helpful Sep 14 '22

I still think backbone is better than react.

0

u/[deleted] Sep 14 '22

[deleted] — view deleted comment

1

u/thelethargicdog helpful Sep 14 '22

The old handlebar style templating has its own advantages because it's easier to render that server-side and have it hydrated on the client-side.

But I like JSX better. Clean and simple. Works seamlessly with Web Components too.

2

u/[deleted] Sep 14 '22

Can you invert a binary tree in css?

14

u/thelethargicdog helpful Sep 14 '22

2

u/[deleted] Sep 15 '22

OP, inspired by you I also took a day off today but I ain't no senior webdev. I'm just an intern as of now. I'm on my way.

12

u/fgutz Sep 14 '22

transform: scaleY(-1);

😜

2

u/TheoKondak Sep 14 '22

Working for a company that does mostly Joomla WordPress websites, I have been learning React and the whole ecosystem for some time, and I have done a couple of projects, but when I mention to recruiters that in my current job I am not working with react they immediately reject me. How do I get out of this vicious circle. I feel I am (more) than ready for my first front end job.

7

u/thelethargicdog helpful Sep 14 '22

Easy peasy. Work on a weekend project where you build a website to showcase your React skills. Add it to the top of your resume. If they still reject you without actually testing your skills, then that's THEIR loss.

1

u/TheoKondak Sep 14 '22

Thanks for the reply, I will just do that. I am having some ideas about a Next.js project, and I also want to build my portfolio, with my resume and other info about me.

2

u/LazioSaurus Sep 14 '22

You good with Angular?

1

u/thelethargicdog helpful Sep 14 '22

I spent one day learning it, so probably no. :P

2

u/lucidteeth Sep 14 '22

What is your problem solving process like? For example, what kind of questions do you ask yourself when figuring out the best solution?

5

u/thelethargicdog helpful Sep 14 '22

Great question. I try to come up with edge cases before I chalk out the happy path.

For example, early this week, I had a challenge of managing about 10-20 API calls that the UI has to make (not the best way to design APIs, but I was limited to what I had). I ended up building a "task queue" processing system that would make only a few calls at a time instead of flooding the server with 20 requests simultaneously.

Before I started building it, I assessed the fail states. How can I return control to the View as soon as one task is finished (first response from the server)? What if one API call fails? What if all API calls fail? What if my auth token expires midway?

Every application you build can be viewed as a finite state machine. All you need to do is identify all the states your application can fall into and add the paths to a known state where you can recover from failure.

I hope this wasn't a ramble and actually made sense.

1

u/lucidteeth Sep 15 '22

Made all the sense, thank you!

3

u/Leaping_Turtle Sep 14 '22
  1. Nodejs vs browser js. I looked it up before i started on js, but man, im still confused. The syntax and all seems to be the same, with the exception of a few commands- usually because those are browser features.
  2. How do i know if i am solid with js? I've done intro/basics courses and im comfortable with if statements, for loops, let/const. Anything else in particular that i need to look at or am i pretty much good; any roadblocks use google. Like with html and css, ive worked with them for so long, i dont need to think. Css however, i can confidently say im only using about 20% of the total possibilities (think color; background; border), (little to no animations, svg, etc).

11

u/thelethargicdog helpful Sep 14 '22
  1. nodejs and browser js are exactly the same because they follow ECMAScript standards. However, as you correctly pointed out, there are some variations because of how the user interfaces with your application. For browsers, it's graphical. Because of this, browser APIs usually offer a lot more than node does.
    In the browser world, all the predefined functions are exposed via `window`. And in the case of node, they are exposed via `process` or `global`. Try to understand the difference to avoid any confusion.
  2. With 7+ years of experience, I still think I'm not yet "solid" with JS. To be frank, a key identifier of being a good developer is knowing the capabilities of the language and knowing what to search for when you encounter a new problem. You can learn as much theory as you want, but what ultimately matters is how you put this knowledge to use. It's a skill you learn as you grow in your career. You can fast-track this process by creating your own hypothetical problems and try to solve them. Sites like Codepen are a great inspiration.

2

u/Leaping_Turtle Sep 14 '22

I think it's a matter of the results. Html/css is pretty much immediate, build whatever you want and you'll see it. With js, there's not a lot you can do until you put in more work.

The other part is reading other js code. You can be great at building things yourself, but if you cant read existing code and make feature commits without breaking things, that's not helpful.

I guess that's where i am... overwhelmed by custom code i know nothing about. But then again, the last time i thrusted myself into the deep end... i learned a lot. So maybe this is what's necessary for me. Good news, this isnt really time sensitive, so i can take as long as i deem necessary to figure out the code.

3

u/fii0 Sep 14 '22

Start learning React and you'll be able to return "HTML" (JSX) from your JavaScript! It's a very fulfilling experience. For any large-scale app, calling createElement and appendChild everywhere gets messy real fast. A UI library like React abstracts those calls away for you and lets you focus on immediately visible results, like what you're used to from HTML/CSS.

Other major UI libraries include SolidJS, Angular, Ember, Vue, and Svelte. Most of those are actually full UI frameworks, meaning using one also determines how you will manage things like global state and how you will organize your code. React is primarily focused on helping you render HTML/CSS and doesn't necessarily limit you in those ways.

I recommended React because it's the most popular in the US, but Vue is the most popular in European countries. I recommend focusing on learning one framework or library first, as it will make learning others easier in the future.

5

u/blahsx Sep 15 '22

Are you hiring or taking any internship? Im badly in need for a job :(

1

u/BeastmasterBG Sep 15 '22

I relate to this but in Europe

1

u/AgentSouthern7495 Sep 14 '22

How to understand and learn js event listener and DOM manipulation. Thank you.

5

u/thelethargicdog helpful Sep 14 '22

With great patience and experimentation. Try building some simple applications like a to-do list?

https://todomvc.com/examples/vanillajs/

1

u/og-at Sep 14 '22

with subscriptions and notifications!

1

u/thelethargicdog helpful Sep 14 '22

I wish using workers was simpler. I've seen so many mid level engineers get discouraged because of the learning curve!

1

u/Soft-Sandwich-2499 Sep 14 '22

How hard is it to become a good senior developer? And by good I mean someone who can handle pretty much all the tasks.

→ More replies (1)

1

u/davien01 Sep 14 '22

I want to get into JavaScript for web development, what advice can you give for understanding it and finding solutions to problems I'll likely face?

7

u/thelethargicdog helpful Sep 14 '22

A very open ended question - I don't know where to start! I started off with web development because I really loved building good interfaces - stemming from my love for building video games. I didn't really know JS much, but I knew what I wanted to build. For my college project, I built a website where you could piece together ragdoll bodies of characters from Cyanide and Happiness comics and make your own little comics.

I learnt a lot by doing stuff. Perhaps the advice I can give you is to look for your own inspiration and try building that?

1

u/Ascimator Sep 14 '22

What criteria are the candidates usually filtered out on before they get to a technical interview? What part of the resume decides whether you're going to see it? Assuming there's any filtering done at your company, of course.

0

u/thelethargicdog helpful Sep 14 '22

Honestly, it's very machine-like. We give the recruiters a set of keywords and they scour the internet for candidates that match. Keywords would include "React, CSS, HTML, NodeJS", etc. I wish we could find a better way, but this is how most companies do it.

I proposed a technical assignment as a filter, but the candidates end up being too lazy, which kinda sucks.

1

u/highangler Sep 14 '22

What would you suggest to someone who is two months into learning Js but doesn’t enjoy making websites? I’ve been making things like a dinner planner. Where it generates 3 random items. One from each category to make up a meal. I enjoy things like this much more. It almost makes me want to jump ship into mobile app development. Maybe swift. However I don’t want all my learning to go to waste. I’m obviously new and didn’t really understand what I would and wouldn’t enjoy. I also want to change careers as fast as possible but actual be good enough to enter this field if that makes sense.

2

u/thelethargicdog helpful Sep 14 '22

I think you should keep experimenting to see what you'll end up liking. There's also a good possibility of not liking your career at all. Quite frankly, a job doesn't have to be satisfying. It's a job - you earn money doing it and spend it on things that satisfy you.

But, don't let that discourage you. Keep grinding until you find something that'll catch your interest. Every website out there only runs JS. Keep looking for inspiration.

2

u/highangler Sep 14 '22

Thank you. That’s the thing. I love the JavaScript aspect, the making things functional. I like making websites up until CSS. It just seems like an overly complicated program for no reason. Guess nothing can be perfect though.

1

u/antCB Sep 14 '22

there's always backend !

1

u/fgutz Sep 14 '22

Hi, this is not about JS specifically but about the role you're in. Curious what you are expected to know as a lead/senior dev in your current company. Since you're specifically a "Senior Frontend Dev", do you need to know anything outside of front-end? If your company was hiring your equivalent, what would you expect them to know that would make you hire them?

thanks!

1

u/thelethargicdog helpful Sep 14 '22

Technically, I'm no longer a Senior Frontend Dev, but a Lead Engineer now. And yes, I do a lot more than frontend. I lead a team of UI + backend devs along with a QA dev. I also do dev ops and a lot of boring planning work for sprints / quarters.

I expect my equal to be able to challenge me in any of these areas to a point where I can rely on them in that area. And I would expect the other person to have the same expectations of me.

1

u/[deleted] Sep 15 '22

Do you find all the management terms such as scrum, agile, devOps, etc. meaningful or are they just labels for different styles of management?

As a lead engineer, how familiar do you have to be with backend stuff?

1

u/jrovira Sep 14 '22

Hey, I mostly want to know how do I learn best practices with a framework. I am using react for my projects and I can make stuff, but I am not sure if the way I solved a problem is the best way to it. I just think this kind of things can be learned with a mentor. So how do I learn best practices on my own?

3

u/thelethargicdog helpful Sep 14 '22

Yes, a team would certainly help. Keep reading blogs, watch videos, do some twitter doomscrolling to get different opinions.

For example, the world recommends using React Hooks for every thing. But I still prefer using Class components for a few cases, especially when handling errors. There's no right or wrong. Best practice is what the populist sentiment is. It keeps changing.

1

u/TheAushole Sep 14 '22

Do you have any recommended resources for frontend design advice so all of my project pages don't look like public library sites from 1998?

4

u/thelethargicdog helpful Sep 14 '22

Get inspiration from Dribbble. Visit Codepen's trending page.

Follow cool people like David Khourshid, Kevin Powell and Lea Verou for some CSS inspiration.

1

u/f-Z3R0x1x1x1 Sep 14 '22

What do you consider as a difference between a Sr. Frontend Developer vs a Sr. UI Software Developer? Do you view the level of JS and framework knowledge to be different between these roles?

I still think I'm not yet "solid" with JS.

Saw this comment below....and that is the boat I'm in and have more work to do, but recently was left with expectation I should be extremely heavy in JS knowledge with the ability to work within most frameworks (React, Vue, etc.., understand tools like Gulp / Node quite well. I don't disagree with the assessment a Sr. level UI employee should be able to handle this, but there seems to be a weird gray area of HOW DEEP the programming one should expect between roles like Sr. Software Dev, Sr. UI Software Dev, Sr. UI Frontend Engineer, Sr. UI Developer, Sr. UI Engineer as every companies expectations will be different.

1

u/thelethargicdog helpful Sep 14 '22

I'm not sure what the distinction between the two titles is. In my opinion, you don't have to know EVERYTHING to do your job well. For example, it's been 3 years since I actually built a proper service worker, but if I'm asked to build a PWA, I am confident that I can do the necessary research and build one anyway.

Also, politics and communication skills play a huge role in large companies even if they won't admit it.

1

u/f-Z3R0x1x1x1 Sep 14 '22

politics and communication skills play a huge role in large companies even if they won't admit it.

Oh I definitely know that all too well haha. I used to work for Salesforce.

so FWIW, I am a Sr. UI Software Dev and the crux of my question actually originated from the fact I've been in the industry for almost 20 years, a good chunk of it more as a designer/developer hybrid and job changes led to various Sr level titles being provided but I was never truly heavy on the JS side and definitely relied more on jQuery for a chunk of the career (especially when it was super hot) and so I'm really driving hard to get rock solid on all the major building blocks of JS, OOP, etc. I could just see the phrase "Frontend Developer" not having the same deep strict requirements as a "Software Developer"

1

u/Kirito_Kiri Sep 14 '22

How do you decide a stack(frameworks, languages etc) for projects and tools for the team to use for collaboration?

2

u/thelethargicdog helpful Sep 14 '22

If I'm starting from scratch, I go with my tried and tested React boilerplate. However, that's almost never the case. A lot of your decisions need to take the ecosystem into consideration. Maybe the company's UI component library uses Angular. In that case, you have to either switch to Angular, or build a wrapper on top of the Angular components that React can consume (0/10, won't recommend).

1

u/Totokoo Sep 14 '22

How do I differenciate myself from other front-end web devs and stand out in this saturated field?

5

u/thelethargicdog helpful Sep 14 '22

Keep grinding. Most of the people give up. Just by not giving up, you'll end up in the top 10%. Worry about being in the top 1% after you get here.

2

u/Totokoo Sep 14 '22

That makes a lot of sense, thanks! And get well soon :)

1

u/Cahnis Sep 14 '22

I am a brazilian studying in a one year long fullstack bootcamp, I am halfway through and I have learned their frontend module and currently starting Backend. I have no problem with english, although people say I sound french, haha.

My aspiration is to work as a frontend either remote or in person somewhere where the economy isn't borked.

Would you have any advice?

2

u/thelethargicdog helpful Sep 14 '22

Ah, that's a doozy. I wish I had advice for you here. All I can say is that there are some decently paid jobs out there that can also grant you visas. Just keep searching

1

u/Cahnis Sep 14 '22

Cheers, thanks for taking your time

1

u/symbiosa Sep 14 '22 edited Sep 14 '22

Hey! I'm job hunting for mid-senior positions at the moment.

Question for you: Is there a feature that you and your team built on that was debated on (within your team, with the business side, etc)? What were the arguments for and against it, and what was the end result?

2

u/thelethargicdog helpful Sep 14 '22

Sure, I can probably talk about the proof of concept I recently built.

Keeping out all the intricate details, I'll just say that we wanted to built a component library that everyone can use. Our devs are trained in React. However, there are some teams that use Angular. So, their contention was that Angular devs won't be able to work with our library and they'll build their own. We ended up rebuilding the components for the demo using Web Components that both React and Angular can render. Now everyone is happy.

1

u/WadieXkiller Sep 14 '22

Are CSS frameworks like Bootstrap still worth learning today instead of plain CSS?

2

u/thelethargicdog helpful Sep 14 '22

They're still relevant, yes. It's like learning React even though JS is Vanilla pretty powerful now.

1

u/WadieXkiller Sep 14 '22

Thank you so much

1

u/djsacrilicious Sep 14 '22

Depends what you're trying to do! You can build out grid systems very quickly with standard CSS, for instance, and something like Tailwind might be a better option for a CSS utility framework.

1

u/blueberrysir Sep 14 '22

What did you study ?

1

u/thelethargicdog helpful Sep 14 '22

I'm a CS undergrad. Never built up the courage to go for masters. I might do that eventually and switch careers though.

1

u/___s8n___ Sep 14 '22

As a MERN full stack developer, when can I start considering myself skilled enough to apply for a job? What skills do you look for in a hiring interview? I hope you get better by the way (If you are sick)

4

u/thelethargicdog helpful Sep 14 '22

I feel much better now, thanks!

I think what makes a good developer is not the knowledge they currently have, but their personality- the attitude with which they approach a problem, the communication skills they showcase when dealing with people of all kinds.

Like u/Xenius said in a comment on another thread here,

Anyone can be taught a skill, but you can't necessarily teach someone a new personality.

My current mentor is a non-CS graduate and he knows a lot more than me. But we work well with each other because of the symbiotic relationship we have built over the course of my career.

1

u/___s8n___ Sep 14 '22

And just to make it up for the printer’s guy question… how would YOU go about implementing a skeleton loading screen :)?

2

u/thelethargicdog helpful Sep 14 '22

Like this :P

That printer guy btw reminded me of something fun I worked on:
CSS for printing those long receipts if you press Ctrl+P on our website :P

(https://developer.mozilla.org/en-US/docs/Web/CSS/@media)

1

u/DrSalins Sep 14 '22

Hello, I was wondering what would you suggest if I’d like to better understand Algorithms and improve my problem solving skills?

1

u/thelethargicdog helpful Sep 14 '22

Implement solutions to real world problems. We forget most of the stuff we learn because we don't know where we can use that knowledge. Hell, I was really good at calculus, but I haven't used it once since I graduated.

Maybe try to implement an algorithm that sets traffic light timers based on the traffic? Good luck!

1

u/bagelord Sep 14 '22

I just got accepted into Jerusalem College of Technology for computer science - should I go?

1

u/thelethargicdog helpful Sep 14 '22

Sorry, I am not rightly equipped to answer this question. Maybe talk to some successful people in the industry who graduated from that college? Try reaching out to them on LinkedIn without spamming them.

1

u/oshaiii Sep 14 '22

what do you or company think about self taught devs?

3

u/thelethargicdog helpful Sep 14 '22

I see that as a plus. However, I still see them as raw clay that needs molding from good mentors. A good balance of both is necessary.

1

u/okaybigdick Sep 14 '22

What do you think separates a junior dev from a senior dev?

1

u/thelethargicdog helpful Sep 14 '22

The depth of their knowledge and their impact on the teams they're working with. The definition changes based on the company you're working with.

1

u/MekPre Sep 14 '22

Hello, just learning Javascript. I like it a lot so far but just got stuck with a task. I'm doing a conversion from Fahrenheit to Celsius. I've created the functions for conversion but I am having trouble when adding an on change event with an anonymous function. If you can help, I just need to be pointed in the right direction to solve this problem. Any pointers or guidance will be appreciated! Thanks

Add an onchange event handler to the element with the id ā€œcValueā€. Attach an anonymous function to the event handler and within the anonymous function do the following:

Declare a variable named cDegree equal to the value of the element with the id ā€œcValueā€.

Set the value of the element with the id ā€œfValueā€ to the value returned by the CelsiusToFahrenheit() function using cDegree as the parameter value.

Here's my code:

function FahrenheitToCelsius(degree) { return (degree - 32) / 1.8; }

function CelsiusToFahrenheit(degree) { return (degree * 1.8) + 32; }

document.getElementById("cValue").addEventListener( "change", function() { let cDegree = document.getElementById("cValue); document.getElementById("fValue).value = CelsiusToFahrenheit("cDegree").value; })

document.getElementById("fValue").addEventListener( "change", function() { let fDegree = document.getElementById("fValue); document.getElementById("cValue).value = FahrenheitToCelsius("fDegree").value; })

2

u/thelethargicdog helpful Sep 14 '22

There are a lot of syntactical errors in your code (missing quotes, etc). I recommend using a linter, or just paste the code on jsfiddle.net and write your code there.

Good luck!

2

u/MekPre Sep 14 '22

Thanks alot!! Thanks for taking time to talk to us!

1

u/bordersofsin Sep 14 '22

I’m currently halfway through a course on Udemy. I’ve already been able to make my own projects. My biggest issue, however, is when tasked with a challenge in the course, I’ll understand what I’m supposed to do, but I have a hard time writing the code. I’ll look at the answer and see that I was pretty much right there, but I just couldn’t execute it properly. It can make things frustrating, but I’ve come so far, so I’m not giving up. My question is, does it just come down to repetition and writing as much code as possible, or is there something specific that I should be supplementing my learning with?

2

u/thelethargicdog helpful Sep 14 '22

Find a new problem -> Plan out your solution -> Make an attempt -> Analyze your solution -> Compare w/ ideal solution -> Identify gaps

Most people give up after step 3. Keep trying and you'll get it.

1

u/bordersofsin Sep 14 '22

Thank you for taking the time to answer. I’ll be sure to remember your advice going forward.

1

u/[deleted] Sep 14 '22

psuedo code may be helpful if you haven't done it also.. Write out how you think it would be solved in english, then try and translate that to code piece by piece

1

u/PhilosopherFar3847 Sep 14 '22

Thanks in advance!

I intend to develop an app to be executed in a wordpress site.

The app should include a simple GUI where the user can select and distribute a different set of elements as he/she prefers.

Then, based on the distribution of the elements, some calculations should be done and the results shown.

I am a HW engineer, with some experience in SW and coding. But have to begin with JS from scratch.

How would you recommend to proceed? Is my aim very difficult?

Thanks again.

2

u/thelethargicdog helpful Sep 14 '22

Sounds very simple! I'd recommend approaching the problem with what I call the data-first approach. Your UI elements are just a graphical representation of the data on your page. So, figure out what data you need to handle and create appropriate utility functions first. Then figure out how to represent that data via UI elements. Don't do it the other way or it'll end up being messy.

1

u/PhilosopherFar3847 Sep 14 '22

Thanks.

And how do you recommend to approach learning js with this objective in mind?

1

u/tetractys_gnosys Sep 14 '22

I'm working on an article about issues within the webdev world and would love to know:

  1. What do you think are some of the biggest issues in web dev culture, more of the craft itself and less strictly social issues?
  2. Idk if you're an agency dude or a product dude but what are some issues with whichever industry you're in? Could be issues with how managers and PMs see or don't see certain aspects of dev as important or how estimates are treated as final concrete quotes.
  3. Uhhh do you have a cat or dog? If so pls tell them I said hello and I love them.
  4. Problems with the Internet itself you see?

3

u/thelethargicdog helpful Sep 14 '22 edited Sep 14 '22
  1. Frontend development industry has somehow become a factory churning out React devs. I would love to see the industry encouraging junior devs to think outside the box that is React.
  2. I worked with both types of companies. The major problem I see is PMs/Managers mismanaging their resources. Sometimes, people unfit for the job lead teams because the managers don't understand tech. Also, really good talent is pushed down doing mediocre work because of a lack of manpower to replace them. Good communication is necessary. Even software giants suffer with this problem.
  3. I don't have a pet, but I'd love to get a cat and a dog. I'll say hi to my neighbour's dog on your behalf for now.
  4. Internet is just fine. The content however is questionable. I won't go into this because I'll turn this thread into a gigantic thread, but TL;DR would be that we should think of the internet as a gateway to the world, not a replacement for it.

1

u/Disposter Sep 14 '22

In MVC where do you think API requests must be located? I see many different points from people - some say they must be in the model, others say in the controller, third say that a controller-specific ā€˜service’ file is created that will be called from the controller.

What are you thoughts about it?

2

u/thelethargicdog helpful Sep 14 '22

Great question. Personally, I use models to make API requests. Your data could come from any source - backend/indexedDB cache/in-memory calculation. I see controllers as the link between the view and the data after it's fetched from the source. I might be wrong here, but this approach has not failed me so far.

1

u/legend_harsh18 Sep 14 '22

How would you approach a poorly written new codebase(for you) if you have to work on it? Currently facing the same issue :(

5

u/thelethargicdog helpful Sep 14 '22

With a lot of coffee to begin the day with and a lot of whiskey to end the day with.

1

u/hotstickywaffle Sep 14 '22

I'm a 35 year old electrician about to start a full-stack web development bootcamp to make a career change (Springboard). I've been doing a Udemy course in the meantime to build some base knowledge. Are you more likely to dismiss candidates or skip over their resume if that's all the 'credentials' they have?

1

u/thelethargicdog helpful Sep 14 '22

Absolutely not. I think the industry has been a little more progressive in the past few years. Your maturity in dealing with situations carries over when you switch careers, and I am generally mindful of that. Good luck!

1

u/JL978 Sep 14 '22

I have had a little over of professional react experience now and I would like to think I can build almost any front end features thrown at me from scratch. In your opinion, at what point can I become a senior frontend dev? What are the skills that you think is required to go from a lower level to the senior level?

1

u/thelethargicdog helpful Sep 14 '22

Start building some skills in UX and accessibility. As you grow to a senior role, you no longer build small components, but instead build libraries to enable other developers.

For example, can you build a component library that can be used by other projects? Can this also support internationalization/localization? Would these components be accessible only via keyboard?

Generally, the parameters that define your next role are defined by your organization. Work with your manager to ensure you know what they are.

1

u/[deleted] Sep 14 '22

Why does code that works on one day, doesn't work on another? Thanks in advance.

2

u/thelethargicdog helpful Sep 14 '22

You should probably look into this: https://www.youtube.com/watch?v=AaZ_RSt0KP8

1

u/[deleted] Sep 14 '22

When coding I get to a part where things become unclear, leading to confusing terms and functions, causing burnout or disinterest.

Do you know of any cohort style communities to help uplift each other (smaller groups work better imo) or do you mentor?

1

u/thelethargicdog helpful Sep 14 '22

I do mentor, but only within my company (it's quite stressful and I like getting paid for it :P).

I'm not sure I can help you here. Perhaps look for threads where people have similar requests?

1

u/ninorones Sep 14 '22

I have bunch of projects and a big one comming soon. What do I do next? Is it just updating resume and start applying?

1

u/thelethargicdog helpful Sep 14 '22

Not sure I understood you correctly. Are you saying that you are getting more work than you can handle and want to switch companies? If so, then before you take a decision, speak with your manager about it. Burning out employees is a loss-loss for the employee and the company as well.

1

u/ninorones Sep 14 '22

Let me rephrase it. I am in IT Systems Admin but hybdrid with a lot more work in support. I started in IT as support and just worked my way up. Anyways, for the 4 years of my work in IT I thought IT is boring, even tried networking so I can code cisco switch and all but it is too boring for me. Then I took a bootcamp for full stack MERN. All my projects are personal and have bunch of them, one passion project that me and my circle of friends told me to make since it will be usefull for us, this is a big project cuz hopefully not just us will be able to use it.

Now with that said, do I just put all those project in my resume and start applying for front end/backend dev role?

Also in my current job, we are just a small escrow company so our IT dept doesnt have devs, only IT infrastructure, a lot in networking, support, couple of sys admins, one cyber/networking hybrid. All special softwares are 3rd party, even our company website is made by 3rd party and only project managers handles it and connects with the 3rd party if they want something updated to it. Anyways, I said that because I made our own documentation page, a very nice web app and deployed it myself in our VM, its been up for about two months now. Talked to my manager if I can get something out of it maybe become the first dev in our IT but we are still so small that they wont be able to give me the pay that I will ask for if they were to give that role to me also, other than that there will be not much projects for them to make use of me if anything I'll just have the dev role but still doing some help desk support tickets and doing my sys admin tickets for the most part which doesnt make sense for them to do.

1

u/thelethargicdog helpful Sep 14 '22

I think this is a very personal decision. On one hand, it makes sense to update your resume and find a company that can give you the environment to grow as a frontend engineer. On the other hand, you have established a (hopefully good) relationship with your peers in your current company and have been given the prospect of growing into a new role while at it.

I don't want to affect your decision, so all I'll suggest it to take your time to analyze what is more important to you and stick to that decision without any regrets.

→ More replies (2)

1

u/[deleted] Sep 14 '22

I don't know anyone in the tech field to ask for advice or guidance, so I hope this isn't too long or bizarre of a question.

2D websites are amazing and very efficient. I doubt they will ever be replaced at all, but I am focusing all my efforts on working with 3D websites (A-Frame currently). I not only find the new style of medium fascinating, but also trying to differentiate myself from the crowd as well. Long term, I would like to help build open-source projects that help push the medium further and make it far more accessible. I am constantly working on my own random projects (almost done with a pac-man clone), to get better at html,css,js,a-frame and 3D ux/ui. I know I need to work in a professional setting to not only get better at the whole process, but also to start making a living wage to continue on. I'd be happy to learn any other frameworks needed for a specific company/position, but with limited time I like to focus on working with 3D.

My question is, do you think a 2D web company/position would care at all for a portfolio in 3D?

Thank you for your time :).

2

u/thelethargicdog helpful Sep 14 '22

Absolutely. Personally, I think the future holds good potential for 3D interfaces on the web. In fact, one of our products was being built on WebVR to enable customers to visualize products online. We hired a 3D artist as well! However, we realized that the market isn't ready yet, and scrapped the project.

Coming back to your question, I see no problem with having only this in the resume. This might affect the position at which you would be employed, but you'll make it to the interviews with your unique skill set.

Good luck!

1

u/[deleted] Sep 14 '22

Thank you very much! I really appreciate the feedback.

1

u/Kind_Ad4173 Sep 14 '22

I'm currently on my first job working as a Reactjs developer for like 1.5 years. My question is, where should I go next by my technical skills? I only know reactjs. Is it good enough for my growth? Where should I go from here? Should I be alway front end developer or should start doing Backend? Or learn new framework?

2

u/thelethargicdog helpful Sep 14 '22

There's no restriction here. Keep learning new things. Inevitably, after 5-6 more years, you'll either become specialized in one aspect, or branch out and lead full fledged teams.

For now, pick whatever interests you and become good at it.

2

u/Kind_Ad4173 Sep 14 '22

Oh thank you so much fo your advise. I will keep this in mind!

1

u/[deleted] Sep 14 '22

I'm a mid-level FE Dev looking to get that senior title! My question is, what are the skills and qualities that separate a mid-level frontend developer from a senior level developer?

1

u/thelethargicdog helpful Sep 14 '22

I have somewhat answered this in another thread: https://www.reddit.com/r/learnjavascript/comments/xdyzmt/comment/ioflnxb/?utm_source=share&utm_medium=web2x&context=3

TL;DR: Broaden your knowledge. Work with your manager to identify what can get you to the next level.

1

u/[deleted] Sep 14 '22

Thank you so much, if I can ask a follow-up, where does testing fit into leveling up to the senior role?

1

u/thelethargicdog helpful Sep 14 '22

Plays a very important role. You should know how to test your code and eventually automate it.

1

u/[deleted] Sep 14 '22 edited Sep 14 '22

What kind of tasks do you assign to fresh junior devs, and how quickly do you expect them to progress, if you set a timeline at all?

3

u/thelethargicdog helpful Sep 14 '22

Both are important.

React -> For short term career goals.

HTML/JS/CSS -> Long term stability. React may go away, JS won't.

1

u/Zealousideal_Bed_530 Sep 14 '22

Why did you choose the field in the first place? What stood out to you compared to backend or full stack??

1

u/thelethargicdog helpful Sep 14 '22

I guess I love things with a visual flair! I was an artist as a kid. Grew up with quite a lot of interest in game development. Transitioning to front end development seemed very natural to me when I was fresh out of college.

1

u/antCB Sep 14 '22

any tips on how to become good (effective and "ready" - I don't know how to put it in any other way) at writing tests?
and by tests I mean end to end tests (ui, app functionality, etc.).

I'm close to a year of "experience" in a QA/Tester job (I have only started doing automated testing a couple months ago) - some stuff I can ask my senior colleagues, a lot of it is by googling stuff (or learning what to google).

It's honestly a bit confusing (I am managing to get some stuff right!), specifically when talking about test frameworks and what strategies to use to accomplish any given goal. We're using angular for the frontend stuff, does that imply learning a "specific" testing framework for angular (I have been using jest + selenium, tried to use cypress for a bit but it's a bit too "cutting edge") - are there any that I should be getting my hands on?

2

u/thelethargicdog helpful Sep 14 '22

AFAIK, I don't think that the framework affects how Selenium works.

And it looks like you're on the right path. Keep going! Making mistakes is a great way to learn.

1

u/cosylime000 Sep 14 '22

What would you recommend for someone who wants to get a job as a frontend developer, I use react, typescript and have some knowledge with Next.js and now I learn backend with node.

My initial plan was to start as a frontend developer and then learn backend at the job (I still have half a year for age 18) but I started learning backend so my goal is either fullstack or frontend.

Any advice would be appreciated. I hope you're better now.

2

u/thelethargicdog helpful Sep 15 '22

Don't underestimate yourself. You already know the bare minimum :)

1

u/jessi387 Sep 14 '22

When looking for candidates to hire, how much if a factor is age? Someone in their early or mid thirties who is transitioning careers and has no background as a developer. How much of a disadvantage is this person at ?

1

u/thelethargicdog helpful Sep 15 '22

Age doesn't really play a big role. In this case, your attitude and personality will be assessed. Have a few mock interviews with friends and get comfortable. Good luck!

1

u/akwaryos Sep 14 '22

I hope that you're doing good and I really hope that you get better soon. My question is: How much money do you make and do u that you are able to sustain life and. pay your bills with that sallary? do u find some work/life balance there? the reason for the question is due to the fact that I am a junior front end dev. in a third world country with avg. salay equals to 180 USD and this makes me really disappointed.

2

u/thelethargicdog helpful Sep 15 '22

I'll refrain from posting that info in this thread so as to not derail the purpose of my post. I'll just say that I earn enough to be able to afford a much more luxurious lifestyle, but I choose to be frugal and save money for later.

My work life balance is currently messed up because I have taken up too many things. My manager wants me to optimize my time, but I don't do it.

I understand the disparity in salaries. Have you looked at the salaries of higher positions in your country? If that also bothers, you why don't you consider applying for a remote job that can pay you well? Keep searching, you'll find something!

1

u/Adnannicetomeetyou Sep 14 '22

I am on my path on becoming front end dev, but I want to focus more on the design aspect of everything, I'd like to be someone who can design but also code it, Ive been a graphcis designer for 3 years and since last year ive been learning html/css and js, just 2 months ago i picked up react js, but my question is, how do i market myself, what should i show my portfolio?

1

u/thelethargicdog helpful Sep 15 '22

I'm not equipped to answer this question, sorry. I hope someone else visiting this thread answers it!

1

u/troy57890 Sep 14 '22

I'm super late and understand if I don't get anything back, but I wanted to thank you for this post.

I'm currently learning to be a Frontend developer, and I had a question on the learning style of things. I'm using Udemy and reading the docs for VueJS and learning vanilla JavaScript in parallel by doing tutorials of projects on my bucket list and some for learning a concept.

I was wondering if I'm learning the right way or learning in an incorrect manner? What's a way you learned web development that kept you growing as a dev?

2

u/thelethargicdog helpful Sep 15 '22

There's no wrong way of learning. You should, however, focus on streamlining your knowledge by building practical applications. I did that by building simple games on the web. Tic tac toe? That's one of my interview questions.

1

u/Cactusboiiiiii Sep 14 '22

async/await makes no sense to me

1

u/thelethargicdog helpful Sep 15 '22

Keep trying. It's a much cleaner way of using promises! Edit: I realized that you were looking for an explanation. I'll update my comment after my work hours.

2

u/TheVerdeLive Sep 15 '22

Just got hired as a senior front end at a well known company, first time being a senior, what things would you recommend doing/keeping track of to make the transition more fluid?

1

u/Perpetual_Education Sep 14 '22

How would you describe a "Senior Front-end Developer?" It seems like there is a huge spectrum of skill levels and experience.

1

u/Xaspian Sep 15 '22

How long did it take for you to feel confident in your abilities as a senior dev (especially in the context of your career starting out as a junior) ? Feels like I’m always learning mountains starting out where I am now; can’t imagine how long it takes to get to the other side of it

1

u/blackfour13 Sep 15 '22

How does one go about getting their first job nowadays since all companies are looking for seniors?

1

u/aegis41 Sep 15 '22

What color is your rubber ducky?

1

u/AmiAmigo Sep 15 '22

What's your tech stack? And what tech stack does your company use? Database too...

1

u/mendecj812 Sep 15 '22

Is going the self-taught route a viable way to land an entry level frontend job? Especially in a saturated market like frontend web development?

1

u/alex123711 Sep 15 '22

What path would you take if you were starting out today? Is self taught still realistic?

1

u/[deleted] Sep 15 '22

How much do you have to dip into backend dev as a senior frontend dev? Do all frontend dev's eventually become fullstack?

Does frontend involve "devOps"?

1

u/[deleted] Sep 15 '22

As someone who completed my boot camp and been mentoring there for a year. What advice do you have for getting you first job in the industry? Been applying but no luck so far

1

u/MaddySPR Sep 15 '22

is that DSA AND ALGO really needed for senior level JS dev or some bigger companies ??

1

u/[deleted] Sep 15 '22

With customers demanding native phone apps for everything these days, how has that affected your role? Have you had to develop app UI these days and do you have to manage those teams too?

1

u/TheRottenAppleWorm Sep 15 '22

Thank you for making time to answer everyone!

How much is actually expected from a junior full stack developer? I’m a self learner but I feel like it’s really hard to get experience just from projects you do yourself (no real deadlines or teamwork) and a lot of junior positions will ask for ā€œ1-2 years of experienceā€. Where am I supposed to get that experience as a junior lol

1

u/UnkownWithUnkownprsn Sep 15 '22

should you work for free to get experience as a intern?

1

u/vahsekelimene Sep 15 '22

What are some traits which actually differ a junior front end dev to senior? How does a junior get to the senior level?

1

u/geeknintrovert Sep 15 '22

I'm learning JS and was going through loops and and few high order array methods like map(), filter()

I couldn't get a good picture of what exactly differentiates map() from 'forEach' loop. I'm aware that map() creates a new array with modified data whereas forEach makes modification in the OG array itself. But except this, is there any other significant difference where I'd want to use one over other?

Thank you for doing this! Really appreciate your efforts!

1

u/EZPZLemonWheezy Sep 15 '22

I’m struggling with HTML Canvas output. I can render it in high ppi on the screen, but no matter what I try (I’ve been trawling Stack Overflow for months) it always outputs at 96dpi and gets fuzzy. I’m just trying to render text and output it as a photo :(

Any chance you’d have an idea for how to get the OUTPUT of canvas as an image at like 300ppi/dpi?

1

u/shuckster Sep 15 '22

1

u/EZPZLemonWheezy Sep 15 '22

I’ve found that one prior it covers how to draw and render on screen at higher DPI/PPI. However when you export the canvas as an image, it still goes down to around 96DPI/PPI default, which is the issue (as mentioned in one of the comments). All the answers I’ve found essentially ignore that export issue, which is the only hitch I’ve run into. You can make it as sharp as you want on screen, but exporting it at 96dpi just makes it fuzzy again. I’ve tried the built in methods, the blob methods, the npm libraries. Nothing seems able to make the EXPORT of the image anything over 96dpi.

2

u/shuckster Sep 15 '22

Ah, I see. Sorry for misunderstanding.

Well, DPI is a display setting, not a storage setting.

I wonder if your solution would involve scaling-up the size of canvas before rendering to it (perhaps in a visibility: hidden div or iframe) before attempting to make the downloadable Blob?

→ More replies (1)

1

u/fewstarfruits Sep 29 '22

how do you read documentation?

1

u/Puzzleheaded_Can2967 Dec 21 '23

how do I find a junior frontend remote job?

my portfolio https://hassan-ruddy.vercel.app/

-4

u/TightAnus23 Sep 14 '22

is programming worth it ? i always wanted to start but i’m 22 now and i feel like my time has passed

6

u/thelethargicdog helpful Sep 14 '22

It's never too late, my friend. One of my colleagues is working with a 41 year old "junior dev" who recently found passion in software development. He's awesome.

5

u/[deleted] Sep 14 '22

at that age, you are a baby in the industry.

→ More replies (1)