Forwarded from ⚝ (ZiZiGuLu)
Forwarded from ASafaeirad
Stop using barrel file
Read the article
If you are using Vite you can use this plugin to debarrel your files on the build process.
#article #barrel #index #js
Read the article
If you are using Vite you can use this plugin to debarrel your files on the build process.
#article #barrel #index #js
tkdodo.eu
Please Stop Using Barrel Files
Why you probably shouldn't be adding index.ts files everywhere
Forwarded from LearnPOV | لرن پی او وی (Mohammad hossein)
#javascript #vs #article
هیچ چیزی بهتر از این عکس نمیتونست فرق بین Primitive و Reference Values رو بهم نشون بده 😂
البته اینا شوخیه، اگر خواستید تفاوت این دوتا رو بهتر بدونید پیشنهاد میکنم این مقاله رو مطالعه کنید، چون هم فارسیه و هم مختصر و مفید توضیح داده ⚡
پ.ن : اگر با زبان برنامه نویسی جاوااسکریپت کار میکنید یکی از مباحث مهمی که حتما باید بدونید primitive و refrence value هستش 👌
Forwarded from ⚝ (Amir Hossein "Amiria" Maher)
GitHub
GitHub - guanyingc/latex_paper_writing_tips: Tips for Writing a Research Paper using LaTeX
Tips for Writing a Research Paper using LaTeX. Contribute to guanyingc/latex_paper_writing_tips development by creating an account on GitHub.
GitHub.com/guanyingc/latex_paper_writing_tips
نکات و پروندههایی آماده برای نوشتن لَتِخ (لِیتِک):
#LaTeX #tool #article #learn #معرفی
@amiria703_channel
نکات و پروندههایی آماده برای نوشتن لَتِخ (لِیتِک):
#LaTeX #tool #article #learn #معرفی
@amiria703_channel
Forwarded from ASafaeirad
Cognitive load is what matters
How to make good decisions as a software engineer.
https://minds.md/zakirullin/cognitive
#article #cognitive
How to make good decisions as a software engineer.
https://minds.md/zakirullin/cognitive
#article #cognitive
minds.md
Cognitive load is what matters
There are so many buzzwords and best practices out there, but let's focus on something more fundamental. What matters is the amount of confusion developers feel when going through the code.
Forwarded from ASafaeirad
Cognitive load is what matters
How to make good decisions as a software engineer.
https://minds.md/zakirullin/cognitive
#article #cognitive
How to make good decisions as a software engineer.
https://minds.md/zakirullin/cognitive
#article #cognitive
Forwarded from ASafaeirad
اینو امروز دیدم یه چیز جالبی دربارش میتونم بگم.
این صفحه رو بعد از پرداخت به زبان Dutch دیدم و فکر کردم پرداخت موفقیت آمیز نبود. برای اینکه مطمئن بشم صفحه رو ترجمه کردم و دیدم کاملا برعکس فهمیدمش.
این اتفاقی که برای من افتاد یک روش تست رابط کاربریه تجربه کاربری که ما انجام میدیم.
به روش های مختلفی میشه توضیحش داد ولی من با مفهومی به اسم Self-evident design از Steve Krug میگم.
خیلی ساده یعنی توی یک رابط کاربری خوب کاربر باید بتونه بدون فکر کردن در کمترین زمان تشخیص بده چی به چیه.
برای بهبودش ما از Visual hierarchy، رنگ ها و علائم language agnostic هست.
مثل علامت تعجبی که اونجا گذاشته که توی اکثر فرهنگ ها به معنی خطر بکار میره
یا رنگ نارجی که بخاطر برند هست اما توسط رنگ دیگه ای خنثی نشده.
درنهایت برای اینکه این خاصیت رابط کاربری رو بسنجیم از تکنیکی به اسم Blur test استفاده میکنیم
یعنی رابط کاربری رو برای استفاده کننده گنگ میکنیم و ازش میخوایم باهاش کار کنه.
یکی از روش های این تست عوض کردن زبان رابط کاربری به زبانیه که کاربر بلد نیست. که متاسفانه Ziggo تو این تست نمره خوبی نمیگیره.
#ux #article
این صفحه رو بعد از پرداخت به زبان Dutch دیدم و فکر کردم پرداخت موفقیت آمیز نبود. برای اینکه مطمئن بشم صفحه رو ترجمه کردم و دیدم کاملا برعکس فهمیدمش.
این اتفاقی که برای من افتاد یک روش تست رابط کاربریه تجربه کاربری که ما انجام میدیم.
به روش های مختلفی میشه توضیحش داد ولی من با مفهومی به اسم Self-evident design از Steve Krug میگم.
خیلی ساده یعنی توی یک رابط کاربری خوب کاربر باید بتونه بدون فکر کردن در کمترین زمان تشخیص بده چی به چیه.
برای بهبودش ما از Visual hierarchy، رنگ ها و علائم language agnostic هست.
مثل علامت تعجبی که اونجا گذاشته که توی اکثر فرهنگ ها به معنی خطر بکار میره
یا رنگ نارجی که بخاطر برند هست اما توسط رنگ دیگه ای خنثی نشده.
درنهایت برای اینکه این خاصیت رابط کاربری رو بسنجیم از تکنیکی به اسم Blur test استفاده میکنیم
یعنی رابط کاربری رو برای استفاده کننده گنگ میکنیم و ازش میخوایم باهاش کار کنه.
یکی از روش های این تست عوض کردن زبان رابط کاربری به زبانیه که کاربر بلد نیست. که متاسفانه Ziggo تو این تست نمره خوبی نمیگیره.
#ux #article
Forwarded from ASafaeirad
Linkedin
ویکی تجربه on LinkedIn: ورق بزنید... | 36 comments
فکر میکنین قلدری فقط به خیابان و محله بستنه؟؟
(لطفاً برای آگاهی دقیق مطالعه کنید)
وقتی در سازمان رفتارهایی رخ میده که باعث آزار و اذیت همکار میشه، هرچند این رفتارها غیر فیزیکی است اما بصورت عمدی و مکرر انجام میشه. این رفتارها در دل خودش خشونت و سوء استفاده…
(لطفاً برای آگاهی دقیق مطالعه کنید)
وقتی در سازمان رفتارهایی رخ میده که باعث آزار و اذیت همکار میشه، هرچند این رفتارها غیر فیزیکی است اما بصورت عمدی و مکرر انجام میشه. این رفتارها در دل خودش خشونت و سوء استفاده…
Forwarded from ASafaeirad
This was short but thought provoking.
https://gomakethings.com/minification-doesnt-matter-much/
#article
https://gomakethings.com/minification-doesnt-matter-much/
#article
gomakethings.com
Minification doesnt matter much
Years ago, I was staunchly in the “minify your code, even if you use gzip” camp. But these days, I’ve switched teams! I did some tests on the bundled version of Kelp UI. Unminifed: 58.2kb Minified: 43kb Unminified + gzipped: 8.2kb Minified + gzipped: 7.4kb…
Forwarded from ASafaeirad
How to test React components using Node.JS internal test runner
📖 Read the article
#test #nodejs #article
📖 Read the article
#test #nodejs #article
matthewbrown.io
Using the node 18+ native test runner with TypeScript and React - Matthew Brown
Node.js 18 introduced a native test runner that eliminates the need for jest, mocha or vitest in basic scenarios.
Forwarded from ASafaeirad
A Brief Introduction to Behavioral Reusability (Mostly Inheritance Model)
https://medium.com/p/a-brief-introduction-to-behavioral-reusability-mostly-inheritance-model-aaddbda1d943
#article
https://medium.com/p/a-brief-introduction-to-behavioral-reusability-mostly-inheritance-model-aaddbda1d943
#article
Medium
A Brief Introduction to Behavioral Reusability (Mostly Inheritance Model)
Code reuse has been evolving for decades, from classical inheritance to prototypes to composition. This is the story :)
Forwarded from ASafaeirad
Forwarded from ASafaeirad
DEV Community
Why CSS Is So Hard for Generative AIs to Understand?
CSS is one of those things that looks simple, until you actually try to reason about it. Most people...
I wrote another article today
Why CSS Is So Hard for Generative AIs to Understand?
Don't forget to share if you liked it
#css #ai #tailwind #article
Why CSS Is So Hard for Generative AIs to Understand?
Don't forget to share if you liked it
#css #ai #tailwind #article
Forwarded from ASafaeirad
AI Focus
dead framework theory
These are my opinions and are ruminations on what might be happening as more and more developers use LLMs and Frameworks to build on the web.
In October last year I wrote “will developers care about frameworks in the future?” predicting that LLMs would abstract…
In October last year I wrote “will developers care about frameworks in the future?” predicting that LLMs would abstract…