A good reference for functional programming in C# [closed] - c#

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've searched the web (and evaluated books on online shops) but I'm not satisfied with articles found on the subject.
If you search the web with keywords C# and functional you find a lot of basics or Linq articles.
I'm also disagree with the first reply to this question:
Are the functional programming features provided in C# rich enough? What's missing
After all F# is built on .NET (as C#) and is a functional language widely used and with good reputation.
Is there out a set of good articles, a book or even techniques explained here about good functional patterns that can be profitably used in C#?
As said I'm searching nor introductory material nor guides on specific technologies (like Linq, which I use and love).
I'd like also to hear if a particular technique can be safely exposed to a reusable library Public API (hope this not too off-topic).

Real-World Functional Programming: With Examples in F# and C# [Paperback]
Tomas Petricek (Author), Jon Skeet (Author)
Amazon Link
From the Amazon book description:
Real-World Functional Programming is a unique tutorial that explores
the functional programming model through the F# and C# languages. The
clearly presented ideas and examples teach readers how functional
programming differs from other approaches. It explains how ideas look
in F#-a functional language-as well as how they can be successfully
used to solve programming problems in C#. Readers build on what they
know about .NET and learn where a functional approach makes the most
sense and how to apply it effectively in those cases.

Related

why does c# have more books about LINQ than vb [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm starting a new project to handle info from some text files, a kind of sorting module so I'd like to give it a try using LINQ but looking for a book I realized that there are more c# books than vb, so I wonder if c# have better support or if it is more suitable than vb.
You think there is some advance on use c# or vb.
thanks.
Better question: Why are there more books for C# than VB.
More developers use it. Simple as that.
http://www.telerikwatch.com/2008/04/survey-says-c-more-popular-than-vb.html
Interesting links on Adoption of C# and VB: http://en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Visual_Basic_.NET#Adoption_and_community_support
Most importantly for this question: Stephen Wiley, marketing product manager at Apress has reported "C# titles outsell VB.NET title books handily, by somewhere between a 2–1 and 3–1 margin."
So if you are looking for community support, I would say C# is the way to go, though MS does support both equally.
Generally the languages are the same, but there is a big difference in the perception of the languages and the types of examples and books available. In many cases you'll find more advanced examples in C# and advanced books in C# (not all, but many). You'll also often see people refer to C# as a superior language, not for any real technical reason but really from a matter of perception.
In my personal experience, you'll also see a difference in pay scales for C# developers vs VB.NET developers.
If you're just starting out, then I would recommend C# and not VB.NET. Again, not for any true technical difference, but because of the perception and available learning materials.
At the end of the day, its all syntax - especially in .net, because they compile down to be used by the same runtime engine. Perception is a big part, because c# looks more 'authentic', but its more based on perception. Also, c# syntax is very much like java, which is a language highly reverred amongst programmers. So, the natural progression says that more people will probably use c# than vb, and vb.net's grandfather (vb6) wasn't a good language...hence there are more resources for it..

