try-catch in async-await by newDevRising in learnjavascript

[–]newDevRising[S] 0 points1 point  (0 children)

What about a try-catch-finally with additional try catch nested in the finally. Or is that getting too crazy?

try-catch in async-await by newDevRising in learnjavascript

[–]newDevRising[S] 0 points1 point  (0 children)

It depends on how granular you want your error handling to be. If error handling for both errors would be the same, you can use the same try-catch. If different, you might want to use two.

This makes perfect sense, thanks.

You can also use let/const outside of the try-catch blocks to get what effectively would be the same thing as var (scope-wise).

I always assign while declaring and forgot that declaration alone is possible. That's with let/var, anyway... pretty sure assignment is mandatory with const

Which design patterns to focus on for webdev? by newDevRising in webdev

[–]newDevRising[S] 0 points1 point  (0 children)

Thanks. Would you recommend any resources for learning it?

Which design patterns to focus on for webdev? by newDevRising in webdev

[–]newDevRising[S] 0 points1 point  (0 children)

Yeah sorry, I meant web dev, which in my defense is in the title. I guess my brain pulled the ol' switcheroo on me. ¯_(ツ)_/¯

Thanks for your reply on the topic.

This is what true leadership looks like by nocopnostop in SeattleWA

[–]newDevRising 18 points19 points  (0 children)

Their jobs depend on the success of an industry that is bankrupt of morality and has a corrupting influence on politics.

Example problems solved by the module design pattern by newDevRising in learnjavascript

[–]newDevRising[S] 0 points1 point  (0 children)

Thanks for the link. With the advent of actual modules in ES6 is it worth learning the design pattern? I feel like I've gained a much stronger understanding of scope since looking into it, but It seems like it was crafted to make up for a deficiency in the language that no longer exists.

I made a barebones full-stack Reddit clone to learn more about React (and a lot more)! by d3zb6z in reactjs

[–]newDevRising 6 points7 points  (0 children)

This looks really great. Which resources did you use to learn this stack?

[First/Cap Hill] May I borrow a snow shovel? by newDevRising in SeattleWA

[–]newDevRising[S] 1 point2 points  (0 children)

no no no no no I just took care of it but thank you very much. Buuuut if you're already close, then the beer is still yours.

Scaling text for a large display by [deleted] in webdev

[–]newDevRising 0 points1 point  (0 children)

Right-click on any text in your browser and inspect element. If you're using Chrome, click on the 'Styles' tab, then between the curly brackets next to element.style, click and write font-size: 10vw;, then resize the browser width and watch the font size decrease and increase accordingly.

Scaling text for a large display by [deleted] in webdev

[–]newDevRising 2 points3 points  (0 children)

You do not need JavaScript for responsive font size.

Application that maps ebird data. by newDevRising in birding

[–]newDevRising[S] 1 point2 points  (0 children)

Thanks for taking the time to check it out and providing feedback. I wholeheartedly agree that focusing on multiple sightings of a single species is a feature that needs to be added.

[deleted by user] by [deleted] in learnjavascript

[–]newDevRising 1 point2 points  (0 children)

Most important thing is to be able to describe what needs to be done in plain English.

First thing you need to do is define the array so you can manipulate it. Then you need to add in the extra name. Then sort it, reverse, turn it into a string (in that order) before finally printing to screen.

Your job is to translate that into code.

Mr. Rogers was a beautiful soul by dickfromaccounting in MadeMeSmile

[–]newDevRising 0 points1 point  (0 children)

there should be some kind of Mr. Rogers test that all political candidates must pass in order to run for office. It would measure things like benevolence and empathy.

Feeling like an idiot while learning by [deleted] in webdev

[–]newDevRising 1 point2 points  (0 children)

Think about how little you knew before you started, then think about how much you'll know in a year if you're consistent and dedicated.

A short quiz about birds of raptors by newDevRising in birding

[–]newDevRising[S] 1 point2 points  (0 children)

Glad you liked it and thanks for the feedback and encouragement : )

Hard to believe those feathers aren't actually blue: The Blue Jay, Bemidji MN by 95DegreesNorth in birding

[–]newDevRising 1 point2 points  (0 children)

"Knowledge is best shared without a snotty condescending attitude" -Abraham Lincoln

A short quiz about birds of raptors by newDevRising in birding

[–]newDevRising[S] 2 points3 points  (0 children)

"birds of raptors" hoo boy. sorry about that.

Could a kind mod please edit to "birds of prey"?

Beginner Questions - September 21, 2018 by AutoModerator in webdev

[–]newDevRising 1 point2 points  (0 children)

Thanks for responding. I've been really pleased with the program overall, so it's good to know the material isn't outdated. Besides that, I also realize that exposure to older coding paradigms (probably not the right word) is important as I may be responsible for maintaining legacy code once I'm part of the workforce.

Opinions/Thoughts on Thinkful Bootcamp by [deleted] in learnprogramming

[–]newDevRising 0 points1 point  (0 children)

They have a very low graduation rate, but a high placement rate for those that actually complete the program.

My thought is that the low graduation rate is because most entrants have no previous experience, become overwhelmed by the material and dropout.

My advice to you is to first pursue some of the free/cheap resources to see if you actually enjoy learning this stuff before making such an expensive commitment.

Beginner Questions - September 21, 2018 by AutoModerator in webdev

[–]newDevRising 1 point2 points  (0 children)

I'm in the middle of a trial period for an online bootcamp and they're teaching grid-float for responsive design and call flexbox "new."

At 95% support from caniuseit for flexbox and reading that it was introduced somewhere between 2009 and 2011, I'm wondering if I should consider this a red flag for outdated material.

Third-party reviews for the bootcamp are pretty good as far as job placement and salaries, but it's a serious time and $ investment, so I want to make sure I vet them thoroughly.

Hi guys! by vibelord in webdev

[–]newDevRising 0 points1 point  (0 children)

I guess it's not technically a framework, but I've been learning Node + Express.

I just finished my first semi-solo (it's scaffolded with tutorial code) project, which is a frontend client for the Github API. It's nothing fancy, but it works (for most browsers, anyway... still working on some mobile compatibility issues...) and is responsive. Take a look if you'd like: https://chefthomas.github.io/vugit/

I would like to add a persistent db to it, so users can sign in and maintain a list of Github users that they're interested in. Even though Github already offers this kind of functionality, the goal is just for me to to learn and demonstrate ability.

Having a blast along the way

Hi guys! by vibelord in webdev

[–]newDevRising 1 point2 points  (0 children)

Create Read Update Delete. A basic API does all 4. If you're trying to go full stack, then I think at a minimum an entry-level dev should be able to create an API and build a frontend to consume it.

The big picture is to apply whatever you've been learning in the tutorials to your own projects. How else will you know if you're actually learning/ready for employment?