When Will Artificial Intelligence (AI) Replace Web Development & Frontend Developers?

Jo Stephens

WHY IS HAMBURG A GREAT PLACE TO LIVE AND WORK_ (3)

Artificial intelligence (AI) has made a huge impact in web development, frontend developer jobs and artificial intelligence jobs.

This is not a case of artificial intelligence vs web development; they have to work together.

Artificial intelligence in web development/web design is becoming more and more common and theĀ impact of artificial intelligence on web development is clear.

We held a webinar about this exact topic withĀ Francisco Ramos, Expert Frontend UI Developer atĀ Move Digital AG, andĀ Charles Ahmadzadeh, Co-founder ofĀ Bunch.ai.

They both gave us their views on if artificial intelligence can design websites and how it is going to fit in frontend and web development (you can watch that webinarĀ hereĀ or watch directly below).

By the end of this article, you’ll know the benefits ofĀ artificial intelligence (AI) in frontend development, where it’s already being implemented and what the future holds for the technology.

Keeping ahead of the curve in the technology industry allows you to better serve your customers, clients or employer.

Lucky for you, that’s exactly what I’m going to share with you in this article:

When will artificial intelligence (AI) replace web development & frontend developers?

Let’s get into it:

Artificial intelligence (AI) is already assisting with the design of websites.

Before we get too far into this, I think it’s important to say:

The most important thing to consider for a website is how easy can the user find the information they’re looking for.

It’s as simple as that.

Websites have become more and more complicated as times goes on, but the most important factor is still the user experience.

Artificial intelligence (AI) should be used to enhance the user experience or reduce the frontend developers workload, not complicated things.

Frontend development is advancing at a quick rate andĀ artificial intelligence (AI) is helping fuel this, especially with making developers more productive.

For example:

Have you heard ofĀ Sketch2Code?

This tool from Microsoft claims toĀ “Transform any hands-drawn design into a HTML code with AI.”

Pretty cool, right?

Sketch2CodeĀ detects design patterns, understands written text, understands the structure then builds HTML.

You can see something very similar in action here:

The difference in the GIF above is that this is happening LIVE! I’m sure I don’t need to tell you how this could potentially save a lot of time for developers.

It could also open up the door for more design-focused people to get involved with web development early on in the process.

Does Sketch2Code and other similar tools mean that artists and design-focused individuals are going to start building/designing websites more and more?

User experience needs to be considered of course, and there are certain aspects of websites that users have come to expect, but it’s still interesting to think about.

Artists and designers will certainly have a different idea on how a website should look, which might be perfect for fashion or design brands who are trying to stand out against the competition.

Looking at languages and programs that are falling out of favour is an interesting way to see where the technology industry is heading. We decided to take a deep dive into PHP and explore the future of it.

You can read that articleĀ hereĀ or watch the full webinarĀ here.

But, back toĀ artificial intelligence, did you know:

Artificial intelligence (AI) can help detect bugs too.

A group fromĀ Microsoft Research, along with Cambridge University, set out to create a model that would detect bugs that no compiler or inter-unit test would be able to find.

The DeepCoder is a data generation strategy which models the input-output sets and algorithms for searching over program space – the model is able to write code and learn from a small description of the problem.

Here’s how it works:

You feed the machine a small description of the problem and it will write a few lines of code and try to solve said problem.

Though there are some big limitations with this process: the machine can only write in lines of code. Also, there are other experiments that all come with huge limitations, which are not reliable enough to write production work.

Pretty interesting stuff, and the model will only continue to improve with huge corporations like Microsoft and Cambridge University working on it.

Did you know artificial intelligence plays a major part in healthcare too? Teamed up with blockchain it can be a formidable force. We take a look at this topic in more depthĀ here.

Artificial intelligence isn’t only limited to web development though:

Artificial intelligence is an important part of user experience as well.

Let’s not forget thatĀ artificial intelligence can also be used to enhance the user experience.

I’m sure you’ve all seen one of these pop up at some point in the past week?

Chatbots have been integrated into websites for a while now to simplify peoples experience on websites.

They can direct people to different areas of the website, answer FAQ’s and connect you to the employee who can best help you.

A great example of this isĀ Roof AI:

The user has received a quick and easy service, and the employee has been sent a lead directly with information attached.

What more could you want?

Artificial intelligence aiding user experience has a lot of room for growth as well, which we’ll talk a little bit more about later on.

