fbpx
Home Blog Page 1245

7 JavaScript interview questions to practice

0
7 JavaScript interview questions to practice

This is the first in a series of articles from our friends at Career Karma.

Technical interviews may be stressful but they tell an employer a lot about you. Technical interviews let an employer see that you can thrive under pressure. They allow an employer to see that you actually possess the skills you have listed on your resume.

To help you navigate your next JavaScript technical interview, we’ve prepared a list of seven questions covering a range of JavaScript concepts that you can use to practice.

For a deeper dive, check out the Pass the Technical Interview with JavaScript — a Skill Path that dives into tips and tricks for nailing your technical interview, plus technical interview preparation tips from the Codecademy team.

JavaScript interview questions and answers

These questions cover both basic and more advanced JavaScript concepts so you’ll be ready for a range of questions that you could be asked. Try reading the question and answering for yourself before reading on to see how you did.

What is the difference between a forEach loop and the .map() function?

Both JavaScript forEach loops and map() functions iterate over items in a list.

The forEach loop executes a callback function for each element in a list. It does not return any values once it has been run. A map statement calls a function on each element in a list and returns a transformed array with the values returned by that function.

In short, forEach() loops do not return a new array but map() functions do.

What is a JavaScript Promise? What are the benefits of using a Promise over a callback?

A JavaScript Promise is a way to write more asynchronous code. A Promise is defined with two functions: a resolve and a reject function. If a Promise is executed successfully, the resolve function is returned to the main program; otherwise, the reject function is returned.

Promises allow you to avoid “callback hell.” This is where you define callback functions within callback functions. Callback hell results in unreadable code. Promises, unlike callbacks, support .then() statement. This means that the order in which a block of code runs can be made clearer if you use a Promise.

How can you check if an array is empty?

To check if an array is empty, you use an “if” statement:

if (array_name === undefined || array_name.length === 0) {
	// Code to run
}

First, the “if” statement makes sure that an array has been defined. Without this check, our code would return an error if “array_name” could not be found.

Next, our code checks whether the length of “array_name” is equal to 0. If either of these conditions are true, our “if” statement will execute.

What are default parameters in a function?

Default parameters let you specify default values for a parameter in a function. This means you call a function without defining a value and a default value will be set in its place.

A default parameter is written using this syntax:

function multiply_numbers(number_one = 0, number_two = 0) {
	return number_one * number_two;
}

Default parameters are specified as a parameter name, followed by an equals sign, followed by the default value you want to set.

This syntax means you don’t have to check if a value is defined before you start to use it in a function. Default parameters therefore make a function easier to read and understand.

What is the difference between synchronous and asynchronous functions?

Synchronous functions wait until each statement in a method has been run before moving on to the next. This means a synchronous function is read line-by-line and may depend on the value of a previous statement to work successfully.

Asynchronous functions, on the other hand, execute each line of code without stopping to wait for a value from a function. An asynchronous function usually depends on a Promise or a callback which executes while the main program is running. The Promise or callback will return a value back to the main program.

What are Arrow Functions?

Arrow functions are an alternative way of defining a JavaScript function. Arrow functions allow you to define a function without using the function() keyword. This lets you write more concise and readable code.

An arrow function can be written on one line:

const multiply_values = (value1, value2) => console.log(value1 * value2);

Arrow functions accept arguments just like a regular function expression. You do not need to use a return statement with an arrow function. This is because arrow functions implicitly return a value if there is only one value to return.

How can you filter values out of an array of objects?

An efficient way to filter values out of an array of objects is to use the JavaScript filter() function. The filter function iterates through a list of items and creates a new list of items that meet a particular condition or set of conditions.

Consider this list of students:

var students = [ { name: “Sam”, grade: 6 }, { name: “Alix”, grade: 7 }];

To retrieve all the students in sixth grade, we use a filter function:

var sixth_grade = students.filter(student => (student.grade === 6));

Our code returns all the students who are in sixth grade:

{ name: “Sam”, grade: 6 }

What is functional programming?

JavaScript supports functional and object-oriented programming. Functional programming is a programming paradigm where programs are written using pure functions.

Pure functions produce the same output. This makes them easier to read, debug, and interpret. One way to think about pure functions is like a calculator. If you evaluate 9 multiplied by 9 in a calculator, 81 will always be returned.

JavaScript offers features like first-class functions and higher-order functions to support the functional programming paradigm. Other functional programming languages include Lisp, Haskell, and Elm.

Preparing for your interview

As with any skill, the only way to get better is to practice. Technical interviews are no different. While you cannot prepare for every possible question that could come up, every additional minute of practice you do before an interview improves your chances of success.

In your interview, explain your answers, and how you arrived at them, in depth. Doing this lets an interviewer learn more about how you think. If you get the answer to a question wrong, the interviewer may use your process to see whether you were on the right track.

With the right amount of practice, you should have no trouble getting through your next technical interview!

James Gallagher is a writer at Career Karma. He leads technical content on the Career Karma publication. James has authored dozens of articles for an audience of code newbies on Python, HTML, CSS, JavaScript, Java, and Linux.

Helping Parents Hold the Line

0
Helping Parents Hold the Line

The team also produces a newsletter twice a week, uses its social media accounts to spotlight articles related to parenting from across the newsroom and continues to create special projects: In May, the team published a collection of essays focused on motherhood and transformation, and a recent package of profiles featured families that have opted for home-schooling.

Ms. Grose said that in the beginning of the pandemic, the desk talked to infectious disease pediatricians every day to bring readers the most up-to-date information. As the pandemic wears on, the desk continues to consult pediatricians, as well as psychologists, psychiatrists and social workers. And the team stays in close contact with the Science, Metro and National desks to ensure that Parenting’s coverage is “additive, and not duplicative,” Ms. Grose said.

When brainstorming ideas, the team pays close attention to reader feedback. It also helps that many of the Parenting staff members are raising young children themselves, and often come to pitch meetings with ideas that stem from their own lives.

Ms. Miller handles audience development as part of her role and frequently reads comments from, and interacts with, readers on the desk’s Instagram page. She often brings this feedback to the team so members can think about the best way to address caregivers’ most pressing concerns.

The team has also made it a priority to talk about the mental health of parents. “We do a lot of coverage about how parents can cope right now; it’s not just all about kids,” Ms. Grose said. “The amount of anxiety and rapid change that has happened is really hard.”

Early in the pandemic, as editors and reporters explored recurring themes of parents and children living similar lives in front of screens, Deanna Donegan, the senior visual editor for Parenting, created a visual approach to the articles that counterbalanced the heaviness of the moment.

“Content-wise, Parenting has done a really good job of giving parents resources of how to handle this very anxious time when there isn’t a one-size-fits-all plan for anyone,” Ms. Donegan said. “It’s nice to try to infuse some of that calm and reassurance, and also provide some levity maybe, in the art.”

Summer Reading Contest Week 10: What Got Your Attention in The Times This Week?

0
Summer Reading Contest Week 10: What Got Your Attention in The Times This Week?

Students, we want to hear about your experiences with the Summer Reading Contest. Tell us what you’ve learned by filling out this form.


Welcome to Week 10, the final week of our 11th Annual Summer Reading Contest.

This contest is open to students 13-19 from anywhere in the world. To participate, submit a response by 9 a.m. Eastern on Aug. 21 that answers the questions “What got your attention in The Times this week? Why?”

If you are 13 or older and live in the United States, or 16 or older from anywhere else in the world, post your response in the comment section. If you are 13-15 and live in another country, see the bottom of this post for details on how to submit.

Responses must be 1500 characters or fewer.

What should you choose? Well, as you know from the rules we’ve posted, you can pick anything published on NYTimes.com in 2019 or 2020, including articles, essays, Op-Eds, videos, photos, podcasts or infographics.

So what did you read, watch or listen to this week?

We hope you’ll click around NYTimes.com and find your own great articles, features and multimedia. But we also know that not everyone who participates has a Times subscription. Because all links to Times content from the student features on our site are free, every week we’ll try to help by posting interesting pieces from a variety of sections.

For some advice about how to write powerful responses, here are four quick tips you can learn from past winners of this contest.

_________

Where Do Republicans Go From Here?

I Have a Cure for the Dog Days of Summer

