Reality has types and identity. Static types just make sense. That all being said, the JVM has never broken into local apps, even with JavaFx. I think the thought of installing a JVM, plus then installing an app is no longer a workflow most users will tolerate. Electron has proved though people don't mind downloading a multi-gig app anymore however, so maybe this is no longer an issue.
Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
21–30 of 51 posts
Re: Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
#22How is it surprising to people that zip and XML are in stdlibs for a programming language? Btw, you should have looked at dotnet for this as well. There is a very good library ( DocumentFormat.OpenXml) that can handle all docx/xlsx/pptx files. And dotnet can ship standalone binaries (though AOT probably won't work).
Many runtimes/languages rely on third party deps for that. Also plenty of devs think the stdlib should be as lean as possible. Personally, I think there should be a balance. The direct consequence of a barebones stdlib is NPM and having to download hundreds of dependencies for a hello world.
Re: Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
#23Reality has types and identity. Static types just make sense. That all being said, the JVM has never broken into local apps, even with JavaFx. I think the thought of installing a JVM, plus then installing an app is no longer a workflow most users will tolerate. Electron has proved though people don't mind downloading a multi-gig app anymore however, so maybe this is no longer an issue.
Bitwig and Intellij stand out to me
I'll check out Bitwig.
Re: Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
#24How is it surprising to people that zip and XML are in stdlibs for a programming language? Btw, you should have looked at dotnet for this as well. There is a very good library ( DocumentFormat.OpenXml) that can handle all docx/xlsx/pptx files. And dotnet can ship standalone binaries (though AOT probably won't work).
https://github.com/dotnet/Open-XML-SDK First party from Microsoft; feels like it would be the way to go.
Re: Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
#25How is it surprising to people that zip and XML are in stdlibs for a programming language? Btw, you should have looked at dotnet for this as well. There is a very good library ( DocumentFormat.OpenXml) that can handle all docx/xlsx/pptx files. And dotnet can ship standalone binaries (though AOT probably won't work).
https://github.com/dotnet/Open-XML-SDK First party from Microsoft; feels like it would be the way to go.
Microsoft are incapable of:
1. naming things well
2. keeping those names stableRe: Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
#26Earlier quoted context omitted.
Many of those "lots of FP features where it makes sense". were already present in Smalltalk. Especially anything related to lambdas, map, filter and co. Something that was lost in most OOP languages that followed suit, until like a decade later.
> Many of those "lots of FP features where it makes sense". were already present in Smalltalk. Good point. And both Java and Ruby borrowed from Smalltalk (according to Wikipedia Kotlin does not, but that is: not directly. Sadly Java did not take Smalltalk's FP inspiration (I guess they were strayed by C++'s lead in that regard), and we needed streams and now Kotlin to fix that :) Smalltalk's syntax never go really po…
This would be my guess, I always heard nice things about it and liked many concepts, but the syntax was just plain ugly to me, so I never felt the urge to try it out. I imagine others felt similar.
Re: Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
#27Re: Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
#28> I wrote a lot of Ruby back in 2010s. I felt Ruby was a beautiful language. Unfortunately, I don't feel that anymore. Perhaps because he sucks. It's easy to write ugly code in any language. You need to think, in order to write good code, in any language. Even then some languages are uglier than others. All my PHP code looks awful in comparison to my ruby code. Even with the same expertise level, the issue remains th…
Re: Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
#29Earlier quoted context omitted.
Many of those "lots of FP features where it makes sense". were already present in Smalltalk. Especially anything related to lambdas, map, filter and co. Something that was lost in most OOP languages that followed suit, until like a decade later.
> Many of those "lots of FP features where it makes sense". were already present in Smalltalk. Good point. And both Java and Ruby borrowed from Smalltalk (according to Wikipedia Kotlin does not, but that is: not directly. Sadly Java did not take Smalltalk's FP inspiration (I guess they were strayed by C++'s lead in that regard), and we needed streams and now Kotlin to fix that :) Smalltalk's syntax never go really po…
A lot of Smalltalk-style syntax was absolutely massive for a decade or so you could argue, at least under the guise of the gazillions of iPhone apps that were written in Objective-C. This random blog post probably does a better job than me:
> https://richardeng.medium.com/apple-has-been-using-smalltalk...