But on the other hand:

AI cannot replace frontend developers in specific tasks.

The main question here is whetherĀ artificial intelligenceĀ could replace frontend developers, which is really asking whether AI could write code.

There are a few examples which help put this idea into context:

Andrej Karpathy, the director of artificial intelligenceĀ and Autopilot Vision at Tesla trained a multi-layer Recurrent Neural Network (RNN). Andrej used an entire Linux repo on Github and compacted the data onto a single, giant file – 500MB of C code to be specific.

He then ran a few key functions.

With everything in place, including the variable parameter, conditional loop, property indentation, the model functioned adequately. Although he found some mistakes and it didn’t do anything useful, the code did look quite good

Pretty good start.

Francisco Ramos elaborates on the limitations of the model above created byĀ Andrej Karpathy:

“Software developing requires a good understanding of the problem and the business; essentially it requires intuition.

We know machines are very good at finding patterns and humans have no chance when competing against machines in infrequent, high-volume tasks but when it comes to solving a problem it hasn’t seen before; machines don’t perform well.”

Francisco doesn’t think that machines will be able to develop intuition and the ability to interpret business values or features.

“I’m certain that machines will evolve to write code one day, although I do not know how reliable this will be.” says Francisco.

It’s important to not forget that machines will take our code as a reference and will help us along with our workflow. Which means developers will always be needed for that initial input.

This further strengthens the idea that AI is able to enhance frontend development, rather than replace it.

So, the question remains:

What does this mean for frontend developers?

It wouldn’t be a bad idea to actually learn about artificial intelligence and machine learning.

Francisco says that he has used the framework Tensorflow.js in a few personal projects already.

“Tensorflow.js can be used to import models and build and train outside browsers; but it’s also used in building and training, right in the browser using the user GPU.” says Francisco.

Why would you need machine learning models in the browser instead of in the server-side?

“It is GDPR friendly as data never needs the browser; there is no need to send any data to the server (providing better user experience).” says Francisco.

Imagine the browser has access to all kinds of sensors today on user input, this would be a great source of user input to play with.

You could basically interact with a website by just gesturing, thanks to the library.

With Tensorflow.js projects, you don’t need to install a heavy libraries framework, compiler, and interpreters. It’s all in the browser.

Here’s the deal:

Frontend developers should keep an eye out on how the latest technologies are evolving; it is part of the job to be up to date with the evolving technologies – you’ll be replaced quickly if you don’t.

The pace it can happen at can sometimes be scary.

But you’re probably wondering:

What is the future ofĀ artificial intelligence, frontend and web development?

Charles told us “In a couple of years, websites will become even more adaptable and will be able to understand the personalities and emotions of their users when they interact.”

The website will eventually be able to adapt to these emotions to deliver either a better experience, but also from a business perspective, this will allow for an optimised conversion rate through different funnels.

This is crazy.

It’s also worth noting that a lot of people believeĀ artificial intelligence is going to actuallyĀ createĀ more jobsĀ instead of replacing humans:

In the end, if a company is using certain technology, there should be a reasoning behind it; it shouldn’t just be becauseĀ artificial intelligence is impressive.

This is one of the paths where technology will go, in providing a clear route on investment for a company that would deploy this in their frontend.

However, there is a problem that is very frequent and has been yet to be solved.

This is the problem of software estimates in predicting bugs and risks.

Machine learning could actually be very useful for this problem, in not necessarily replacing predictions but by providing additional data points so that software engineers could make more informed decisions to estimate a user story.

If we were able to, we could map out how much code would be needed to be built for a user story and how we’d understand this in the context of the company or the team building the product.

Again, this is about tailoring and customising the experience to the user who is using the algorithm in this context. This could actually help developers better estimate, and going beyond estimates, helping with their ability to predict the impact on the maintainability of the codes.

I’ve seen a lot of responses saying that artificial intelligence will never replace frontend development. However, there are lots of ideas on where it could go in the future to help frontend developers.

Personally, I don’t see a future where developers won’t have a job, but I do see a future where AI will allow them to create better user experiences. In the future, AI will allow developers to have more time to explore other parts in their development process.

A company hiring for anĀ artificial intelligence position usually face 4 BIG problems, which I talk more about in thisĀ article. Often time is wasted, they’re looking in the wrong places or there are issues with ethics.

WATCH THE FULL WEBINAR HERE: