Dev thinking loud
1.68K subscribers
119 photos
8 videos
3 files
321 links
Dasturlash boyicha video darslar, subyektiv fikrlar, kundalik misollar, bahsli mavzular.

Youtube kanal: https://www.youtube.com/@ravshansbox

Muallif: @ravshansbox
Download Telegram
Did you know that Node.js has:

🔹 Default TypeScript Support
Now, you can use TypeScript out of the box without needing a separate compiler. Write TypeScript directly in your code with ease.

🔹 Built-in Testing Framework
Node.js now includes its own testing framework. Test your code without the need for extra libraries, making the testing process more straightforward and efficient.

🔹 Continuous Watch Mode
No need for nodemon! Simply use node -watch <starterFileName>, and Node.js will automatically reload your code with every change.

🔹 Dotenv File Support
Environment variables are now supported natively. Just specify the file location, and you’re good to go – no need for the dotenv package.

🔹 Top-Level Await
No more wrapping await in async functions. You can now use await at the top level, making asynchronous code simpler and cleaner.

🔹 Browser-Based Debugging
Debug Node.js code directly in the browser, similar to frontend debugging. This feature significantly improves the debugging experience.

Source: linkedin
👍19🔥2
11_Smart_Ways_To_Say_No_To_Your_Boss.pdf
75.9 MB
Boshqaruvga yo'q deyishning "chiroyli" usullari
👍131🔥1
Forwarded from Ustoz Kundaligi
2 ой ишсиз юрдим

Ич-ичимдан ўйлардим. Мен ҳеч қачон ишсиз қолмайман.

Мабодо ишсиз қолсам ҳам:

а) Инглиз тили билан «любой» жойга кириб кетаман;
б) Диплом балим 96%. Давлат ишхоналари шундоқ ишга олади;
с) Иш тажрибага эгаман, умуман муаммо бўлмайди;
д) Рус тилини мулоқот даражасида биламан, талаб юқори;
э) Блогим бор. 1000 тача одам ўқийди;
ф) Амакимга алоқага чиқаман, мактабга жойлаб қўяди;
ҳ) Ўлдим деганда, устозларимга ёзаман — иш топиб беради.

Хуллас, ҳамма сабаблар бор. Ҳеч ким мени тўхтатиб қололмайди!

Ичимда ўйлаган кун келди. Бирдан ишсиз қолдим:

а) Инглиз тили мактаблари тўлган;
б) Диплом баҳойим билан итам қизиқмади;
с) Қаерларда ишлагансан дейдиган одам йўқ;
д) Рус тилини идеал билиш керак дейишди;
э) Блогимда ёздим. Ёрдам бўлмади;
ф) Амаким ишга жойлай олмади;
ҳ) Устозлар дуо қиламиз деёлди холос..

2 ой қийналдим. Қарзга ботдим. Эркак киши ишсиз қолиши азоб экан..

Охири тушундим — обрўли жойда ўқишим, яхши жойларда ишлашим, хуллас барчаси — тиришқоқлигимдан эмас, балки Аллоҳнинг раҳматидан экан.

Биз унутувчимиз. Сабаблар билан ўралашиб қоламизда, барча нарсанинг ортида Аллоҳ турганини эсдан чиқарамиз. Ўзим эришяпман деган ҳиссиёт ўтади.

а, б, с, д... алфавит тўла сабаб бўлмайдими — Аллоҳ изн бермаса бир тийн экан.

Сиз ишонаётган — амаки, тоға, амма. хола, оппоқ дода ёрдам беришга қодир эмас. Ишонаверинг.

Охири синиқлик билан таҳажжудда дуо қилдим.

Бирдан йўлим очилди. Бир нечта жой ишга чақиришни бошлади. Ҳаммаси жойига тушди.

Хулоса, дунёнинг илми сизда бўлса ҳам, 20 йиллик мутахассис бўлсангиз ҳам, 88 та тил билсангиз ҳам — Аллоҳ изн бермаса бир тийн.

Ва уларга: «Сизлар Аллоҳни қўйиб ибодат қилиб ўтган бутларингиз қани?!

Улар сизларга ёрдам бера олурми ёки ўзлари ёрдам ола билурми?!», дейилди.

Шуъаро (92,93)


@Ustoz_kundaligi
👍7511🔥7
Lessons learned after years in Software Development 💡

1️⃣ Master the basics first
Early on, I focused too much on shiny new frameworks. Over time, I realized that having strong core JavaScript skills makes everything else easier. Frameworks change, but the fundamentals don’t.

2️⃣ Talk to people, not just your computer
Tech is a team sport. Whether it’s brainstorming with teammates or explaining things to non-technical stakeholders, good communication can make or break a project.

3️⃣ Never stop learning
Technology moves FAST. I make it a habit to spend time each week learning something new—whether that’s improving my AWS skills or diving deeper into how AI can power apps.

