Programming Tips 💡 – Telegram
Programming Tips 💡
51.6K subscribers
67 photos
10 videos
30 files
355 links
Programming & AI:
Tips 💡
Articles 📕
Resources 👾
Design Patterns 💎
Software Principles

🇳🇱 Contact: @MoienTajik

🎯 Buy ads: https://telega.io/c/ProgrammingTip
Download Telegram
#Fun Comments 🤦🏻‍♂️
" 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 ... 🙂🔝
Comments should say things that the code cannot say for itself ❗️

#Cleancode #Comments
@ProgrammingTip
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
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
Online .NET Compiler ⚜️

Supports : C#, VB, F#, Console, ASP.NET MVC

We are a group of .NET developers who are sick and tired of starting Visual Studio,
creating a new project and running it, just to test simple code or try out samples from other developers.

https://dotnetfiddle.net/

#Links
@ProgrammingTip
Soft skill And Productivity

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

Eric S. Raymond 🗣

@ProgrammingTip
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
ASP.NET Web API 2 - Building a REST Service.pdf
5.3 MB
ASP.NET Web API 2 - Building a REST Service from Start to Finish 📕

Authors :
Jamie Kurtz
Brian Wortman

#Book #AspNet
@ProgrammingTip
Media is too big
VIEW IN TELEGRAM
آموزش الگو طراحی Repository و Unit Of Work بصورت Generic در #C

#DesignPatterns #OOP
@ProgrammingTip
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
If you find yourself having to choose between “doing it right” and “doing it quick🤔,
Don't doubt, choose "doing it right" ❗️

#CleanCode
@ProgrammimgTip
Make Interfaces, Easy to Use Correctly and Hard to Use Incorrectly.

#Interfaces
@ProgrammingTip
97 Things Every Programmer Should Know.pdf
2 MB
O`Reilly
97 Things Every Programmer Should Know 📕

#Book
@ProgrammingTip
Write Code As If You Had to Support It for the Rest of Your Life. 👾

#CleanCode
@ProgrammingTip
Learn the most important libraries for your use cases. 📚

The more libraries you’re aware of, the less likely you are to try reinventing the wheel. ⚙️

#Libraries
@ProgrammingTip
#Fun Seeking Answer
Eval 👾

if you know about the dot notation, but are ignorant of the subnoscript notation, you might write:

eval("myValue = myObject." + myKey + ";"); 


instead of :

myvalue = myObject[myKey]; 


The eval form is much harder to read.
This form will be significantly slower because it needs to run the compiler just to execute a trivial assignment statement ❗️

#Tips #JavaScript
@ProgrammingTip
What is Unit Test

A unit test is a piece of a code (usually a method) that invokes another piece of code and checks the correctness of some assumptions afterward.

If the assumptions turn out to be wrong, the unit test has failed.

A unit is a method or function.

#UnitTest
@ProgrammingTip