DEV Community

How programming helps solving your real world problem

Md Abu Taher on May 15, 2018

Time, we don't have time. That's why we hire people to do our job. We don't have time so we write data on spreadsheet instead of on paper. We don't...
Collapse
 
amberbdr789 profile image
Amber Bdr. Kharka

Very informative, great work.. this is my real interest. I have just started learning javascript. Can you help where can i get this kinds of problems ? I am really interested to work with this kind of problem rather than spending lot of time in building demo projects because after all there will be still vast difference between demo projects and real projects.....
Thank you..

Collapse
 
shaiay profile image
shaiay

Obligatory xkcd
xkcd.com/1319
In which he has a point - it rarely really just takes 30 minutes ...

Collapse
 
entrptaher profile image
Md Abu Taher

I would point out reasons why it took me 30 minutes to write few lines of code. The reasons includes,

  • I was thinking about doing something on fly. Its like taking on an exam without knowing the subject before.
  • I tested regex, normal string functions and so on.
  • I had to make sure the script works on multiple situations.
  • I had to test the script several time.
  • I had to optimize the code for quality.
  • I wanted to show the benefit of programming to someone who doesn't know about it, but not how to optimize my code, since he wouldn't even understand the point of optimization at that point. etc excuses.

Though it shouldn't take 30 minutes, it's not like I did not have the time. I had plenty of time, remember total 1800 minutes? Spending 30 minutes to find out an optimized way obviously isn't much.

Even before I am replying this comment, I generalized the little script even more so it looks super simple and might feel stupid as to why I even spent so much time on it.

Collapse
 
entrptaher profile image
Md Abu Taher

Here is a final bot, took me around 3-4 hours to build it all, test everything out and optimize it. More on this with actual code will be posted soon as part two (I hope).

Collapse
 
muhimen123 profile image
Muhimen

I dis the same. And now, I hosted the app on a server and collecting a ton of data from dev.to for my next research.