Top Tweets for #Generics
C# that compiles to a 40 KB native binary, no .NET runtime.
Zero C#, a bflat fork:
- hello world: 11 KB Windows, 40 KB Linux
- no GC, arenas you free all at once
- runs on Linux, Mac, Windows, WASM, DOS on a 386, bare UEFI
- C# 15 generics, records, Parallel.For
- MIT core lib
Java Generics Explained: Wildcards, PECS and Type Erasure with Examples
https://t.co/xdP03c2IyV
#Generics
Because TypeScript has its own syntax, grammar, and compiler (tsc)!
Unlike a library or framework (like React), browsers can’t execute TypeScript directly. It’s a strongly-typed superset of JavaScript, meaning it extends the language with static types, interfaces, and generics, then transpiles down into plain JavaScript.
Just like C++ built on C, compiling to another target doesn't make it less of a language!
If Medicare Part D drug costs are eating your budget, check Extra Help (the Low-Income Subsidy).
Extra Help can reduce or eliminate your Part D premium and deductible and cap what you pay at the pharmacy—often just a few dollars for generics and a little more for brand-name drugs. Some people qualify automatically if they already have Medicaid, SSI, or a Medicare Savings Program. Others can apply based on income and resources.
For 2026 the income limits are roughly $23,940 for one person and $32,460 for a couple (higher in Alaska and Hawaii), with resource limits around $18,090 / $36,100. Your home and one car usually don’t count.
You can apply online at https://t.co/6aOXwq6FRS or call Social Security at 1-800-772-1213. Even if you’re close to the limits, it’s worth checking—many people who qualify never apply.
High-priced meds don’t have to stay high. This one is worth a look if you’re on Medicare.
#ExtraHelp #Medicare #PovertyHacks #PrescriptionCosts
Why generics are worth it:
func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T
One function for any Decodable type, and the compiler knows exactly what comes back. No Any, no casting, no surprises at runtime.
Do you use them a lot, or only when you have to?
Fell sick. Doctor prescribed branded meds. A pharmacy ignored me for 15 mins. The next shop gave me a cheaper alternative that worked really well.
So I’m building DawaCheck an open-source tool: scan a prescription →see govt price caps, same-salt generics
Repo soon #Buildinpublic
Rust lesson 13: traits and generics.
I put {} inside String::from. It needs format!
Passed a type with no impl: E0277, at the call. Removed the bound: E0599, inside the function.
A trait is a promise. The bound is where the compiler checks it.
https://t.co/wHpPZKZ9ju

Someone send me some new seeds so I can grow some new generics 🌱
Java Generics Explained: Wildcards, PECS, and Type Erasure with Examples
https://t.co/xdP03c2IyV
#generic #programming
Rust Core Concepts #6 🦀
Generics & Trait Bounds
What if I want to write a function that works with different types without rewriting the same logic again and again?
That's the problem generics solve.
Instead of writing:
fn biggest_int(a: i32, b: i32) -> i32

Today :
- rust borrowing rules, structs,enums,error handling,generics and trait bounds ✅
- 7 LeetCode questions
Gn
@WorldShiner this is an old screenshot actually, code has been hardened after this. yeah I would love to have generics but between using C++ for generics or C and take the macro pain I pick C every time
@gdechichi I really love C, it is my favorite language but I really hate that it doesn't have generics.
04 — TypeScript
JavaScript + a powerful type system.
Learn:
→ Types
→ Interfaces
→ Generics
→ Unions
→ Type narrowing
→ Type-safe APIs
You don’t need TypeScript on day one.
Learn JavaScript fundamentals first, then add TypeScript.
Go Generics vs Interfaces
Generics → One function, many types
func Print[T any](v T) {
fmt.Println(v)
}
Print[string]("Hi")
Print[int](42)
Interfaces → Different types, same behavior
type Speaker interface {
Speak() string
}
Use Generics for data ,Interfaces for behavior
 {
fmt.Println(v)
}
Print[string]("Hi")
Print[int](42)
Interfaces → Different types, same behavior
type Speaker interface {
Speak() string
}
Use Generics for data ,Interfaces for behavior https://t.co/ik3NT0fcdv](https://pbs.twimg.com/media/HRM1EpVbMAAChFV.png)
@iamrajeshjena IntelliJ earns it on the boring stuff: Alt+Enter on a red import, and Analyze > Data Flow to Here when a null shows up three layers deep. Flip on auto-import for unambiguous classes day one. Java's mercy usually runs out at generics.
Struct in a List<object>? You just allocated on the heap.
Boxing copies the value into a heap object every time. In a hot loop that's millions of allocations and a busy GC.
Use generics, Span<T>, and avoid casting structs to object or interfaces in tight paths.
.
.
.
@Singhmar4Amit Don't forget about traits! traits, trait-object, impl for trait, generics and smart pointers.
After this you start to understand rust codebases , rust feels smooth after good understanding of this topics.
Fear of rust syntax will vanish after this.
Day 96 of coding:
Juggled multiple responsibilities
• Refactored my Java Banking System into a cleaner structure
• Moved menu logic into a dedicated BankMenu class
• Learned more about Java Generics
• Continued The Odin Project
#100DaysOfCode #Java #BuildInPublic

As a .NET Developer,
Please learn:
1. C# & .NET Fundamentals
- OOP (SOLID, DRY, KISS)
- LINQ, Generics, Delegates
- Async/Await, Tasks
- Records, Pattern Matching
- Exception Handling
2. .NET Runtime
- CLR & JIT
- Garbage Collection
- Memory Management
- Span<T>, Memory<T>
3. ASP .NET Core
- Web API & Minimal APIs
- Middleware
- Dependency Injection
- Configuration & Logging
- Background Services
4. Entity Framework Core
- LINQ Queries
- Migrations
- Relationships
- Change Tracking
- Query Optimization
5. Design & Architecture
- Clean Architecture
- DDD & CQRS
- Repository Pattern
- Design Patterns
- Modular Monolith & Microservices
6. REST & Communication
- REST APIs
- gRPC
- OpenAPI/Swagger
- SignalR
- API Versioning
7. Authentication & Security
- JWT
- OAuth2 / OpenID Connect
- ASP .NET Identity
- OWASP Top 10
- HTTPS, XSS, CSRF
8. Messaging & Distributed Systems
- RabbitMQ / Kafka
- Azure Service Bus
- Event-Driven Architecture
- Outbox & Saga Patterns
9. Database
- SQL Server / PostgreSQL
- Indexing & Transactions
- Query Optimization
- Redis Caching
10. Cloud & Containers
- Azure (preferred)
- Docker
- Kubernetes
- .NET Aspire
- Dapr
11. Testing
- xUnit / NUnit
- Moq
- Integration Testing
- BenchmarkDotNet
12. DevOps & Observability
- Git & GitHub
- GitHub Actions / Azure DevOps
- OpenTelemetry
- Serilog
- Prometheus & Grafana
13. Performance
- Profiling & Diagnostics
- Memory & CPU Optimization
- Caching
- Rate Limiting
14. Modern .NET Ecosystem
- .NET 9/10
- Native AOT
- Blazor / MAUI
- YARP Reverse Proxy
Day 93 of coding:
Focused on strengthening the fundamentals today
• Learned #Java Generics and made detailed notes
• Updated my Banking System README
• Started Web Dev with The Odin Project
What's your current learning focus?
#100DaysOfCode #WebDevelopment #BuildInPublic

🐡 New update for Lumpcode !
A bug fix about zod dependency, and better typings (better generics precisely)
https://t.co/MT6t0lYCrp
Last Seen Hashtags on Sotwe
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
240M followers

Barack Obama 
@barackobama
118.6M followers

Cristiano Ronaldo 
@cristiano
114.4M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.2M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers





















