Skip to content
Getting StartedChapter 3 / 57Beginner5 min read

When to Learn What

Junior vs senior developer practices ka roadmap. Beginner, production developer aur senior kis practice par focus karein, aur kis order mein seekhein.

On this page

1. Yeh practice kya hai?

Is course mein 57 chapters hain. Beginner agar pehle hafte mein migrations, multi-tenancy aur supply chain security parhe to kuch bhi yaad nahi rahega. Yeh chapter ek roadmap hai: kaunsi practice kab.

Teen levels hain:

LevelKaunMain sawal
BeginnerPehla saal, learning projects"Kya mera code parhne layak hai?"
Production developerTeam mein real users ke liye code"Kya mera code safe, testable aur maintainable hai?"
SeniorDesign aur review ka zimmedar"Kya system aur team sahi direction mein hain?"

2. Kyun zaroori hai?

Har practice ek problem solve karti hai. Jab tak woh problem aap ne dekhi nahi, practice bekaar ka bojh lagti hai. Isi liye order ahem hai.

Sab kuch ek saathLevel ke hisaab se
Rules yaad, lekin wajah samajh nahi aayiHar rule us waqt aaya jab problem saamne thi
Chhote project par heavy architectureProject ke size ke mutabiq practices
Overwhelm ho kar seekhna chhor diyaHar stage par chhoti jeet, confidence barhta hai
Interview mein buzzwords, kaam mein kuch nahiHar practice ka asli tajurba

3. Kab follow karein?

LevelKitna zarooriKyun
Learning projectClean Code section ki aadatNaming, chhote functions aur early returns har code mein kaam aate hain
Production codeTypes, API, database, security aur testing bhiAb galti ka asar users aur data par hai
Senior levelArchitecture, trade-offs aur team workflowSenior doosron ke liye raasta banata hai

4. Bura vs acha code

Ek hi chhota kaam teen levels par kaisa dikhta hai. Task: user ko id se load karna.

Beginner level par focus: naam, braces, early return.

ts
async function load(id: string) {
  const user = await db.user.findUnique({ where: { id } });

  if (!user) {
    throw new Error(`User ${id} not found`);
  }

  return user;
}

Production level par focus: input validation, typed result, logic service mein.

ts
export async function GET(request: Request, ctx: RouteContext<"/api/users/[id]">) {
  const { id } = userParamsSchema.parse(await ctx.params);

  return Response.json(await users.find(id));
}

Senior level par focus: authorization, tenant scoping, aur yeh ke team ka har handler isi shape mein ho.

ts
export async function find(caller: Caller, id: string) {
  const user = await db.user.findFirst({ where: { id, orgId: caller.orgId } });

  if (!user) {
    throw new NotFoundError("user");
  }

  return user;
}
Farq kya hai?BeginnerProductionSenior
FocusCode saaf hoCode safe aur layered hoPoora system consistent aur secure ho
SawalNaam sahi hai?Input check hua?Kya doosre org ka user leak ho sakta hai?

5. Kaise apply karein?

Stage 1: Beginner (pehle 3 se 6 mahine)

Stage 2: Production developer

Stage 3: Senior

Roadmap
Clean Code ki aadat
Types aur service layer
API, database aur security basics
Testing aur code review
Architecture, tenancy aur production readiness

6. Exceptions aur common mistakes

Yeh roadmap guide hai, jail nahi. Agar aapki pehli job mein hi migrations likhni hain to wahi chapter pehle parhein. Kaam ki zaroorat order ko badal sakti hai.

Galati: Senior topics pehle parhna kyunki woh impressive lagte hain

Why? Bunyad ke bina architecture patterns sirf naam reh jate hain aur chhote project ko bhaari bana dete hain.

Behtar: Pehle naming, functions aur flow pakka karein. Architecture tab samajh aata hai jab ganda code khud dekh liya ho.

Galati: Beginner level ko kabhi chhorna hi nahi

Why? Sirf saaf code kaafi nahi, production mein security, validation aur tests ke bina code khatarnak hai.

Behtar: Pehli team join karte hi Stage 2 shuru karein.

Galati: Senior hone ka matlab har rule sakhti se lagana samajhna

Why? Senior ka asli kaam trade-off samajhna hai, andhi sakhti team ko slow kar deti hai.

Behtar: Har rule ki wajah batayein aur jahan wajah lagu na ho wahan exception allow karein.

7. Pehle aur baad mein kya seekhein?

StageTopics
PehleIntroduction, Core Philosophy
Baad meinSelf-Documenting Code, phir Clean Code section order mein

Final quick revision

LevelFocus
BeginnerNaam, flow, chhote functions, constants, secrets, Git
ProductionTypes, service layer, validation, errors, tests, review
SeniorArchitecture, authorization, migrations, performance, readiness
OrderProblem pehle dekho, practice phir samajh aati hai