uz
Feedback

Firibgarlarga uchmang! Telemetrio bunday kanallarni topadi va belgilaydi πŸ‘‰ Belgini koβ€˜rmoqchi boβ€˜lsangiz, obuna boβ€˜ling

Programming & AI Tips πŸ’‘

Programming & AI Tips πŸ’‘

Kanalga Telegram’da oβ€˜tish

Programming & AI: Tips πŸ’‘ Articles πŸ“• AI & LLMs πŸ‘Ύ Design, Architecture, Principles βœ… πŸ‡³πŸ‡± Contact: @MoienTajik

Ko'proq ko'rsatish
Mamlakat belgilanmaganTexnologiyalar & Aralashmalar2 906

πŸ“ˆ Telegram kanali Programming & AI Tips πŸ’‘ analitikasi

Programming & AI Tips πŸ’‘ (@programmingtip) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 46 000 obunachidan iborat bo'lib, Texnologiyalar & Aralashmalar toifasida 2 906-o'rinni egallagan.

πŸ“Š Auditoriya koβ€˜rsatkichlari va dinamika

Π½Π΅Π²Ρ–Π΄ΠΎΠΌΠΎ sanasidan buyon loyiha tez oβ€˜sib, 46 000 obunachiga ega boβ€˜ldi.

30 Oktabr, 2026 dagi oxirgi ma’lumotlarga koβ€˜ra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni -426 ga, soβ€˜nggi 24 soatda esa -19 ga oβ€˜zgardi va umumiy qamrov yuqori darajada qolmoqda.

  • Tasdiqlash holati: Tasdiqlanmagan
  • Jalb etish (ER): Auditoriya oβ€˜rtacha 5.42% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining 1.85% ini tashkil etuvchi reaksiyalarni toβ€˜playdi.
  • Post qamrovi: Har bir post oβ€˜rtacha 2 492 marta koβ€˜riladi; birinchi sutkada odatda 853 ta koβ€˜rish yigβ€˜iladi.
  • Reaksiyalar va oβ€˜zaro ta’sir: Auditoriya faol: har bir postga oβ€˜rtacha 0 ta reaksiya keladi.

πŸ“ Tavsif va kontent siyosati

Muallif resursni shaxsiy fikrni ifoda etish maydoni sifatida ta’riflaydi:
β€œProgramming & AI: Tips πŸ’‘ Articles πŸ“• AI & LLMs πŸ‘Ύ Design, Architecture, Principles βœ… πŸ‡³πŸ‡± Contact: @MoienTajik”

