153 karma · joined Apr 7, 2016 (10y ago) · 79 submissions
comment 9y ago · link · parent
As for me, I also use the awareness of manager to the developer needs to be productive, give best ROI and would definitely use that to select a job.
comment 9y ago · link · parent
There are ways a C# aficionado would take to try to not be so verbose, but those solutions won't be considered idiomatic by 99% of C# developers.
At the end of the day, codebase size matters a lot.
comment 9y ago · link · parent
* mutable by default
* OO by default
* null by default
* structural equality a pain to implement
* immutable types a pain to implement
* verbose syntax / failing at the DRY principle
* statement based rather than expression based
* large codebase following those idioms
I don't think they'll not remain popular, but I think a more important share of people will eventually "get it" that there are alternative approaches which are sound, same or greater potential to achieve and thriving eco-system.
comment 9y ago · link · parent
C# isn't going to dwindle because F# expands, if F# expands C# wins because F# has ability to appeal to developers on non .net platforms, where C# isn't seen as appealing, and F# has ability to bring outstanding projects and idioms to .net eco-system.
Take the returns on investment made with C# all those years and invest a fair share in F#.
The main reasons F# is not picking up have been stated, and I face this situation at my work where my use of F# is put on hold because Microsoft is not investing in it much and my colleagues have the feeling C# is "good enough" which is very short sighted perspective.
comment 9y ago · link · parent
Regarding VB, the language is used by many people whose main occupation is not software development, and even for those doing software there are many who find C# or similar looking languages aren't a panacea (I do, and have around 15 years of C# experience).
In some cases VB is also less redundant than C#, it has better type inference for example.
I'm sure plenty of pascal/delphi developers are also fine without C#.
You should understand that other languages than C/C++/C# make different syntax choices, and it is not hurting C# in anyways that such language exist and prosper.
Note that I had a lot of prejudice against VB but I came back from that perspective, and in the meantime, I feel additions to C# language push it in territory where the syntax is getting really noisy / clumsy (I've picked up F# so I use that it as a metric).
41.
Digging Deeper into the Visual Basic Language Strategy(blogs.msdn.microsoft.com ↗)
2 points · by smoothdeveloper · 9y ago · discuss
42.
FSCL: F# to OpenCL compiler and runtime, 2014 thesis [pdf](github.com ↗)
2 points · by smoothdeveloper · 9y ago · discuss
comment 9y ago · link · parent
For me this is the reverse, having assignment (to verbose and often redundant named identifers) interrupting the flow adds a lot of visual noise compared to an expression using chaining functions (using say |> operator in F#).
45.
F# advent calendar 2016(sergeytihon.wordpress.com ↗)
5 points · by smoothdeveloper · 9y ago · discuss
comment 10y ago · link · parent
brew install mono
brew cask install visual-studio-code
once you are in vscode, install ionide: http://ionide.ioYou are ready to script (or more) with a great / lightweight editor.
comment 10y ago · link · parent
It seems the feature was implemented to answer the concern of interop with C# (which in future v7 will have shorthand syntax only for System.ValueTuple but not for System.Tuple), the language might later add better support for deconstruction without the extra keyword.
For tuples which remain local, the compiler is generally good at eliding those (but not in all cases, if it is a concern, always check the optimized compiled output).
comment 10y ago · link · parent
comment 10y ago · link · parent
I'm not sure if it is integrated to ionide yet.
comment 10y ago · link · parent
comment 10y ago · link · parent
https://github.com/pblasucci/DeepDive_ActivePatterns
This feature allows to encapsulate conditional matching on arbitrary input and dispatching.
For those who know ML, it is making the concept of pattern matching extensible to any construct.
53.
The Language Integrated Quantum Operations Simulator(stationq.github.io ↗)
1 points · by smoothdeveloper · 10y ago · 1 comment
comment 10y ago · link · parent
The GUI seems to basically expose all the command line arguments in a simple UI, which is great for a developer tool, it would be nice to also see the corresponding command line generated by the tool.
"This Is What Happens When You Let Developers Write Blog With Clickbait Titles"
comment 10y ago · link · parent
The proper way to do it with paket would be:
* get rid of the Dependencies project (it was a side effect of trying to cope with the pain of using raw nuget)
* add a paket.dependencies at the root of your repository listing all nugets used across the solutions
* next to each project, add a paket.references file with the names of the dependencies (only top level, you don't need to list transitive ones)
running the convert-from-nuget command should practically work out of the box if you don't have far out inconsistencies (which I believe you managed by reducing amount of packages.config files), but I'd recommend to do another round of sanitization similar to what I'm describing.
I think if you give it half a day of studying / using paket on a smaller repository, you'll figure out all the things you need to accomplish migration on a large scale repository, after which you'll be recouping benefits any time you need to adjust references in projects / add or update nuget packages.
comment 10y ago · link · parent
If you were tasked to implement a project because first implementation failed, would you even read the first implementation or just base your work on the specification?
comment 10y ago · link · parent
You can also integrate the restore part to msbuild so it works out of box from visual studio, msbuild, teamcity, whatever.
People prefer though to have separate restore packages step, the same way people prefer to use a better tool than raw msbuild to orchestrate build tasks (tool such as FAKE http://fsharp.github.io/FAKE/).
comment 10y ago · link · parent
Maybe you are unaware of that?
F# is a pretty good general purpose programming language and that is what the title and article tries to promote (albeit it doesn't give enough and diversified examples).
F# is also a reasonably easy programming language which puts emphasis first on "functional programming" (which you frame as hot keyword, I doubt the language was made to fill a hot keyword).
I don't know about the for pay contents of fsharp.tv, but I gather they might be introductory and try to bring understanding of "functional programming" aspects to an audience which isn't versed in it, it is sure good for them if "functional programming" is a hot keyword and people are looking for training material to pickup that language, but I wouldn't dismiss that as being spammy.
Chill out dude :)