Muhammad Ghulam Azad Ansari

308 posts

Muhammad Ghulam Azad Ansari banner
Muhammad Ghulam Azad Ansari

Muhammad Ghulam Azad Ansari

@MdGhulamAzad

Software Developer LinkedIn: https://t.co/YZf16Tt5tq Github: https://t.co/8T9IlqIFWR

India Katılım Şubat 2018
31 Takip Edilen38 Takipçiler
Muhammad Ghulam Azad Ansari
Saw a senior frontend codebase recently. Everything used var No let or const It works, but has issues No block scope, variables leak Hoisting gives undefined Re-declaration overwrites Use const Use let What did you unlearn? #JavaScript #Frontend #CleanCode
English
0
0
1
15
Muhammad Ghulam Azad Ansari
Go’s error handling makes you deal with failure every step. “if err != nil” is repetitive, but you can’t ignore errors by accident. I’ll take that over exceptions breaking things somewhere else. #Golang #Programming #DevLife
Muhammad Ghulam Azad Ansari tweet media
English
0
0
1
18
Muhammad Ghulam Azad Ansari
Honestly, side projects taught me more than my first couple years at work. Not because the code was better, but because every decision was on me, no tickets, no seniors, no patterns to copy. You quickly learn why structure matters… and why “I’ll add auth later” is a lie. #Dev
Muhammad Ghulam Azad Ansari tweet media
English
0
0
0
6
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
Spent 3 hours debugging a prod issue last week. Root cause? A variable named “data” shadowing another “data” from outer scope. No errors. No warnings. Just silently wrong output. Please give variables real names. “data”, “temp”, “obj” aren’t names, they’re apologies. #DevLife
Muhammad Ghulam Azad Ansari tweet media
English
0
0
0
11
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
Took me way too long to discover python's zip() and i'm still a little annoyed about it. instead of tracking indexes manually like some kind of animal, you can just do: for name, score in zip(names, scores): print(name, score) clean, readable, no off-by-one errors #Python
Muhammad Ghulam Azad Ansari tweet media
English
0
0
0
4
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
Junior devs: Your first year as a developer isn't about writing perfect code. It's about asking better questions. What problem are we solving? Has this already been solved? What breaks if I'm wrong? The fastest-growing engineers aren't the loudest. They're the most curious.
English
0
0
0
2
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
Rust's borrow checker isn't the hard part. The hard part is unlearning every shortcut you got away with in other languages. No more "I'll just clone it." No more "this pointer is definitely still valid." No more silent data races. Rust doesn't trust you. After years of C++ bugs.
Muhammad Ghulam Azad Ansari tweet media
English
0
0
0
2
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
Most devs overlook curl’s most useful flag: curl -w "\n%{time_total}s" -o /dev/null -s yourapi.com/healthIt shows how long a request took. No browser. No Postman. Drop it into a script for a quick latency check. The best tools are already on your machine. #DevTools #Terminal
Muhammad Ghulam Azad Ansari tweet media
English
0
0
0
16
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
TCP is a phone call. Both sides connect, every word arrives, order is guaranteed. UDP is shouting across a room. Fast, no confirmation, some words may be lost. Use TCP for banking. Use UDP for games and live video. Speed vs. reliability — pick one. #ComputerScience #Networking
Muhammad Ghulam Azad Ansari tweet media
English
0
0
0
14
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
@maheshnani122 I’d go with Go — biased since I’m a Golang backend dev 😄 Used Java, Node.js, and Python — all solid: Java for large systems Node.js for fast builds Python for data work Go is simple, fast, and great for microservices. “Best” depends on the use case 🚀
English
0
0
2
668
Mahesh Nani
Mahesh Nani@maheshnani122·
Best backend language right now? - Java - Node.js - Go - Python
English
126
6
188
44K
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
@saen_dev Yeah @saen_dev, 100% agree. Similarity gets you in the ballpark, not the exact answer. That “cat vs dog” problem shows up a lot with pure vector search. Hybrid + reranking is usually what makes it actually useful in real systems. Glad you pointed that out.
English
0
0
0
4
Saeed Anwar
Saeed Anwar@saen_dev·
@MdGhulamAzad Clean explanation. The part people miss: similarity ≠ correctness. "cat" and "dog" are close in vector space, but in a search system, that's often the wrong answer. Hybrid + reranker is the real unlock.
English
1
0
1
12
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
Vector embeddings, minus the jargon: Words, images, and code can be turned into numbers. Similar things get similar numbers. "cat" and "kitten" end up close. "cat" and "database" end up far. That’s how search, recommendations, and RAG work. Similarity is just distance in disguise
Muhammad Ghulam Azad Ansari tweet media
English
1
0
1
9
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
CAP theorem, simply: You can only guarantee 2 of 3: Consistency — latest data Availability — always responds Partition tolerance — survives network splits Partitions aren’t optional. So it’s CP or AP. Pick the tradeoff before prod does. #SystemDesign #DistributedSystems
English
0
0
1
7
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
The most dangerous line in any codebase: "We'll add tests later." Later never comes. Later becomes a 3-year-old TODO. Later becomes a prod outage. Tests aren't slow. Rewriting broken code is. Write the test first. Or right after. Never later. #SoftwareEngineering #CleanCode
English
0
0
1
13
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
Java devs — Optional isn’t just a null check. Stop doing: if (optional.isPresent()) { return optional.get(); } Do this: optional .map(User::getEmail) .filter(email -> email.endsWith(".com")) .orElse("unknown") Chainable. Readable. No NPEs. That’s what Optional was built for.
Muhammad Ghulam Azad Ansari tweet media
English
0
0
1
5
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
Logging in production ≠ debugging.Too many devs: → Log everything in dev → Log nothing in prod → Then spend 4 hours diagnosing incidentsAlways log: → External API calls + latency → Unhandled exceptions with context → Auth failuresObservability is a feature. Ship it.
Muhammad Ghulam Azad Ansari tweet media
English
0
0
0
7
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
WebAssembly is the most important browser tech nobody's talking about. It lets you run C, Rust, and Go at near-native speed — inside a tab. This already matters: → Figma's renderer → Google Earth → SQLite in the browser The web is becoming a runtime. Act accordingly. #WebDev
Muhammad Ghulam Azad Ansari tweet media
English
0
0
0
19
Muhammad Ghulam Azad Ansari
Muhammad Ghulam Azad Ansari@MdGhulamAzad·
You don’t have a scaling problem. You have a premature optimization problem. Most apps don’t need: → Kafka → Kubernetes → Microservices → Distributed cache Postgres handles millions of rows just fine. Build boring. Scale when it hurts—not when it looks cool. #SystemDesign
Muhammad Ghulam Azad Ansari tweet media
English
0
0
1
8