Yuqori yangilanish chastotasi (oxirgi ma’lumot 31 Oktabr, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli boβ€˜lib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Texnologiyalar & Aralashmalar toifasidagi muhim ta’sir nuqtasiga aylantirishini koβ€˜rsatadi.

46 000
Obunachilar
-1924 soatlar
-877 kun
-42630 kun
Postlar arxiv
Classes Should Be Small ❗️ The first rule of classes is that they should be small . The second rule of classes is that they should be smaller than that . Our immediate question is always β€œHow small❓ ” With functions we measured size by counting physical lines . With classes we use a different measure . We count responsibilities . #Cleancode #Class

Class definition πŸ“ The name of a class should describe what responsibilities it does . In fact, naming is probably the first way of helping determine class size. If we cannot derive a concise name for a class, then it’s likely too large. The more ambiguous the class name, the more likely it has too many responsibilities. #CleanCode #Class

#Fun Fails again πŸ˜‚πŸ€¦πŸ»β€β™‚οΈ
#Fun Fails again πŸ˜‚πŸ€¦πŸ»β€β™‚οΈ

What makes a clean test❓ Three things : Readability, readability, and readability. Read-ability is perhaps even more important in unit tests than it is in production code . What makes tests readable ❔ The same thing that makes all code readable : clarity, simplicity & density of expression . #CleanCode #UnitTest

Test code is just as important as production code❗️ It is not a second-class citizen . It requires thought, design, and care . It must be kept as clean as production code . #CleanCode #UnitTest

β€œ Any fool can write code that a computer can understand, Good programmers write code that humans can understand .” πŸ‘ŒπŸ» βž–Martin Fowler

#Fun Unit Tests Fails πŸ˜…πŸ€¦πŸ»β€β™‚οΈ
#Fun Unit Tests Fails πŸ˜…πŸ€¦πŸ»β€β™‚οΈ

πŸ’‘ Consider the following three laws before writing Unit Test : 1- You may not write production code until you have written a failing unit test. 2- You may not write more of a unit test than is sufficient to fail, and not com-piling is failing. 3- You may not write more production code than is sufficient to pass the currently failing test. #CleanCode #UnitTest #TDD

Don't Pass & Return Null ❌ Returning null from methods is bad, but passing null into methods is worse. Unless you are working with an API which expects you to pass null, you should avoid passing null in your code whenever possible. #CleanCode #Exception #Null

Try Catch Finally πŸ”„ Try blocks are like transactions. Your catch has to leave your program in a consistent state, no matter what happens in the try. For this reason it is good practice to start with a try-catch-finally statement when you are writing code that could throw exceptions. This helps you define what the user of that code should expect, no matter what goes wrong with the code that is executed in the try . #CleanCode #Exceptions

#Fun #Namings πŸ˜„
#Fun #Namings πŸ˜„

Dependent Functions ↕️ If one function calls another, they should be vertically close, and the caller should be above the callee . #CleanCode

Variable Declarations πŸ” Variables should be declared as close to their usage as possible, Because our functions are very short, local variables should appear a the top of each function . #CleanCode #Variables

How your classes should be ? πŸ’­ Think of a well-written newspaper article, You read it vertically. At the top you expect a headline that will tell you what the story is about and allows you to decide whether it is something you want to read. The first paragraph gives you a synopsis of the whole story. As you continue down-ward, the details increase until you have all the dates, names, quotes, claims, and other minutia. We would like a source file to be like a newspaper article. πŸ“œ The name should be simple but explanatory. The name, by itself, should be sufficient to tell us whether we are in the right module or not. The topmost parts of the source file should provide the high-level concepts and algorithms. Detail should increase as we move downward, until at the end we find the lowest level functions and details in the source file. A newspaper is composed of many articles; most are very small, Some are a bit larger, Very few contain as much text as a page can hold. This makes the newspaper usable. If the newspaper were just one long story containing a disorganized agglomeration of facts, dates, and names, then we simply would not read it ! #CleanCode #NewsPaper #Metaphor

#Fun πŸ˜…πŸ€¦πŸ»β€β™‚οΈ
#Fun πŸ˜…πŸ€¦πŸ»β€β™‚οΈ

Refactoring: Improving the Design of Existing Code πŸ“• Author : Martin Fowler #CleanCode #Book

A Handbook of Agile Software Craftsmanship πŸ“– Author : Robert C.Martin #CleanCode #Book

Which code is better ?
// Check to see if the employee is eligible for full benefits 
if((employee.flags & HOURLY_FLAG) && (empoyee.age > 65))
or this ?
if(employee.isEligibleForFullBenefits())
Absolutely the second one is more readable and it takes you less time to understand ! ⏰ #CleanCode #DontUseComments #Tip3

Unit Tests βœ… Ten years ago this would have raised a lot of eyebrows ! πŸ‘ The discipline of Test Driven Development has made a profound impact upon our industry and has become one of our most fundamentals disciplines. Dave Thomas : Code without tests, is not clean, No matter how elegant it is, no matter how readable and accessible, If it hath not tests, it be unclean. #CleanCode #Tip2

Don't be afraid to make a name long. A long descriptive name is better than a short enigmatic name. A long descriptive name is better than a long descriptive comment. βœ”οΈ Use a naming convention that allows multiple words to be easily read in the function names, and then make use of those multiple words to give the function a name that says what it does. #CleanCode #Tip1