The Coming Eviction Crisis: ‘It’s Hard to Pay the Bills on Nothing’

A Song That Changed Music Forever

Racism’s Hidden Toll

We All Speak a Language That Will Go Extinct

How History Turns Riots Into Tea Parties

Whatever caught your eye, tell us about it.

Need more details? The contest rules are all here, and you can read the work of last year’s winners here. A quick overview, though:

  • You can choose from anything published in the print paper or on NYTimes.com in 2019 or 2020, including videos, podcasts, graphics and photographs. (In your response, please include the URL or headline of the piece you pick.)

  • We’ll post this question each Friday from today through Aug. 14, and you’ll have until the next Friday morning to respond with your picks. Then we’ll close that post and open a new one with the same question.

  • We’ll choose at least one favorite answer to feature on our site each week. Winners from this week will be announced on Sept. 1.

  • Feel free to participate each week, but we allow only one submission per person per week.

  • The contest is open to students ages 13 to 19 from anywhere in the world. If you are 16 or older from anywhere in the world, you can post your response in the comments section. If you are between the ages of 13 and 15 and live outside the United States, use the form below to submit your entry. All entries from the comments section and the form below will be judged together.

Introducing Live2Coursera: scaling live online teaching to reach every learner

0
Introducing Live2Coursera: scaling live online teaching to reach every learner

By Shravan Goli, Chief Product Officer

The pandemic has ignited an unprecedented shift in higher education. This past spring, 1.6 billion students worldwide were learning from home, and today more than a billion students are still impacted by campus closures. Colleges and universities continue to grapple with the impact of COVID-19 and what the transition to online and blended learning will look like this fall. 

At the Coursera Conference in April, we previewed Live2Coursera, which enables instructors to integrate live meetings into their courses. Today, we’re excited to announce that Live2Coursera is available to all authors on Coursera. As we’ve seen over the past few months, recorded Zoom lectures have the potential to be valuable, long-term digital assets for both educators and learners.

Impactful tools for educators  

To help make the transition to online learning a little easier, we’ve designed Live2Coursera to make live teaching as intuitive and efficient as possible. Live2Coursera helps you teach live classes, for example with fully online students or campus students who are learning remotely, in private course offerings. Live2Coursera also enables you to add Zoom recordings to your Coursera content library and leverage them for future classes and MOOCs. 

We’re excited to share the following new features for educators:

Link your Zoom account: Now any author can link their Zoom account with Coursera to start offering live meetings within their courses. (Available today for all authors)

Schedule meetings: Authors can schedule Zoom meetings to seamlessly integrate them within their course’s learning experience for streamlined access to live meetings. (Available today for private course offerings)

Configure recordings: Meeting recordings are automatically stored in your course’s Asset Library for staff, and can also be configured to automatically publish to learners. Asset Library content can be leveraged for future offerings of this or any other course, so you’re adding to your content library with every live meeting. (Available today for private course offerings)

Import prior recordings: Do you have recordings from prior classes that weren’t on Coursera? We’ll soon be adding Zoom to our list of Cloud providers you can directly import videos from without needing to manually download them first. This enables authors to more efficiently import prior recordings, further adding to your reusable content library. (Coming soon for all authors)

Start teaching immediately: Now authors can launch private course offerings completely self-serve, so you can start teaching at any time within minutes without waiting for Coursera approval. (Available today for private course offerings)

Adapt on the fly: For private course offerings, authors can make changes to content and assessments at any time, meaning you can adapt your course on the fly based on student performance. We’ll soon be enabling module authoring (add, edit or delete) for private course offerings that have already launched. (Coming soon for private course offerings)

A seamless learner experience

Learners see live events and recordings right in their course experience, and receive reminder emails in the lead up to the event – all tailored to their individual timezone and localized to support learners across the world. (Available today for private course offerings)

A glimpse at the future 

We’re humbled to serve more than 200 university and industry partners and 68 million learners around the world in their online teaching and learning journeys. Looking ahead, we will continue innovating across the platform to create the best experience for educators and learners – including live and asynchronous teaching. 

Check out our Educator Community Webinar to learn more and see Live2Coursera in action.

 

Guided Projects Offering Becomes the Fastest to Reach One Million Enrollments on Coursera

