@mjblacker There are Roslyn analysers to stop this kind of thing. It makes sure that you dispose of every IDisposable after use. With the modern using syntax, it's quite elegant.
Had a massive memory leak in my dotnet (F# BTW) app.
Checked after a day of running and it was using over 20gb of ram!
How was I to know the the X509Certificate2 object I was using actually needed disposing, no warnings or errors.
How do I know this before I thrash a server?
@ksigmund@AntyaDev Did you try Python? I worked in a successful team for two years and like half the team never used the debugger bc they couldn’t make it work all the time. Typing sucked, even with Pycharm and Mypi.
You would run back to F# ionide all day!
F#, in general, has so much better tooling compared to the past.
Also, F# 8 brings a bunch of nice and elegant additions to the language. However, I can't get why C# folks continue arguing about C# and a set of missed features and don't even try F#.
#fsharp#csharp#dotnet
@Geo75Geo@rivovasta@KendrickLacogne@LCyclable Eh bien étonnamment peu d'accidents en journée heure de pointe à Phnom Penh où c'est pareil, car tout le monde conduit lentement (moins de 30!). Aucune grosse voiture ne fait le fou, sauf ceux de la police/gouvernement/armée...
Jusqu’à où peut-on fonctionner sans feux ?
À vrai dire, jusqu’à assez loin. Beaucoup plus que ce qu’on s’imagine dans les pays occidentaux.
C’est surtout une question de ce qu’on accepte de sacrifier. (À commencer par ses oreilles 📣)
@MaxBiot@JLeSaltimbanque@LCyclable@HowThingsWork_ C'est au Cambodge, l'unique ligne de chemin de fer Phnom-Penh vers le port de Sihanoukville passant par Kampot, si vous y êtes déjà allés en vacances. Là bas, la marque du statut, si t'as pas un 4x4 t'as raté ta vie. Alors nous à vélo... 😅
Seems that my team(s) are moving from .NET C# to Python (and GO?) for new projects and services; this is an interesting development since it just happened as a part of natural progression.
(C# will remain for performance-intensive code)
@compositionalit I struggled all afternoon yesterday trying to make Tailwind work on a #fsharp Fable setup, many templates having evolved since last year :)
In the tutorial, the project won't compile until tailwind.config.js is moved to the root folder (instead of the Client folder as mentioned)
friendly reminder for those getting started with #fsharp
Just because there's a List/Array/Seq module it doesn't mean using things like "for" or "while" are forbidden, as you learn the language things will become clear, for the moment focus on exploring. Idomatic can come later!
I wish #dotnet would let me define an extension method in any class, not just a static class.
Anyone knows why the limitation? /cc @terrajobst@jaredpar
@efonsecabcr@buhakmeh@msftorleans Even as a small wine importer, I am having good use of Orleans to get real time view of my distributed inventory stock, with data aggregated between my CMS and invoicing system. It can be used just like a distributed cache in a $5 Digital Ocean droplet
@buhakmeh@msftorleans Not really, Orleans is more for enterprises scalable platforms, plus, by being a framework you need to adapt to its rules which has some cons making it not suitable for everyone.
@code@IonideProject#fsharp has been an absolute game changer for me. This really should be taught at Universities as a first language imho. Unless you want to do systems level programming or Operating System development it really can be the one language to rule them all 😀
Some called it the "dream job". Someone in our team said it's the best mission he ever worked on. We're still hiring!
C# + F# + DDD + CQRS + ES.
No primitives. No null. Railways oriented programmation. TDD.
Come and help us improve our practices even more.
DM to apply.
Please RT.