F# for C#/Haskell programmer [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
What is recommended tutorial of F# for Haskell programmer? F# seems to borrow a lot from Haskell but there are little traps which makes hard to write.
Generally I need walkthrough the F# which would not explain what is the difference between mutable data and immutable (Haskell is much more strict in this area) etc.
I know C# a little so I know more or less what .Net is about as well.

Since you will already know 90% of the concepts, I would just focus on the syntax, and read e.g. the F# Language Reference on an as-needed basis. Pick a few basic tasks for yourself, try to code them up, use the reference to get un-stuck, and ask questions here when you get really stuck.
(You won't find many docs aimed at you, since the "I know Haskell, but not ML or F#" set of people is much much smaller than the "I know C#, but not Haskell, ML, or F#" group.)
(You might also consider picking and choosing from my blog; I write both beginner stuff and advanced stuff.)

Free:
The F# Survival Guide
F# Wiki Book
Good books:
Programming F# for beginners
Expert F# for those who already write simple F# programs

Related

Good Implementation of Aspect oriented Programming reference required [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have been reading about (AOP) Aspect Oriented Programming and I could not find any good article on internet with its implementation in C#. Everyone are talking about AOP Frameworks.
The code the described in below reference is not working at all.
http://www.codeproject.com/Articles/11387/Aspect-oriented-programming-in-NET-Part-II
Can someone share any good implementation code on aspect oriented programming?
Or Else suggest a good AOP Framework to be implemented easily?
As, we are in need to implement AOP in our Project for logging printing and sending mails on completion of specific operations.
Have a look at PostSharp. It is a framework for AOP in .NET that is widely used. In contrast to other frameworks, it uses an approach that weaves the generated code into the intermediate language which is good for performance reasons.
On the website there are also lots of resources about AOP in general and how it can be used. There also is a free edition and a trial version.
However, if you need to only decorate some small portions of your code, using the Decorator pattern or something similar might also be an option.
http://www.codeproject.com/Tips/624586/Introducing-the-KingAOP-Framework-Part-1 seems to fit your need (I've not yet tested it though)

Is there a Model Checking software (like Java Path Finder) but for C#? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
<EDIT>
About this question being off-topic and too opinion-based, I'll try to be more clear. My goal was to undestand if such a tool existed, I was not interested in opinions about what was the best one. At the time I wrote this question I spent quite a good amount of time searching the internet and found just old dead projects but such a tool for java existed and I couldn't belive there were nothing for c#.
I think this question is related to programming (code verification), and it is not really asking for an opinion. Also, it's still not easy to find this information and I think my answer could help saving someone's time.
That said, I'm not an expert of stackoverflow, if you still think the question/answer does not fit the site feel free to delete it.
</EDIT>
I've found Moonwalker http://fmt.cs.utwente.nl/tools/moonwalker/ but the last update has been done in 2009 and i don't think it supports .net4.5 (and it's poorly documented).
The answer to this question propose CodeContracts as a model checking tool Model checking tool c# but I've tried using it and I don't think it really is a model checker, not in the same way Java Path Finder for Java is. Im i worng? Can it be used like JPF?
I need to be able to known if a certain part of code is designed in a way that can deadlock. Let's say it's a school thing and even if I'm sure my code is working I must model check it. (Yes we are allowed and encouraged to look on the internet).
As the user #HighCore said, and after lot of searching i can say that a mature and up-to-date tool like the one I described does not exist.
Model checking refers usually to explicit methods, however symbolic methods are equally advanced and arguably more capable for establishing properties of actual code.
For a Turing complete language, the verification problem is undecidable, so model-checking tools usually accept a less powerful language as input. This implies having to convert your problem to that language, before checking. This is why you have not come across any "C# model checking tool".
Have you looked at Boogie and the C#-like Dafny ? These are (essentially) for annotating with Hoare logic.
Alternatively, you can consider model checking your C# solution after (manually) translating it to Promela, then using SPIN.
Related tools (e.g. C-to-Promela translators) are listed here.

Where can I learn to refactor code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Where can I learn to refactor code?
Books.
See http://www.amazon.com/Refactoring-Improving-Design-Existing-Code/dp/0201485672/ref=sr_1_1?ie=UTF8&s=books&qid=1279262199&sr=1-1
You can learn on the job by using a refactoring tool such as Resharper and asking yourself, why is it suggesting this change? It will show you places where you can make your code simpler as well as which code is not being used any where. One you have taken this first step, it is easier to see what your code is doing and then you can perform your manual refactoring as suggested by the other answers.
Refactoring - C# Tutorials | Dream.In.Code
http://www.dreamincode.net/forums/topic/77242-refactoring/
C# 2.0 Code Refactoring
http://www.premier-club.com/codemag/Article/20143
See Martin Fowler's material: http://www.refactoring.com/
His articles are very good, recommended to anybody who wishes to learn beyond the basics
of just writing code.
Robert Martin's blogs (Uncle Bob) are also excellent.
In practise, choose any IDE which supports common refactoring like Eclipse or IntelliJ (latter is my favorite). But it's just a tool -- it helps to learn what are the reasons why a piece of code should be refactored and how.
Fowler's book is a good place to begin, but before doing any refactoring you should make sure you have automated tests for your code. Refactoring without tests is risky at best.
Visual Studio supports the most common refactoring operations, but you may also want to take a look at Resharper, which adds additional tools.
Head over to LosTechies and have a look at the ebook 31 days of refactoring, its an easy way to start.
Then as others here have said, read Fowler's book when you have the time.

visual c# training [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Good Day
I'm self training myself in visual c#, I need some advice in learning it as quickly as possible, Is there a good study-guide or book that I can purchase for ms visual c#
Have a look at these:
Quickest approach to learn C# programming
https://stackoverflow.com/questions/72893/whats-the-best-way-to-learn-c-quickly
https://stackoverflow.com/questions/287927/best-way-to-learn-c
Start learning C# without knowing C?
... and lot's of other similar questions!
Quickest approach to learn C# programming
Best way to learn C#
Head First C#
Head First C# is a complete learning
experience for object-oriented
programming, C#, and the Visual Studio
IDE. Built for your brain, this book
covers Visual C# 2008, Visual Studio
2008, and the .NET Framework 3.5, and
teaches everything from language
fundamentals to advanced topics
including garbage collection,
extension methods, and double-buffered
animation. You'll also master C#'s
hottest and newest syntax, LINQ, for
querying your data in .NET
collections, SQL databases, and more.
A great way to learn any language is to pick some project that you're interested in and that sounds feasible, but perhaps just outside your level of knowledge/expertise/comfort, then implement it. This will allow you to learn while doing, and not only while doing, but while doing something you're interested in. Being interested in what you're doing will increase your engagement and your hunger for learning more about the language so that you can implement your project.

What are the best blogs for staying up to date on C#, ASP.NET, LINQ, SQL, C++, Ruby, Java, Python? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Apologies if this repeats another - but I couldn't fine one like it.
My day to day programming spans a fair number of technologies: C#, ASP.NET, LINQ / SQL, C++, Ruby, Java, Python in approximately that order.
It's a struggle to keep up to date on any of best practices, new ideas, innovation and improvements, let alone all.
Therefore, what would your top 1 blog be in each of these technologies and which technology do you find easiest to stay up to date with? I'd have a bias towards blogs with broad and high level rather than narrow and detailed content / solutions / examples.
InfoQ covers most of those subjects, plus you can tailor it to only list the things you are interested in. I'd suggest the ADO.NET blog for Linq to SQL.
I have always rather enjoyed Eric Lippert's blog "Fabulous Adventures In Coding". It's not great for staying up to date with the latest technologies but does deal with a lot of the intricacies of C# / .NET. A great site to hone your C# skills.
I like:
4 Guys From Rolla for ASP.NET stuff
RailsCasts for Ruby on Rails (but I'm new to Rails so it is more tutorial stuff), and
Coding Horror for process/big picture stuff.
Of course, Stack Overflow itself is pretty valuable...
Scott Guthrie for ASP.NET, Silverlight and MVC.
http://weblogs.asp.net/scottgu/
Python: http://planet.python.org/
Ruby: http://www.rubyflow.com/
Both those links are aggregators, you can often pick up a few more useful blogs etc. from articles posted on those sites.

Categories