592 karma · joined July 9, 2017
(mac, linux, windows, ios, android, web)
I’d love to ban ads from public spaces and most of the internet.
With JetBrains Rider ist a great experience
Would buying quantum computing stocks be a good idea now?
Take a look at F# and Fable (F# to JS compiler)
Couldn't you just use Rust + OpenGL/SDL2/.. or even AppKit if macOS is the only supported OS?
I get your example of ‘seq { 1; 2; 3; }’ but list, array are not even shortened.
- JetBrains Rider (best IMHO)
- Visual Studio for Mac
- VS Code with Ionide
F# is beyond microsoft, a lot of early adopters are still there.
1. No standard and easy way of implementing interfaces
No problem in F#, you have interfaces, abstract classed, ...
2. Bad standard library
In F# you have access to the full .NET standard library and ecosystem. There are also quite a lot of libraries that are especially designed to take advantage of F# (SQL libs for example).
3. Syntax problems
3.1 OCaml doesn’t have a single-line comment syntax.
It's `//` for single line and `(* comment *)` for n line comments in F#.
3.2 It has for and while, but no break and continue. So you use exceptions with a try inside the loop for continue, and outside for break.
Same in F#, use recursion.
Generally F# solves some of the issues but definitely not all of them. Some are just in the nature of the Standard ML syntax I guess.
4. Rest of the package is also not that good
- NuGet is a decent/good package manager. - Easy to install a complete dev env. - sane build system (MSBuild) - Great out of the box support in JetBrains Rider/ Visual Studio (for Mac/ Windows) or via a VS Code plugin (Ionide).
Wonder if something like FuncUI [1] could be built on top of it.
A lot of people buy cheap $no-brand phones that probably don’t get (any) updates.
Nexus 5X & Nexus 6P (released September 2015) - last update January 2019 [1] ~ 2.25 years Pixel & Pixel XL (released October 2016) - 2019 (can't find a good reference) ~ 3 years Pixel 2 (released October 2017) - December 2020 [2] ~ 3.3 years
[1]: https://9to5google.com/2018/11/07/nexus-6p-and-5x-final-guar... [2]: https://www.androidpolice.com/2020/10/05/pixel-2-and-2-xl-re...
My conclusion: an iPhone outlives (at least) 2+/3+ android phones
Repairability is a fair complaint - but the initial lifespan of $android is max 2 years. I consider it broken once it does not receive security updates. So $android phone is “broken” after 2 years.
Were running .NET 6 + F# in production with ~4 developers and its been a breeze.