Good book on design patterns and advanced programming that is not the Head First [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Maybe I'm little morose, but I do not feel comfortable with that book. Anytime I ask someone for a good book on this subject they recommend me Head First.
Is there another "excellent book" that is not the Head First ? More straightforward and less fun.
Thanks in advance.
There's the classic Design Patterns: Elements of Reusable Object-Oriented Software, aka the "Gang of Four" (GoF) book.
The Head First book is great for an introduction to the topic and makes it more approachable and less dry than the GoF book.
This is a great one: Patterns of Enterprise Application Architecture
I found the The Design Patterns Smalltalk Companion to be 'the better' GoF book. It is not as dry as the GoF book (but close) and the patterns are much, much better motivated and explained.
That the example code is in Smalltalk, is IMHO an advantage (even if you don't know the language) but obviously this depends upon personal preferences.
If you want a C# and .Net specific version of Patterns of Enterprise Application Architecture, take a look at Architecting Applications for the Enterprise.
You can also find some bits and pieces about patterns in 'Clean Code', a book some people seem to really like (I personally think it's atrocious).
More practical/language orientated additions to GOF book:
cpp
csharp

C# / Object Oriented concepts book with code examples [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have checked many books but couldn't find any good book. I am interested in book from where I can learn OOP concepts with examples in an easy way. Book like Java Black book
Two excellent books that I would recommend are:
CLR via C# by Jeffrey Richter
and
Clean Code by "Uncle" Bob Martin
Richter's book will give you all of the details about the aspects (programming and OOP capabilities) of C#, and Martin's book will give you guidelines on writing proper code in an OO environment. Martin's book is geared towards Java, but the concepts apply equally to C# (IMHO).
The Head First OOA&D book that Mitch mentions in comments is also excellent. Probably the combination of all three will make you unstoppable. :)
Hope this helps!
I originally learned using Illustrated C# 2005 a little over 3 years ago, a great book at walking you through learning c# and just oop ideas in general.
The newest Edition:
Illustrated C# 2010 : http://www.amazon.com/Illustrated-2010-Experts-Voice-NET/dp/143023282X/ref=sr_1_1?ie=UTF8&qid=1298342637&sr=8-1
OOP principles are not language dependent. The only thing that changes is the syntax, and C# and Java are closely related anyway.
I've tried a couple and the one I found the most straight forward for learning both OOP and C# at the same time was Deitel's How to Program Visual C# 2010. It's probably twice or three times the price of others at Amazon but I considered it money well spent. I should mention that I'm a hobbyist programmer with no computer science background so not sure how it stacks up technically but I really enjoyed it and learned a lot.
I can recommend Pro C# 2010 and the .NET 4 Platform for learning OOP with C# - I have the 2008 version of that book and it covers all the fundamentals - and once you got those down, the book offers much more as well.

Complex Event Processing with C# [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can you suggest me a possible way to get started with CEP in C# ?
By what I mean when I say, get started:
A good book talking about CEP and C#
A library which deals event clouds
Some sample codes using the library
Some good quality codes in general to get a possible feel of the problems
Good blogs
Anything else you might feel necessary to add for someone getting started in CEP and C# will be helpful.
Thanks
Soham
There is no such book. Yet. There is an upcoming book in the next couple of weeks from Manning called Event Processing in Action, it is a 'must read'.
For C#, the obvious choice is StreamInsight from Microsoft. There's a collection of useful links here: StreamInsight Info
Apart from that, there's StreamBase, Oracle CEP Server, ruleCore CEP Server and the open source Esper. Most (not Esper) vendors take a language neutral approach so you would not need to care in which language the CEP product uses when sending events into it.
From your question it sounds as you would like to do CEP programming. Many tools have a higher form of abstraction. For example StreamBase have a nice GUI where you select different functions from a palette of icons and then connect them in order to make it do what you like.
The ruleCore CEP Server has a high level declarative language where you specify the CEP rules using XML. Both these approaches are in my view not programming.
Esper and StreamInsight are good examples of putting CEP functionality in there that can be reached from your normal programming language. So if programming is what you like to do, StreamInsight is a good candidate.
No, StreamInsight does not require learning XML. But even if it would, basic XML is very easy to learn...

Looking for a good book on how to code more efficiently in .net c# [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Most C# developers developers, like me have a good solid grasp on the .net framework and the C# language. But I've yet to come across a book that can take a very good c# developer to the next level of C# mastery.
I am looking for a book that can help me make that transition. Dealing with issues like theory on having more robust C# code when connecting to external systems etc. Error logging techniques, and generally better memory usage, and re factoring.
Anyone know of a good book, that's worth the read?
Jon Skeet's "C# in Depth" is pretty good: http://www.amazon.com/C-Depth-Jon-Skeet/dp/1933988363/ref=sr_1_1?ie=UTF8&s=books&qid=1259183768&sr=8-1
Effective C# and More Effective C# by Bill Wagner come highly recommended
If you're a very good C# dev, you should perhaps look beyond a certain language and technology and try: Domain Driven Design. It's a great book and promotes ideas that help writing great software.
The best book I have found for C# internals is CLR via C# by Jeffrey Richter.
Not a C# book per se, but Design Patterns (Gamma et al) might be a good introduction to more abstract, architectural concepts.

Categories