Re:The BEAM needs an APL-y language
by skrebbel on Monday April 03, 2023 @10:09AM
(#35423827)
At the risk of hijacking this discussion, i feel like the BEAM needs a TypeScript/C#/Java like language much more urgently. Whenever I go from our Elixir backend to our TypeScript frontend I experience a sigh of relief because my editor tells me instantly whether what I type makes sense and why not.
Re:The BEAM needs an APL-y language
by weatherlight on Monday April 03, 2023 @12:34PM
(#35426809)
Gleam is kinda awesome :) the type system is more like Standard ML tha Java's, but the syntax should be familiar enough for anyone coming from a C like syntax.
I feel the hard part about jumping from something like C# to something like Gleam isn't the syntax, it's learning the semantics. once you learn the semantics, it's easy to pickup new syntaxes, regardless of the language.
Re:The BEAM needs an APL-y language
by Rich_Morin on Monday April 03, 2023 @11:12AM
(#35425043)
The rectangular array is the basic data type for APL. Until fairly recently, the BEAM had no reasonable implementation of this. However, it seems like Nx's tensors might serve...
I feel the hard part about jumping from something like C# to something like Gleam isn't the syntax, it's learning the semantics. once you learn the semantics, it's easy to pickup new syntaxes, regardless of the language.
https://news.ycombinator.com/item?id=35425855
I think much of the same badass code completion would be possible, if we have a live system with real objects to code against.