DEV Community

Tahir Rafique
Tahir Rafique

Posted on

How to build logic in programming.

  1. Understanding Data-Flow.
    (dry run on notebook)

  2. Follow 90-10% teaching technique.
    (let's say you're building a project, watching a YouTube tutorial or doing coding along someone at college, you won't learn in this way, until he/she give you homework for 10% to build something new in this previous project)

  3. Todos: build it dude anyway.
    (it's essential to build todos for logic building for a beginner. try different methods to build todos, slowly increase complexity of todos, after CRUD in todos introduce [search, filter] functionality in it)

  4. Add value to a Project.
    ( add a new feature/functionality to a previous project)

Top comments (1)

Collapse
 
tahir_rafique profile image
Tahir Rafique

1.breakdown problem
2.dry run
3.learn to use pseudo code
4.flowcharts
5.code everyday

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay