|
|
_beauw_ wrote: Object-oriented programming is eliminated entirely from the introductory curriculum
Oh good grief. OOP and FP are complementary - there are appropriate uses of each, and lots of inappropriate uses. I couldn't imagine writing an entire application in an FP language, but I can certainly see the benefits of writing pieces of it in FP.
Unfortunately there is always a trend to see one thing as completely better than the other rather than simply better at addressing needs in a specific area.
Marc
|
|
|
|
|
|
OOP is a layer you can put on top of functional programming, too; add encapsulation, inheritance, and polymorphism to a functional language, and you've added OO features.
What constitutes OOP is actually well-defined, but people tend to think in a procedural manner (and produce code that mirrors their thinking).
|
|
|
|
|
jesarg wrote: OOP is a layer you can put on top of functional programming, too;
I struggle with that, because for some indefensible reason, I feel that strays from pure FP. Thoughts?
Marc
|
|
|
|
|
Marc Clifton wrote: because for some indefensible reason, I feel that strays from pure FP.
Don't know about purity, but OOP was really invented with imperative programming in mind. Objects are all about state and FP is largely about stateless programming.
|
|
|
|
|
|
_beauw_ wrote: Many of the issues that lead to Gang-of-Four-style "design patterns" supposedly just disappear, for example.
That's a really good point. Hadn't realized that before. Of course, you know what this begs? A "Design Patterns for FP" book!
Marc
|
|
|
|
|
That sounds more like just one person at MIT that doesn't like OO - (and both statements he makes about it are, in fact, incorrect)
|
|
|
|
|
Nemanja Trifunovic wrote: I don't think using a Lisp - like language (Clojure) is the best way to make Java and C# programmers feel at home with functional programming
I was surprised by this too. Why not use OCaml or F#? Oh well.
Marc
|
|
|
|
|
Emphasizing the differences and avoiding readers creating false cognates by picking a totally foreign syntax?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
If someone who really understands functional programming and how an object oriented programmer thinks would write an article it would be great.
|
|
|
|
|
|
Clifford Nelson wrote: If someone who really understands functional programming and how an object oriented programmer thinks would write an article it would be great.
This discussion is giving me ideas, especially since I'm a newbie FP programmer (been dabbling in it for a year) and my experiences have been painful, rewarding, and illuminating.
Marc
|
|
|
|
|
|
Clifford Nelson wrote: If someone who really understands functional programming and how an object oriented programmer thinks would write an article it would be great.
Hi Anthony - I have a good start on this article and was wondering if you'd be willing to read through what I have at this point and provide feedback?
Thanks!
Marc
|
|
|
|
|
I'm back again, with a somewhat off-the-cuff treatment of a very twisted set of code I use to pretend that C has exceptions. C, being something of a bare-metal language by today's standards, lacks any advanced facilities for managing control flow when errors happen. Most platforms have found their own ways of coping with the situation, some with language features, some with framework conventions, and others by not coping at all. I delve into little-known extensions of C, Linux compatibility, and worst of all, goto, so be warned! Grafting exceptions onto C.
|
|
|
|
|
He did an exceptional job with that!
I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.
Stephen Hawking
|
|
|
|
|
Makes me very happy I am working in C#.
|
|
|
|
|
Here at Factual we apply machine learning techniques to help us build high quality data sets out of the gnarly mass of data that we gather from everywhere we can find it. To date we have built a collection of high quality datasets in the areas of places (local businesses and other points of interest) and products (starting with consumer packaged goods). In the long term, however, Factual is about perfecting the process of building data regardless of the area, so many of our techniques are domain agnostic. In this post, I cover 5 principles we use when putting machine learning techniques to work. Don't ignore the corner cases!
|
|
|
|
|
People don't like it when you move their cheese. They are just trying to get through the maze, they have it all under control and then, poof, someone moved their cheese. Now it's a huge hassle to find it again. Change a hotkey or the case of the menus and all heck breaks loose. I upgraded from Windows 7 Ultimate to Windows 8 Pro. Once it's installed, it's initially confusing but I have been using it every day all day since it was released and have got myself productive again. Here's what I ran into and how I realized that there's less reason to freak out than I originally thought. Should an OS upgrade really require this much relearning?
|
|
|
|
|
I decided it was about time I put all of these resources in one place, so that I remember where they are. The following is a list of Windows 8 developer resources I’ve found around the web. What other helpful resources have you found?
|
|
|
|
|
The technology Microsoft develops ranges from complete junk (re: Bob, paperclip, sealed classes, The 1st X version of Entity Framework) all the way to the completely awesome amazing stuff, like the Node.js SDK & work with Windows Azure for Node.js, Visual Studio can be amazing sometimes too, and there are other things that are really solid pieces of software. So here’s my happy list and not so happy list of Microsoft Software. I love you... I love you not...
|
|
|
|
|
Work's content blocker is stopping this one for "Malicious sources".
While the filters here can be overzealous; this category sounds like malware infested, not stuff you shouldn't be reading at work.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: Work's content blocker is stopping this one for "Malicious sources".
Same here.
|
|
|
|