sudipta mukherjee (@samthecoder) header
sudipta mukherjee (@samthecoder) profile picture

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

Bangalore
Joined June 2010
Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)Photo by sudipta mukherjee (@samthecoder)
🚀 Open to Senior Tech Roles I'm actively seeking new opportunities where I can make a significant impact. 📚 HTML resume: sudipto80.github.io/profile #OpenToWork #SoftwareEngineering #Compilers #DSL #FSharp #DeveloperTools #TechLeadership #CSharp #FSharp
33
Can't agree more
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
1
57
sudipta mukherjee retweeted
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
87
30
22
214
59,667
Mathematics. The Underworld. Shiver.
49
21
9
176
22,647
What's so funny about it ?
10
Congratulation to @isaac_abraham on releasing F# in Action with @ManningBooks a great way to get started with the language, check it out mng.bz/R4Jn
4
12
49
3,488
It was great fun reviewing the text.
2
42
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.
1
9
598
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
19
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
96
195
37
1,886
313,450
None. They are because of poor algorithms. OOP is a paradigm. 🙏
1
194
Replying to @0xglitchbyte
OOP has its place and yes encapsulation is its greatest virtue. No doubt. That's plain awesome 😎.
54
Replying to @sergey_tihon
Hello Sergey, I am almost done with the post. I shall share the link with you tomorrow. Kindly update the table.
1
50
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... sharplab.io/#v2:EYLgtghglgdg…
4
3
1,256
An attempt to be as close to map = {} in Python as possible.
15
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.
Replying to @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.
38
25
3
322
79,656
What's better than Riders debugger
1
1
611
Don't write your own serializer. Actually, writing one is much simpler if your type system is simple, but just don't.
37
11
3
205
309,827
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 🤨
3
2
4,834
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.
49
My latest C# 12 hack. Using collection literals to create a stack allocated Span when under a certain length. #dotnet #csharp
28
14
196
50,914
This reads like english
2
8
1,326
It's time to learn English again then
14
this is the trailer of #jaanejaan for you… let me know. we discuss later.
Love blurs the line between innocence and guilt. And these Jaane Jaans are about to cross it 🫠 #JaaneJaan premieres 21 September only on Netflix!
159
55
14
629
135,208
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.
1
27
Collection literals in C# 12 are 😍 #dotent #csharp
75
118
22
1,065
101,228
Really looking forward for that. Game changer!
1
2,370
You can use Concat method in LINQ until then and it's much clearer
139
how much time do you need to learn F#? 10 minutes?
5
3
330
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
1
38