0
Guided Projects Offering Becomes the Fastest to Reach One Million Enrollments on Coursera

Enterprise offering now includes private authoring of Guided Projects, courses, and assessments 

By Shravan Goli, Chief Product Officer and Namit Yadav, General Manager, Rhyme

The pandemic has accelerated the rate of digital transformation among institutions, creating an urgent need to support skills development in new ways. With face-to-face training not possible in the current environment, institutions are using online learning to prepare for a digital future. The shift is at the heart of growing demand for Guided Projects, which offer hands-on learning experiences for job-relevant skills across data science, technology, and business. 

Guided Projects have attracted over one million enrollments since launching in April this year, making it the fastest-growing product offering on Coursera. We now have more than 380 Guided Projects on the platform, with plans to offer over 1,000 by the end of the year. 

Most people learn in an institutional environment, either on campus or at work. For this reason, many institutions are interested in developing customized content for their learners. Starting today, we are expanding our enterprise offering to include private authoring of Guided Projects, courses, and assessments. Using powerful authoring tools, organizations can now translate their knowledge into content tailored to their institutional needs. 

Privately authored Guided Projects enable organizations to become educators, elevating subject matter experts to support institutional knowledge sharing. Organizations such as Hertz and others are using authoring tools to develop Guided Projects in areas like IT, SaaS management, application troubleshooting, data visualization, and software onboarding. 

Organizations can create their own Guided Projects using Coursera’s authoring tools

Guided Projects advance the online learning experience by enabling immediate application of skills. According to the “Forgetting Curve” study, we forget about 75% of new information after just six days if we don’t apply it. Guided Projects address this challenge by using step-by-step guidance and a virtual cloud workspace to apply skills to real-world environments. 

Individuals and institutions around the world are benefiting from hands-on learning experiences. 

Guided project enrollments around the world, August 2020

By accessing Guided Projects through the Coursera for Campus offering, students are learning to apply job-relevant skills in work environments. 

“As a master’s degree student, Guided Projects have been incredibly valuable in helping me gain practical technology and business skills that I can apply to my studies. I am interested in designing my own product, so being able to learn skills like product management, Python, and HTML in a virtual way has been very helpful.” — Hagigat Hasanova, Estonia

Organizations like Nokia and Sanofi use Guided Projects to drive continuous reskilling across teams, benefiting from their accessibility in a virtual cloud workspace and how quick they are to complete.

“At Nokia, we use Guided Projects as part of our curriculum to equip global data science teams with the skills they need to adapt to the workforce of the future – one that’s fast paced and has a culture of sensing and reacting constantly. We are delighted with them so far. They provide the perfect learning transition from “I understand” to “I can do,” in a wide range of valuable, job-relevant skills.” — Steve Tadeo, Data Science and Analytics Specialist at Nokia

For more information about Guided Projects or private authoring for your institution, reach out to your Customer Success Manager.

2

Joel Charles: “Alison opened up greater possibilities for promotion.”

0
Joel Charles: “Alison opened up greater possibilities for promotion.”

“My name is Joel Charles. I am 31 years old and I live in the beautiful island naiton of Trinidad and Tobago.”

How did you learn about Alison?

I heard about Alison courses some years ago through various social media and through online advertising.

What was your first course on Alison, and why did you choose it?

I can’t recall my first course on Alison as I embarked upon multiple Alison courses at the same time!

 

How have Alison courses affected your career?

The law courses I studied with Alison opened up greater possibilities for promotion. Also, due to certain courses I’d taken with Alison, I was considered at job interviews for supervisor positions in security firms.

What’s your favourite way to relax from studying?

My favorite way to relax from studying is usually walking on the beach or just enjoying the sea breeze.

Where are you working or studying now?

I am presently working with the Trinidad and Tobago Police Service as a special reserve police officer. My latest course of study with Alison has been along the line of supervisory management.

 

What’s next for you, in terms of education?

In terms of education, my goal next year is to probably do my associate degree in either paralegal studies or security management. 

If you could learn absolutely anything in the world from an Alison course, what would it be?

If I could learn absolutely anything in the world from Alison it would be a course on the legal systems in various countries and how they use and apply the law. 

