DEV Community

Discussion on: Feels like I am slow at programming. What do you suggested to improve that?

Collapse
 
cmuralisree profile image
Chittoji Murali Sree Krishna • Edited

First thing don't think you are slow

just try practicing it more often try new ways, everyone can't be einstien or sundar pichai,
just it takes time at the begining, no one striaght up become a professional,

at the start i use take a day for creating a simple web project, but my batchmates they might be doing it hours bcz it depends on there learning curve and grip on the language,

but i kept practicing by creating a new projects day by day, now i can definately outrate my batchmates in web-dev,

if you think you are slow then you are in a wrong learning curve, or you might be new to that language

try improving a better learning curve, learn the shortcuts in it, don't just keep stick with basics

for example:

basic way of writing function in html

<body>
<p onclick="myFunction()">Click me</p>
<script>
myFunction(){
document.body.style.backgroundColor = "red";
}
</script>
</body>

Enter fullscreen mode Exit fullscreen mode

the other way is arrow function

<body>
<p id="demo">Click me.</p>

<script>
document.getElementById("demo").addEventListener("click",  ()=>{
document.body.style.backgroundColor = "red";
});
</script>
</body>
Enter fullscreen mode Exit fullscreen mode

both the methods have there own pros and cons, but one is faster than other it depends on your way of learning