Programming Tips πŸ’‘
51.6K subscribers
67 photos
10 videos
30 files
354 links
Programming & AI:
Tips πŸ’‘
Articles πŸ“•
Resources πŸ‘Ύ
Design Patterns πŸ’Ž
Software Principles βœ…

πŸ‡³πŸ‡± Contact: @MoienTajik

🎯 Buy ads: https://telega.io/c/ProgrammingTip
Download Telegram
Consistent Name Scheme πŸ“

Usually, Languages have their own naming conventions; For example, java uses camelCase.

Naming needs to stay consistent, otherwise, it will very difficult to find things inside the document .

There are two main ways to name things :

1.camelCase : which means that every word of the file name is capitalized except for the first one, for example: nameFilesConsistently

2.Underscores : in this case you write underscores between each word, for example:
name_files_consistently

#NamingConventions
When you can solve the same number of problems as your competitor, it is now down to coding skill and ... typing speed.

Try this typing test at https://10fastfingers.com and follow the instructions there on how to improve your typing skill.

You need to familiarize your fingers with the position of frequently used programming language characters, e.g :
braces {} or () or <>, semicolon β€˜;’, single quote for β€˜char’ and double quotes for β€œstring”, ... .

#competitive_programming
#Fun Coders Loves Their Code πŸ˜„β™₯️
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
In an ideal system, we incorporate new features by extending the system, not by making modifications to existing code ❗️

#Cleancode #OCP
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
β€œComplexity kills. It sucks the life out of developers, it makes products difficult to plan, build, and test .”

βž–Ray Ozzie, CTO, Microsoft
#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
Best Online Code Playgrounds πŸ‘Ύ

1️⃣ JSFiddle : https://jsfiddle.net/

2️⃣ CodePen : http://codepen.io/

3️⃣ CSS Desk : http://cssdeck.com/

4️⃣ JSBin : http://jsbin.com/

5️⃣ Dabblet : http://dabblet.com/

6️⃣ Plunker : http://plnkr.co/

7️⃣LiveWeave: http://liveweave.com/
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