What would you say to someone if they asked you about Alison? Would you recommend it and why?

If someone ask me about Alison I would say that the courses are free and are aligned with the job market. I would recommend Alison because the knowledge gained in the courses is world class and up to date with work standards.

Block out distractions and join us for a Group Focus Session!

0
Block out distractions and join us for a Group Focus Session!

Here at Codecademy, we’re not only passionate about teaching you how to code. We’re also passionate about giving you the tools you need to reach your coding goals! We know that sometimes it can be tough to stay motivated, which is why Lil from our Community Team hosts Group Focus Sessions twice a week.

Group Focus Sessions take place every week on Wednesdays and Fridays at 3pm Eastern Time. You can learn more and register to join upcoming sessions on the Codecademy Events page.

What is a Group Focus Session?

A Group Focus Session is an hour-long session on Zoom, with 45 minutes of uninterrupted focus time built in. Decide what you’d like to work on, find a quiet space to work and block out all possible distractions — phones, social media, and email notifications should all be shut off.

Lil has been running these sessions since October 2019 and she explains the benefits, plus her motivation for starting them:

“The main benefit is making progress toward your coding goals! Secondly, it’s a time and place to meet your fellow Codecademists. At the beginning of each session, we go around and say hi to the group stating our name, where we’re calling in from, and what we’ll be working on for the next 50 minutes.

“Group Focus Session is an accountability group, really. I started these after reading a lot about ‘Deep Work.’ I was inspired by Cave Day, too. I’ve only attended one Cave Day but I was really impressed with how much I could accomplish by cutting out distractions like email notifications, surrounding myself with others who are also focusing on their goals, and obviously, seeing the results at the end of the day.”

Who joins the Group Focus Sessions?

Group Focus Sessions will give you the opportunity to connect with other Codecademy learners from all over the world. We’ve had learners tune in from Australia, India, Italy, Nigeria, the UK, the United States, including California, New Mexico, New York, Colorado, Vermont, Florida, and more.

Lil says, “I really look forward to having facetime with our community members each week. It’s so great to meet our learners and see what they’re up to! I also look forward to hearing what our community members are working on each week. What’s excellent is that sometimes members in the group will be working on the same thing or just completed what another member is working on and they’ll be able to help each other.”

At Group Focus Sessions, you’ll also be able to connect with members of the Codecademy Team. Josh, a Senior Software Engineer,  tells us, “Consistent time during the day to focus in on work is really useful these days, especially since I’m constantly getting distracted by work messages and social media. It’s also great to talk with our learners and see what they’re working on. I appreciate knowing what’s going well or poorly for them because it helps inform where we need to improve Codecademy.”

Kenny, a Senior Curriculum Developer on the team, is also a regular at Lil’s Group Focus Sessions. He had the following to say:

“Joining these sessions has been really fun since they provide a concrete sense of who our learners are. At the beginning of our sessions we’re able to just chat as a group and talk through what we’re working on. At the end, we talk about our struggles and accomplishments. Luckily for me, a good chunk of our learners are doing web dev content (or some content that I’ve touched) and there are times that I can help out with a specific problem. So carving out this time that’s blocked from other meetings to do work and interact with learners is a win-win in my books.”

Nick, another Senior Curriculum Developer who regularly joins these sessions, tells us, “Lil’s community focus session is the most effective hour of my week: I’ve learned to timebox my work, received encouragement from peers, and met new learners.”

We hope you’ll join us!

Lil says, “The Group Focus Session is pretty special. In essence, we hold space for ourselves and each other to make progress towards our goals.” Find out more and join a future session here. We hope to see you there!

Roaming Through Lanzarote’s Otherworldly Vineyards

0
Roaming Through Lanzarote’s Otherworldly Vineyards

At the onset of the coronavirus pandemic, with travel restrictions in place worldwide, we launched a series — The World Through a Lens — in which photojournalists help transport you, virtually, to some of our planet’s most beautiful and intriguing places. This week, Mónica R. Goya shares a collection of images from the Spanish island of Lanzarote.


Situated some 80 miles off the southwest coast of Morocco, Lanzarote — with its stunning coastline, desert-like climate and plethora of volcanoes — is the easternmost of Spain’s Canary Islands. Major volcanic activity between 1730 and 1736, and again in 1824, indelibly altered the island’s landscape and helped pave the way for an improbable sight: a vast expanse of otherworldly vineyards.

In recent years, Spain has devoted more land to vines than any other country in the world. And while the Canary Islands, more broadly, have a longstanding wine tradition — the archipelago’s wines, for example, were mentioned in several of Shakespeare’s plays — nothing could prepare me for the uniqueness of Lanzarote’s vines.

The most remarkable wine area on the island is La Geria, a 13,000-acre protected landscape which lies at the foot of Timanfaya National Park, one of Lanzarote’s main tourist attractions. It was here in Timanfaya that volcanic eruptions buried around a quarter of the island (including La Geria) under a thick layer of lava and ash, creating a breathtakingly barren scene — and eventually leading to a new way of growing vines.

Many of the vines on Lanzarote are planted in inverted conical holes known as hoyos, which are dug by hand to various depths, each one made in search of the fertile soil underneath the ash and lapilli. In a counterintuitive twist, the ash plays an essential role in the vineyards’ success: It protects the ground from erosion, helps retain moisture and regulates soil temperature.

Low semicircular rock walls protect the vines from the merciless winds. Together with the hoyos, they contribute to an inventive growing method that might easily be mistaken for a network of sculptural art.

La Geria is a superb example of humans working hand-in-hand with nature. In a way, the immense — if desolate — beauty of this area is evidence of human resilience in the face of adversity: For hundreds of years, inhabitants here have managed to extract life from volcanic ash on an island often plagued by drought.

But changing weather patterns (including scarcer-than-usual rainfall) and harsh economic realities are persistent threats. The traditional hoyos system can yield about 1,200 pounds of grapes per acre. Other less traditional (and less time intensive) cultivation systems on the island can yield up to 6,000 pounds per acre — by utilizing higher-density growing techniques and some forms of mechanization.

An economist by trade and environmentalist at heart, the winegrower Ascensión Robayna has a strong connection to Lanzarote and a serious commitment to conservation. For years she has tended high-maintenance and low-yielding organic vineyards, adamantly asserting that this unique landscape, and the traditions embedded within it, must be kept alive.

“Growing vines in hoyos means that farmers adapted to the special circumstances of soil and climate, creating the most singular of the agrarian ecosystems,” she said.

There’s an obvious sparkle in Ms. Robayna’s eyes whenever she descends into the lava fissures, called chabocos, where trees and grapevines — especially muscat grapes, among the oldest of varieties — are grown. (Puro Rofe, a winery founded on the island in 2018, recently released a wine made exclusively from her chaboco-grown grapes.)

In the late 19th century, a pestilent aphid, phylloxera, decimated grapevines throughout mainland Europe. (The wine industry there was salvaged by grafting European vines onto American rootstocks, which were immune to phylloxera.) By contrast, phylloxera never reached Canarian shores. As a result, vines here can be planted on their own roots — a relative rarity in the wine world.

Hundred-year-old vines and unique grape varieties are a common sight across the islands. Malvasia Volcánica is arguably the island’s most well-known grape variety; others include Listán Negro, Diego and Listán Blanco.

Once, while visiting a set of vineyards near Uga, a small village in southern Lanzarote, I followed the winegrower Vicente Torres as he climbed barefoot — the traditional way of working here — up the hillside to inspect his vines. With the lapilli tickling my feet, and while sinking slightly with each step, I found the ascent more arduous than I’d anticipated. Growing anything in this soil, I learned, is hard work.

According to regulatory data, this year’s harvest is expected to be less than half of last year’s, with a forecast of about 2.6 million pounds of grapes.

“The oldest men around here say they don’t recall a year as bad for vineyards as this,” said Pablo Matallana, an oenologist who grew up on neighboring Tenerife but has family roots on Lanzarote. “We have been enduring two years of extreme drought. Some plots have debilitated considerably, and the vigor of the vines has decreased,” he said.

Rayco Fernández, a founding member of the Puro Rofe winery and a distributor praised for having been one of the first to showcase quality Canarian wines, agreed. “The drought is ruining vineyards,” he said, adding that the ash, where there is a thick enough layer of it, has been a lifeline.

But Lanzarote faces other threats, too. Tourism accounts for a significant portion of the island’s gross domestic product. And, despite a relatively low number of confirmed coronavirus infections, this economic sector has largely evaporated.

According to a Covid-19 economic impact study conducted at La Laguna University, Lanzarote’s G.D.P. is projected to drop by 21 percent.

With the number of winegrowers falling, and climate change wreaking havoc, the future of winemaking on Lanzarote appears more challenging than ever.

There’s no doubt, though, that the island holds a kind of mythical sway over its visitors. It’s been almost a year since my last trip to Lanzarote, yet I continue to revisit certain images in my mind: of vines emerging from the majestic hoyos at the foot of Timanfaya — a splendor still to be treasured there, at least for now.

Color Love | Blues & Neutrals

0
Color Love | Blues & Neutrals

I came across this picture as I’ve scoured the internet for living room design inspiration.  I adore the relaxing feel of the Blues & Neutrals color palette.  This combination not only works great for room design but can also create a stand-out blog design as well.

Blues & Neutrals Color Palette

Below I have created for you a simple mood board featuring today’s color combination. It is in perfect Pinterest format, so feel free to pin it for later.


See our collection of other gorgeous color palettes by visiting our color palette section.


What do you think about our blue and neutrals color palette? Do you like this combination? Where would you use it? We would love to hear your thoughts, so make sure to share them in the comments below.

Lastly, learn about the power of color in blog design in our blog post to see how important colors are in all the projects you create.

What programming language should you learn first?

0
What programming language should you learn first?

Thinking about learning to code but not sure where to start? One of the most common questions we hear is, “What programming language should I learn first?”

The industry changes fast. And with over 600 possible languages to choose from, it can be overwhelming to sort through them and find the one that suits your needs. In the following video — and the rest of this article — we’ll do our best to set you up for choosing the best first programming language for yourself.

Before we can answer this question…

Before we dive into answering the question of what programming language you should learn first, there are a couple quick questions we want to address.

What are programming languages?

If you’re trying to decide which programming language to learn first, the first step is understanding what a program language is in the first place. The short answer, as defined in a recent blog post on what is a programming language, is that “programming languages are the tools we use to write instructions for computers to follow.”

Computers think in binary and programming languages help us translate 1s and 0s into something that can be more easily understood by humans. Programmers are the ambassadors between the worlds of humans and computers, and programming languages are the tools they use to tell computers what to do.

What if I choose the wrong programming language?

It’s also important to know, before you start learning your first programming language, that no matter what language you choose you’ll be learning valuable skills. There’s really no such thing as picking the wrong language.

Programming languages may look different on the surface, but they have a lot in common. They share similar patterns and structures and by learning one language you’ll be introduced to key coding concepts that will help you learn other programming languages in the future. Once you pick up your first programming language — no matter which you choose — it’ll be easier to pick others up.

You should also know that it’s not uncommon for a developer to move between different languages throughout their career as they are asked to solve different sorts of problems. You’re definitely not locked in to using the first programming language you choose. So don’t worry too much about focusing on whether you’re learning the best programming language. Instead, focus on gaining that foundational knowledge with whatever language you choose.

What programming language should you learn?

Now that you’ve got some background, it’s time to decide what programming language you should choose. There are a couple routes you can go with making this decision. The first is to choose a programming language based on your goal and the second is to choose a programming language based on what’s the most in-demand or popular in the industry.

Finding the best programming language for your goals

Why do you want to learn a programming language? Are you programming just for fun? Curious about what coding is like? Trying to build something specific or get a new job? Answering this question is a great way to get an idea of what language might be best to start with.

If you’re just learning for fun, pick any language you like! Some popular languages for those starting out include HTML, CSS, JavaScript, or Python. You can learn more about these in the following section.

If you’re at the very beginning of your coding journey, you’ll want to learn basic markup languages like HTML and CSS just to get your foot in the door. These two are essential to front-end web development and can be used to design attractive webpages simply by adding some interactive elements.

Learning HTML and CSS is an excellent starting point for those who want to build websites from the ground up. Once you are familiar with HTML/CSS, you can move on to languages like JavaScript, Node, or React to give your website the functionality it needs. Keep in mind that you will need to showcase a diverse portfolio of your past projects to become a web developer.

