Hacker Newsnew | past | comments | ask | show | jobs | submit | vibbix's commentslogin

Java have less of a DevEx score than C# is crazy work.


Reified generics, value types, nullable reference types, LINQ are only some of the things that would give C# an edge in DevEx today.


Not sure if it's still the case, but C library interop in C# is the main reason I chose to start with the alpha/beta versions of C# over Java around 2000-2001.


I think devx is being misused in this article a bit. Obviously the tooling for java is second to none, aside from maybe the travesty that is gradle.

What they apparently mean is how "ergonomic"/"expressive" the actual syntax and type systems of those languages are. In that case c# is ahead of java by a decent margin. Luckily java is still evolving, usually by stealing many of the good ideas from other languages like kotlin. But overall those are less language and more runtime features like project looms green threads etc.


Java has first class sum types, pattern matching, and compiler exhaustion on types. It's probably far more expressive than C# currently until they get union types.


Well, C# has more powerful pattern matching, only compiler exhaustiveness on types is missing today. In Java, sum types (sealed interfaces/classes) require all members to have the same parent, so they can be used only in very narrow cases.


As opposed to C# that doesn't have any form of sum types?


C# will have more advanced sum types this year, it's currently in preview.


Their sum types aren't particularly useful since they can never be used to implement union types which I believe c# has plans for following their sum types already in preview. So I guess similarly neck and neck.


Pleasant surprise to hear about this. I've had a fascination with BeOS & Haiku for decades. I am now actually developing a custom website layout themed after BeOS (good excuse to learn Figma!)


I spent a summer working on XAML UI's for an internship, and recently dove back in as a side project to update some Windows specific apps that rely on WinForms(https://github.com/hass-agent/hass.agent). XML UI's are fairly underrated imo.


The source of this great quote, from the wonderful Bryan Cantrell: https://youtu.be/-zRN7XLCRhc


Said about Larry Ellison (who recently gave $6B to his son to buy CBS, and likely turn it into another ultra-wealthy right-wing mouthpiece rag).

But damn oh damn does Broadcom feel like a good fit for this statement.



Very excited to see my JSON objects start to hallucinate new properties!


I still have my L702X in my closet next to me! The machine lasted me 7.5 years. Thanks for the throwback reminder.


Still use my L702x daily. It's heavy but I love the display and the speakers. It had Nvidia 3d vision with shutter glasses at one point, obviously not useful now. Windows 7 still on it. With an SSD it's still speedy and does a good job. I hope this 14 year old laptop will get me through another 6 years at least.


Thank you for sharing, the paintings are pretty awesome


Everything for the document (fonts, images, etc) are all stored within the document file. It's entirely self-contained.


Thanks for the clarifications! I've been spending the last 3 weeks deep in the weeds of TF/IDF scoring and was about to give up on Elastic Search when this got posted. The article has been eye opening!!!


Really cool!! Website for mobile can use a little work, a lot of the sub headers get truncated a bit much.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: