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
🔹 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
👍13❤1🔥1
Local HTTPS
Bazi web apilar faqat httpsda ishlaydi, shunaqa paytlarda httpsni localhostda kotarish kerak bolib qoladi. Buning uchun local-ssl-proxy va mkcert larni ishlatishimiz mumkin:
https://github.com/cameronhunter/local-ssl-proxy
https://github.com/FiloSottile/mkcert
Bazi web apilar faqat httpsda ishlaydi, shunaqa paytlarda httpsni localhostda kotarish kerak bolib qoladi. Buning uchun local-ssl-proxy va mkcert larni ishlatishimiz mumkin:
https://github.com/cameronhunter/local-ssl-proxy
https://github.com/FiloSottile/mkcert
GitHub
GitHub - cameronhunter/local-ssl-proxy: Simple SSL HTTP proxy using a self-signed certificate. Intended for local development only.
Simple SSL HTTP proxy using a self-signed certificate. Intended for local development only. - cameronhunter/local-ssl-proxy
1🔥14👍5
Forwarded from Ustoz Kundaligi
2 ой ишсиз юрдим
Ич-ичимдан ўйлардим. Мен ҳеч қачон ишсиз қолмайман.
Мабодо ишсиз қолсам ҳам:
а) Инглиз тили билан «любой» жойга кириб кетаман;
б) Диплом балим 96%. Давлат ишхоналари шундоқ ишга олади;
с) Иш тажрибага эгаман, умуман муаммо бўлмайди;
д) Рус тилини мулоқот даражасида биламан, талаб юқори;
э) Блогим бор. 1000 тача одам ўқийди;
ф) Амакимга алоқага чиқаман, мактабга жойлаб қўяди;
ҳ) Ўлдим деганда, устозларимга ёзаман — иш топиб беради.
Хуллас, ҳамма сабаблар бор. Ҳеч ким мени тўхтатиб қололмайди!
Ичимда ўйлаган кун келди. Бирдан ишсиз қолдим:
а) Инглиз тили мактаблари тўлган;
б) Диплом баҳойим билан итам қизиқмади;
с) Қаерларда ишлагансан дейдиган одам йўқ;
д) Рус тилини идеал билиш керак дейишди;
э) Блогимда ёздим. Ёрдам бўлмади;
ф) Амаким ишга жойлай олмади;
ҳ) Устозлар дуо қиламиз деёлди холос..
2 ой қийналдим. Қарзга ботдим. Эркак киши ишсиз қолиши азоб экан..
Охири тушундим — обрўли жойда ўқишим, яхши жойларда ишлашим, хуллас барчаси — тиришқоқлигимдан эмас, балки Аллоҳнинг раҳматидан экан.
Биз унутувчимиз. Сабаблар билан ўралашиб қоламизда, барча нарсанинг ортида Аллоҳ турганини эсдан чиқарамиз. Ўзим эришяпман деган ҳиссиёт ўтади.
а, б, с, д... алфавит тўла сабаб бўлмайдими — Аллоҳ изн бермаса бир тийн экан.
Сиз ишонаётган — амаки, тоға, амма. хола, оппоқ дода ёрдам беришга қодир эмас. Ишонаверинг.
Охири синиқлик билан таҳажжудда дуо қилдим.
Бирдан йўлим очилди. Бир нечта жой ишга чақиришни бошлади. Ҳаммаси жойига тушди.
Хулоса, дунёнинг илми сизда бўлса ҳам, 20 йиллик мутахассис бўлсангиз ҳам, 88 та тил билсангиз ҳам — Аллоҳ изн бермаса бир тийн.
Ва уларга: «Сизлар Аллоҳни қўйиб ибодат қилиб ўтган бутларингиз қани?!
Улар сизларга ёрдам бера олурми ёки ўзлари ёрдам ола билурми?!», дейилди.
Шуъаро (92,93)
@Ustoz_kundaligi
Ич-ичимдан ўйлардим. Мен ҳеч қачон ишсиз қолмайман.
Мабодо ишсиз қолсам ҳам:
а) Инглиз тили билан «любой» жойга кириб кетаман;
б) Диплом балим 96%. Давлат ишхоналари шундоқ ишга олади;
с) Иш тажрибага эгаман, умуман муаммо бўлмайди;
д) Рус тилини мулоқот даражасида биламан, талаб юқори;
э) Блогим бор. 1000 тача одам ўқийди;
ф) Амакимга алоқага чиқаман, мактабга жойлаб қўяди;
ҳ) Ўлдим деганда, устозларимга ёзаман — иш топиб беради.
Хуллас, ҳамма сабаблар бор. Ҳеч ким мени тўхтатиб қололмайди!
Ичимда ўйлаган кун келди. Бирдан ишсиз қолдим:
а) Инглиз тили мактаблари тўлган;
б) Диплом баҳойим билан итам қизиқмади;
с) Қаерларда ишлагансан дейдиган одам йўқ;
д) Рус тилини идеал билиш керак дейишди;
э) Блогимда ёздим. Ёрдам бўлмади;
ф) Амаким ишга жойлай олмади;
ҳ) Устозлар дуо қиламиз деёлди холос..
2 ой қийналдим. Қарзга ботдим. Эркак киши ишсиз қолиши азоб экан..
Охири тушундим — обрўли жойда ўқишим, яхши жойларда ишлашим, хуллас барчаси — тиришқоқлигимдан эмас, балки Аллоҳнинг раҳматидан экан.
Биз унутувчимиз. Сабаблар билан ўралашиб қоламизда, барча нарсанинг ортида Аллоҳ турганини эсдан чиқарамиз. Ўзим эришяпман деган ҳиссиёт ўтади.
а, б, с, д... алфавит тўла сабаб бўлмайдими — Аллоҳ изн бермаса бир тийн экан.
Сиз ишонаётган — амаки, тоға, амма. хола, оппоқ дода ёрдам беришга қодир эмас. Ишонаверинг.
Охири синиқлик билан таҳажжудда дуо қилдим.
Бирдан йўлим очилди. Бир нечта жой ишга чақиришни бошлади. Ҳаммаси жойига тушди.
Хулоса, дунёнинг илми сизда бўлса ҳам, 20 йиллик мутахассис бўлсангиз ҳам, 88 та тил билсангиз ҳам — Аллоҳ изн бермаса бир тийн.
Улар сизларга ёрдам бера олурми ёки ўзлари ёрдам ола билурми?!», дейилди.
Шуъаро (92,93)
@Ustoz_kundaligi
👍75❤11🔥7
👍15❤3
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
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🔥5❤1
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
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
Qaysi stackda ishlaysiz?
Anonymous Poll
18%
Backend (node)
54%
Frontend (react)
13%
Full stack (node/react)
15%
Boshqa
👍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
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👍3❤1
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?
- 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🔥3❤1
Tailwind CSS v4.0da qo’shilayotgan o’zgarishlar bilan tanishib chiqamiz
https://tailwindcss.com/docs/v4-beta
https://tailwindcss.com/docs/v4-beta
Tailwindcss
Installing with Vite - Installation
Integrate Tailwind CSS with frameworks like Laravel, SvelteKit, React Router, and SolidJS.
👍8🔥2
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
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👍12❤1
Chet el kompaniyalaridagi frontend interviewlari haqida yaxshi malumotlar beribdi
https://www.greatfrontend.com/front-end-interview-guidebook
https://www.greatfrontend.com/front-end-interview-guidebook
GreatFrontEnd
Front End Interview Playbook | GreatFrontEnd
The definitive guide to preparing for Front End Interviews, written by the author of Front End Interview Handbook
🔥8👍5