Want to analyze data? SQL is a great option if you’re looking for help with accessing data and Python and R are good starting places for data visualization. Ruby, JavaScript, and Python are useful for automating tasks.

If you’re looking to make a career transition or get a new job, talk to people in the industry you’re interested in. If you’re interested in mobile development, web design, data science, IT, AI, or another industry, reach out to folks in those communities and ask what a typical day looks like for them. What languages do they use and what do they recommend starting with? You can also join the Codecademy forums or our community on Facebook to ask for advice.

If you’re considering a career in coding, it’s recommended that you stick to mainstream languages when you’re getting started. They generate the highest demand in the tech industry, with countless job openings listing them as required skills for entry-level developers.

Check out the following list of some of the most popular programming languages to learn more about them and what they’re used for. We’ve listed them here in alphabetical order.

C++

C++ is a powerful, all-purpose programming language used for building applications with faster performance and far more effective scalability. In fact, the basic foundation of most Windows software was written in C++.

C++ is ideal for managing resource-heavy applications like web browsers, operating systems, desktop apps, cloud computing, and even video games. It’s used in a variety of industries, including VR, robotics, software and game development, and scientific computing. The key features of this language are its cross-platform hardware support and adaptability to a changing internal environment.

C#

C# is Microsoft’s programming language. Being one of the most popular languages, it has since been adopted into the Windows, Linux, and iOS and Android platforms. C# is also known for having a huge collection of libraries and frameworks.

It is often the language of choice for game developers and mobile app creators, though it has also been implemented in enterprise software like Azure and IoT. If you’re interested in game design, you’ll most likely encounter C# when building assets in the Unity engine for a new game.

JavaScript

A dynamic programming language, JavaScript is used primarily in web development to design interactive, user-friendly websites. It provides stylized web pages with added functionality and allows brands to increase their user engagement by displaying animated elements on their websites.

This versatile programming language is the core component of web browsers and is suitable for most beginners who are curious about front-end web development or mobile game development.

Ruby

Ruby is general-purpose, dynamic programming language, most popularly implemented with the Ruby on Rails framework. Ruby on Rails is praised for its disruptive, server-side framework and for providing users with cutting-edge features, all thanks to its concise syntax and object-oriented support.

Although Ruby is a backend language, it is designed to be readable by people instead of just machines. It has turned into a staple language valued by many tech companies. On top of that, Ruby has attributed to the success of software implemented on Twitter, Airbnb, and GitHub.

Python

Python is another general-purpose programming language. It has played an important part in data science, machine learning, and web development. Python’s documentation library covers how to visualize and compile large quantities of data using Matplotlib, Pandas, and more. People have also used it to program desktop applications.

Python has a low barrier to entry. It’s simple but elegant, with many real-world applications — one notable example being artificial intelligence. As seen in web scraping, Python has the capability to extract a large amount of data.

R is another statistical programming language suitable for data analysis and visualization.

SQL

SQL (pronounced “sequel”) is a data-driven programming language. Its purpose is to store information into separate data sets so you can retrieve them to generate accurate reports based on your search query. SQL is an absolute must for any aspiring data scientist, given that data science uses relational databases. However, it’s not the best language for building apps from scratch.

SQL allows marketers to translate and analyze business data to understand how well certain products perform on the market or which sales funnels are converting leads into customers. SQL is inputted into database systems like MySQL, Oracle, and MS Access for manipulating structured data. It identifies connections between multiple variables for creating new tables.

More resources for getting started

If you’re still unsure about which programming language to learn first, we’ve got a couple more tools to help you out.

The first is our sorting quiz! Take the quiz for a recommendation on which language is right for you. It’s kind of like a personality test, except that it gauges your programming preferences and finds the right language for you. Basically, it determines what language best matches your approach to problem-solving.

You can also check out our Career Path in Code Foundations. Code Foundations will introduce you to the world of code, explain the paths of web development, data science, and computer science, and help you make an educated decision about which path (and language) is right for you.

Whichever language you end up choosing, we’re excited you’re getting started with coding and we wish you all the best on your journey!