TGViewer
Channel Public Channel
Programming & AI Tips 💡

Programming & AI Tips 💡

@programmingtip

Programming & AI:
Tips 💡
Articles 📕
AI & LLMs 👾
Design, Architecture, Principles ✅

🇳🇱 Contact: @MoienTajik
Subscribers
46.3K
Photos
67
Videos
11
Links
377

Showing posts older than #90 · Back to latest

Older Posts 20 shown
Post #84 1.16K
Make Interfaces, Easy to Use Correctly and Hard to Use Incorrectly.

#Interfaces
@ProgrammingTip
Post #83 1.16K
If you find yourself having to choose between “doing it right” and “doing it quick” 🤔,
Don't doubt, choose "doing it right" ❗️

#CleanCode
@ProgrammimgTip
Post #82 1.08K
Create some of your own tools 🛠

But of course, if you're going to use it in production, make sure it's not another wheel reinvention. ⚙️

#Tools
@ProgrammingTip
Post #79 3.07K
آموزش الگو طراحی Repository و Unit Of Work بصورت Generic در #C

#DesignPatterns #OOP
@ProgrammingTip
Post #77 1.32K
Desgin Pattern 📝

Don’t use design patterns like a hammer looking for a nail. 🔨

If you don’t have a clear reason you need it, don’t use it. ❌

#CleanCode #DesignPattern
@ProgrammingTip
Post #75 1.19K
Soft skill And Productivity ✅

"Good programmers know what to write, but great ones know what to rewrite (and reuse)"

Eric S. Raymond 🗣

@ProgrammingTip
Post #71 993
Dead Functions 💀

Methods that are never called should be discarded. ❌

Keeping dead code around is wasteful.

Don’t be afraid to delete the function.

Remember, your source code control system still remembers it.

#Cleancode #Functions
@ProgrammingTip
Post #70 997
When you see commented-out code, delete it ❌

Don’t worry, the source code control system still remembers it.

If anyone really needs it, he or she can go back and check out a previous version.

Don’t suffer commented-out code to survive❗️

#Cleancode #Comments
@ProgrammingTip
Post #69 1.14K
Comments should say things that the code cannot say for itself ❗️

#Cleancode #Comments
@ProgrammingTip
Post #68 1.31K
" To write Clean Code, you must first write dirty Code and then Clean it.❗️"
➖Bob C.Martin

You should code & code & code to become a master ... 🙂🔝
Post #59 998
#Fun Comments 🤦🏻‍♂️
Post #57 961
“Complexity kills. It sucks the life out of developers, it makes products difficult to plan, build, and test .”

➖Ray Ozzie, CTO, Microsoft
Post #56 959
If a system is decoupled enough to be tested, it will also be more flexible and promote more reuse. 🔄

The lack of coupling means that the elements of our system are better isolated from each other and from change.

This isolation makes it easier to understand each element of the system.💡

#Cleancode #Decoupling
Post #55 1.19K
In an ideal system, we incorporate new features by extending the system, not by making modifications to existing code ❗️

#Cleancode #OCP
Post #54 992
Avoid Writing Long Code Lines ❌

Writing long lines of code makes it very difficult to read, moving back and forth horizontally, losing any sense of what it’s actually written.

Style and indentation will help with this .💡

Keep also in mind,
the terminal window limits characters to 80 per line, so if the code is longer, it will be just cut, making it incomprehensible.

#CleanCode
@ProgrammingTip
Post #53 1.18K
#Fun Coders Loves Their Code 😄♥️
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →