43
leksyib
6y

Tonight is the strangest night ever. I was coding for 2hours straight then I ran the code later and it worked fine.😰

Comments
  • 2
    2 hour straight? What were you coding? I write some piece of code then test it then write some more then test it. How could you maintain remembering such level of files, modules etc that you created in that 2hours.
  • 3
    @shahidcodes Experience and a clear mind. I can easily work for 2 days before testing, because I know what I'm doing
  • 1
    @shahidcodes it's an API codebase, so it's not a visual thing. All I was doing was adding the new routes and implementing controllers for the routes. Maybe I'm too comfortable with node.js to be writing API endpoints without testing immediately.😄
  • 0
    @besplash welcome to devRant!
  • 0
  • 1
    @leksyib why not use a generator for endpoints and controller etc?
  • 1
    @besplash wow that's great 🔥🔥🔥
  • 2
    @shahidcodes It took me a long time to properly develop like that. If you throw me into any completely new stuff though, I'm testing every few minutes too. I guess that's just how it is
  • 2
    Morpheus: "He's the one !"
  • 1
    @shahidcodes I've never seen a generator that can set up routes and controllers for me. Will make a search now though
Add Comment