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
376

Showing posts older than #267 Β· Back to latest

Older Posts 20 shown
Post #266 1.23K
GenFu 🀺

GenFu is a library you can use to generate realistic test data. βœ…

It is composed of several property fillers that can populate commonly named properties through reflection using an internal database of values or randomly created data.

You can override any of the fillers, give GenFu hints on how to fill them. πŸ› 

[ Website ] : http://genfu.io/

https://t.me/pgimg/9
γ€°γ€°γ€°γ€°γ€°γ€°
#Dotnet #Core #UnitTest
@ProgrammingTip
Telegram Programming Tips Resources
Post #265 1.16K
πŸ’Ž <%= EJS %> πŸ’Ž

"E" is for "effective." EJS is a simple Templating Language that lets you generate HTML markup with plain JavaScript. πŸ”₯

No religiousness about how to organize things. No reinvention of iteration and control-flow. It's just plain JavaScript. πŸ€·πŸ»β€β™‚οΈ

[ Website ] : http://ejs.co/

https://t.me/pgimg/8
γ€°γ€°γ€°γ€°γ€°γ€°
#ejs #templating #js #node #express
@ProgrammingTip
Telegram Programming Tips Resources
Post #264 1.23K
Entity Framework Core Generic Repository πŸ¦‹

The generic repository pattern has its pros and cons.

You are the one to decide if it fits for your project.

You can always use it only for parts of your application, you don’t have to go all in with generic repository pattern❗️

[ Article ] : http://bit.do/rpop

https://t.me/pgimg/7
γ€°γ€°γ€°γ€°γ€°γ€°
#Repository #AspMvc #EF #Core
@ProgrammingTip
Telegram Programming Tips Resources
Post #263 1.22K
Sorry PHP Developers ( again ) πŸ˜‚
γ€°γ€°γ€°γ€°γ€°γ€°
#Fun
@ProgrammingTip
Post #262 1.38K
What is currentColor in CSS ❓

currentColor β€” As name says , it pick the current color reference in an class and when you assign currentColor as one of the value of the property it will show the refer color.

[ Article ] : http://bit.do/curro

γ€°γ€°γ€°γ€°γ€°γ€°
#CSS #Tips
@ProgrammingTip
Post #260 1.5K
The art of asking "coding" questions 🎨

… is not workingβ—οΈπŸ€¦πŸ»β€β™‚οΈ

Examples :
β€œnpm install is not working”
β€œinterpolation is not working”


β€œIt’s not working” is not helpful ❗️

It doesn’t tell others about the problem you’re facing.

[ Website ] : http://bit.do/quea

γ€°γ€°γ€°γ€°γ€°γ€°
#Tips #QA
@ProgrammingTip
Post #259 1.35K
Lambda in Java 8 πŸ”₯

Lambda expressions are introduced in Java 8 and are touted to be the biggest feature of Java 8. 8️⃣

Lambda expression facilitates functional programming, and simplifies the development a lot. πŸ€·πŸ»β€β™‚οΈ

γ€°γ€°γ€°γ€°γ€°γ€°
#java #lambda
@ProgrammingTip
https://t.me/pgimg/6
Telegram Programming Tips Resources
Post #258 1.38K
Rubber Duck Debugging 🐀

In software engineering, rubber duck debugging or rubber ducking is a method of debugging code. 🐞

The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, line-by-line, to the duck. πŸ—£

Many other terms exist for this technique, often involving different inanimate objects.

Many programmers have had the experience of explaining a programming problem to someone else, possibly even to someone who knows nothing about programming, and then hitting upon the solution in the process of explaining the problem. πŸ‘₯

In describing what the code is supposed to do and observing what it actually does, any incongruity between these two becomes apparent. ↔️

More generally, teaching a subject forces its evaluation from different perspectives and can provide a deeper understanding. πŸ‘¨πŸ»β€πŸ«

By using an inanimate object, the programmer can try to accomplish this without having to interrupt anyone else. πŸ™…πŸ»β€β™‚οΈ

γ€°γ€°γ€°γ€°γ€°γ€°
#Debugging #Tips
@ProgrammingTip
Post #256 1.14K
CONST vs LET vs VAR ⚑️

This article will look to clear on why those classic var declarations can be confusing and will also introduce block-level bindings aka const and let.

[ Website ] : http://bit.do/jvar
γ€°γ€°γ€°γ€°γ€°γ€°
#JavaScript #Variable
@ProgrammingTip
Post #255 1.07K
10 things you'll find shocking about asynchronous operations 🀣

#Fun
@ProgrammingTip
Post #253 1.32K
Codota : AI Pair Programmer πŸ€–

Codota understands the world's code and provides you with the right suggestion at the right time.

Supports : Java ♨️

www.codota.com
γ€°γ€°γ€°γ€°γ€°γ€°
#Java #Tools
@ProgrammingTip
Post #252 1.26K
Sorry PHP Developers ... πŸ˜‚
γ€°γ€°γ€°γ€°γ€°γ€°
#Fun
@ProgrammingTip
Post #250 963
You may be wondering why the Entity Framework team chose to call the method Remove rather than Delete, and for that matter, why they choose Add instead of Insert. πŸ€·πŸΏβ€β™‚οΈ

The names were chosen for consistency with other collections and sets in the .NET Framework.

Other collections all use the Add/Remove pair of methods to bring elements into and out of the collection.

γ€°γ€°γ€°γ€°γ€°γ€°
#EF #Collections
@ProgrammingTip
Post #249 1.07K
Access Modifiers πŸ€·πŸ»β€β™‚οΈπŸš«

Public 🌎

Using Public, an event or a variable can be accessed from outside of the class, where it belongs.

And also from the outside of the assembly.
γ€°γ€°γ€°γ€°

Private πŸ”’

It restricts the use of methods and variables only within the class itself.

It can't be used from outside of the class.

As you declare a private constructor of a class, that class can't be accessed from outside that class, you can't create an object of that class.
γ€°γ€°γ€°γ€°

Protected β›“

This allows variables and methods to access from that class and the sub class of the class.

That means that methods can be accessed within that class and from the classes, which actually inherit that class.
γ€°γ€°γ€°γ€°

https://t.me/pgimg/4

#Access_Modifiers
@ProgrammingTip
Telegram Programming Tips Resources
Post #248 1.03K
Express ✨

A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.

https://expressjs.com
γ€°γ€°γ€°γ€°γ€°γ€°
#Nodejs
@ProgrammingTip
Post #247 1.14K
6 Essential VSCode Extensions for Angular Developers πŸ’Ž

β€’ TypeScript Hero
β€’ Angular Language Service
β€’ Bracket Pair Colorizer
β€’ Move TS
β€’ Material Icon Theme
β€’ Angular TypeScript Snippets

http://bit.do/vsico

[ Website ] : http://bit.do/vsxt

[ Src ] : @IranAspMvc
γ€°γ€°γ€°γ€°γ€°γ€°
#Angular #VSCode #Extension
@ProgrammingTip
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 β†’