4️⃣ Mistakes are okay
I used to worry about getting everything perfect. Now I know: mistakes are just part of the process. Every bug or failed deployment teaches you something new.

5️⃣ Automate the boring stuff
Whether it’s setting up CI/CD pipelines or writing scripts to handle repetitive tasks, automation has saved me tons of time—and headaches!

6️⃣ Write code for humans, not machines
Fancy, over-optimized code might seem impressive, but it’s no fun to debug later. Write code that your future self (or your team) will thank you for.

7️⃣ Celebrate the small wins
Whether it’s shipping a big feature, solving a tricky bug, or learning a new shortcut in your IDE—every step forward matters.

Source: LinkedIn
👍18🔥51
3 simple guidelines for better naming:

1. Classes: use nouns

class MapPaymentMethod
class PaymentMethodMapper

2. Functions and methods: use verbs

emailSend()
sendEmail()

3. Booleans: use adjectives

active
isActive

Small change → Big impact.

Source: LinkedIn
👍54🔥14
👍5
Ko’proq qaysi mavzularda post/video qo’yilishini hohlar edingiz?
Anonymous Poll
29%
HTML/CSS/Accessibility
47%
JavaScript
63%
TypeScript
50%
React
40%
Node
42%
Testing
Good developers focus on failure so the rest can focus on success

Odatda ko'p dasturchilar "success case"ga "failure case"dan ko'ra ko'proq etibor berishadi, shu sababdan kelajakda "bug"lar yoki texnik qarzlar ko'payib ketadi. Prioritetlarimizni qayta ko'rib chiqish bazan foyda berishi mumkin
🔥22👍31
Evolution of editor intelligence

- Word based completion (sublime 😁)
- LSP completion (vscode)
- Framework-aware completion (webstorm)
- Line completion (intellicode, tabnine)
- Multiline completion (copilot/claude)
- Context aware completion - adapt style to codebase (codeium)
- Multi file edits (windsurf/cascade)
- What’s next?
👍15🔥31
Dasturchi kim?

Sohamizda ko’p uchraydigan savollardan biri bu: “Dasturchi kim? Kimlarni dasturchi deyish mumkin?”. Bazan uchrab turadigan javoblar esa: “Dasturchilar mana bunday bo’ladi”, “Mana bu narsalarni bilsagina dasturchi bo’ladi”, “Mana bular aslida dasturchi emas” va hk.
Bu masalaga shaxsiy qarashimni bildirmoqchiman. Dasturlash o’zi nima? Shaxsan men uchun dasturlash bu insonlarning muammolariga IT vositalari orqali yechimlar topish, yani asosiy maqsad insonlarning muammolarini yechish (og’irini yengil qilish), yoki bor yechimlardan yaxshiroq yechim topish. Sinchiklab qaralsa, hamma muvaffaqiyatli proyektlar mana shu ishni to’gri yo’lga qo’ygan bo’ladi ko’pincha (albatta to’g’ri makon va to’g’ri zamon ham asosiy faktorlardan).
Insonlarga ularning muammolarini qaysi yo’l bilan yechganiz odatda uncha qiziq emas (qaysi til va texnologiyalarni ishlatasiz ular bilishni ham hohlashmaydi), ular uchun muhim faktorlar bor, masalan oddiylik (simplicity), tezlik (performance), erishuvchanlik (accessibility), narx (price), sifat (quality), havfsizlik (security) va hk. Albatta bu faktorlar har xil odamlar uchun har xil qiymat beradi, masalan bir guruh uchun narx asosiy faktor bo’lsa boshqasi uchun sifat yoki havfsizlik.
Muammoga to’gri yechim topish esa muammoni yaxshi tushunish bilan boshlanadi, yaxshi tushunilmasdan qilingan yechim ko’pincha boshqa muammo (yoki muammolarni) keltirib chiqaradi.
Muammoni to’liq tushunib olganimizdan keyingi muhim qadam esa bilim va tajribamizga asoslangan holda yechimlar to’plamlarini ko’zdan kechirib chiqish bo’ladi. Ko’p holatlarda muammoga birdan ko’p yechim bo’ladi va biz berilgan holatning talablaridan (requirements) kelib chiqib eng optimalini tanlashimiz (decision) va uni amalga oshirishimiz (implement) kerak.

Ilhomlanilgan trendlar:
- Frontend haqiqiy dasturlash emas
- Skriptli (yoki GCli) tillar haqiqiy til emas
- “C”ni (yoki low-levelni) bilmasdan dasturchi bo’lolmaydi
- Matematikani bilmasa dasturchi bo’lolmaydi

PS: postdan asl maqsad dasturchilarga masalani tushunishga koproq vaqt ajratishga targ’ib edi
🔥38👍121