DEV Community

Siddharth
Siddharth

Posted on

On HTML

Just a few days ago, my Angular CLI broke, and I was forced to code some stuff in plain old HTML – No transpiling, no compiling, no build tools other than my hands on the keyboard.

It was a simple task, but I was bent on building it in Angular. But I couldn't and had to write it in plain HTML.

This made me think – If I had used Angular for such a small task,

  • The code would be wayyyy bigger, because of all the Angular stuff
  • I'm 99% sure that it would have taken wayyyy more time to build – It almost felt like I wrote the app in HTML in the same time it takes for Angular to create a project using ng new 😃

Writing HTML felt tremendously liberating. It felt nice to write the actual HTML, CSS, and JavaScript which will be delivered to the end users.

Don't get me wrong – I absolutely recognize why complex pipelines are important for complex websites. If you're part of a big group, you in all likelihood want to have processes in place so that everyone can contribute to the codebase in a consistent way.

But that setup isn’t appropriate for each website. And all those equipment and techniques which are supposed to save time every now and then waste time down the road. Ever had to revisit a project after, say, six or twelve months? Maybe you just want to make one little change to the CSS. But you can’t because a dependency is broken. So you try to update it. But it relies on a different version of Node. Before you know it, you’re Bryan Cranston changing a light bulb. You should be tweaking one line of CSS but instead, you’re battling entropy.

I think we should cut down. No more weighty node_modules; just crispy HTML, CSS and JavaScript

Top comments (4)

Collapse
 
shaijut profile image
Shaiju T

Hello Siddharth, Nice :) Can you share your coding journey , When you started , the age ?, What did you learned first html , CSS , JS or something else ? Did you made any mistakes in learning journey and you want to guide other programmers not repeat it ? Curious to know. :)

Collapse
 
siddharthshyniben profile image
Siddharth

I started at age 9. Learnt HTML first, jumped into CSS, then JavaScript, then Angular.

I definitely made thousands of mistakes, especially just copy pasting from tutorials instead of learning. I don't think I can provide any guidance since I'm still learning 😸

Collapse
 
shaijut profile image
Shaiju T

Nice , Do you think age 9 is suitable to learn programming or should be learned later ?

Thread Thread
 
siddharthshyniben profile image
Siddharth

Personal preference. If coding seems interesting to you, go ahead! Nobody is stopping you. At the same time you shouldn't force yourself to learn to code because it is "the future" (*cough* whitehatjr *cough*)