sudipta mukherjee

1.9K posts

sudipta mukherjee banner
sudipta mukherjee

sudipta mukherjee

@samthecoder

Author, Artist, Husband, Dad, Son, Easy going, Perpetual learner. Love to make stuff. Has a gift of explaining complex stuffs easily. https://t.co/ecQVeAnAhv

Bangalore انضم Haziran 2010
288 يتبع169 المتابعون
sudipta mukherjee أُعيد تغريده
Mark Seemann
Mark Seemann@ploeh·
Please don't squash commits. You're throwing away data when you do that. If you want a 'pretty view' of history, you can always pretend to throw away data when it pleases you, e.g. git diff commit123..commit456
English
88
31
216
59.6K
Cliff Pickover
Cliff Pickover@pickover·
Mathematics. The Underworld. Shiver.
Cliff Pickover tweet media
English
50
24
184
22.6K
sudipta mukherjee
sudipta mukherjee@samthecoder·
@antonkeks The approach is to offer a good operator like elvis in C# but I totally hate doing match on Maybe or Either monads just to get to the value I want
English
0
0
0
19
Anton Keks
Anton Keks@antonkeks·
Many popular programming languages still have unpredictable nullability, like Java, C++, Go, most dynamic languages, leading to defensive coding and noise. Null safety makes coding much more confident in Vala, Kotlin, C#, TypeScript, Swift, Dart, Scala3, partially Rust.
English
2
0
9
596
Glitchbyte
Glitchbyte@0xglitchbyte·
I avoid OOP as much as possible nowadays I got carried away with it At first it seemed like a great idea, modeling code after real world objects to make sense of data After some time, I understood inheritance, polymorphism, etc., without an issue and embraced it fully I preached the greatness of OOP to everyone, and how it just makes sense I wrote and worked in heavy OOP codebases, and found nothing but messes and layers of indirection It was the spaghetti code everyone had joked about Then I realized I was in the middle of a problem Rather than diving deeper into lower level programming, I was going in the opposite direction I was creating unnecessary layers upon layers of abstraction, complicating things way more than I should I had a new hammer and everything was a nail After a while, I got introduced to Data Oriented Design Rather than fit the data to hoe you think it should be, you code with how the data is in mind Keeping the program simple, performant, and data centric Now I that I know both, I can make the decision which is best suited for the task While Im not a fan of OOP anymore, I do recognize it has its strengths in certain areas However, if given the choice, Ill go the data-centric route each time Im grateful to the person who introduced me to this book “Data Oriented Design” by R. Fabian I hope it brings you clarity as it did for me
Glitchbyte tweet mediaGlitchbyte tweet mediaGlitchbyte tweet mediaGlitchbyte tweet media
English
97
199
1.9K
313K
sudipta mukherjee
sudipta mukherjee@samthecoder·
@0xglitchbyte OOP has its place and yes encapsulation is its greatest virtue. No doubt. That's plain awesome 😎.
English
0
0
0
54
sudipta mukherjee
sudipta mukherjee@samthecoder·
@sergey_tihon Hello Sergey, I am almost done with the post. I shall share the link with you tomorrow. Kindly update the table.
English
0
0
1
50
Aleksandr Shvedov
Aleksandr Shvedov@controlflow·
C# 12 feature: Empty Dictionary Literals Dictionary<int, string> xs = []; Why "empty" you ask? Because you literally cannot fill this literal with any kind of content... #v2:EYLgtghglgdgNAFxAJwK4wD4AEAMACLARgBYBuAWACgqARKAYwSgHsYJkBPAHlgTgMI4AfHgAeAZzwBePAG0AuqSA===" target="_blank" rel="nofollow noopener">sharplab.io/#v2:EYLgtghglg…
English
4
0
3
1.3K
David Fowler
David Fowler@davidfowl·
Yes and this is the truth. If you have had bad experiences with debuggers, try out .NET and the Visual Studio debugger. It’s the best in class in the industry and that’s what .NET developers expect at a minimum.
Raven67854@Raven67854

@pikuma I wouldn't say Visual Studio is the best IDE. As it has horrible text editing and still has oddball bugs that come up every now and then. But it absolutely has one of the best debuggers built into an IDE. Hands down nothing compared to the debugging power of VS.

English
38
26
328
79.6K
sudipta mukherjee
sudipta mukherjee@samthecoder·
@nomadtechie @davidfowl Serializing to Json or XML is redundant when your metadata is understood by the producer and consumer. This time a custom serializing strategy is needed in many performance critical and memory crunchy cases.
English
0
0
0
49
Amal Hussein
Amal Hussein@nomadtechie·
@davidfowl What’s an actual valid case for doing this? Like, when is it ever a good idea to do this if you can use an existing library or util? Genuinely curious 🤨
English
3
0
2
4.8K
David Fowler
David Fowler@davidfowl·
Don't write your own serializer. Actually, writing one is much simpler if your type system is simple, but just don't.
English
37
11
207
309.8K
David Fowler
David Fowler@davidfowl·
My latest C# 12 hack. Using collection literals to create a stack allocated Span when under a certain length. #dotnet #csharp
David Fowler tweet media
English
30
14
197
50.9K
sudipta mukherjee
sudipta mukherjee@samthecoder·
@sujoy_g Intriguing but the plot felt loose on a few occasions. 👍 1. Why Ajith was being saught for 2. Where was Ajith's body hidden? 3. Why a math teacher is so famous in the entire city? 4. It seemed too easy for the postmortem doctor to tell that the murder was done via a heater.
English
0
0
1
27
sudipta mukherjee
sudipta mukherjee@samthecoder·
@Jonas_1ara Just to mention the features you have never heard of in other mainstream languages that F# offers will take about 15 minutes. And remember that's not even all of the features
GIF
English
1
0
0
38
Jonas Lara
Jonas Lara@jonas1ara·
how much time do you need to learn F#? 10 minutes?
English
5
0
3
326