I've read the Wikipedia articles for both procedural programming and functional programming, but I'm still slightly confused. Could someone boil it down to the core?
...
Many of us have two or more CPU cores on our desktop today. Most applications work quite similarly to what they did when we had only one core.
But what when a typical desktop machine has 1000+ cores?
What programming paradigms will we use then. Our current threading and synchronization solutions seldom scale well to that many cores.
...
I have heard of many and studied several, are there others that I've missed? I have studied:
Procedural
Object Oriented
Functional
DataFlow
Declarative
Logic
Total Functional Programming
I'm looking for 'whole' paradigms for study, such as the above, that tend to fit a boundary around how you express a program - Aspect Oriented Prog...
I've been reading about Ocaml's consistent speed, rapid prototyping ability, and excellent memory management, and decided to take it up.
As I've already got Ruby, *lisp, Haskell, and Erlang under my belt, I'm interested specifically in what KISS-violating features I should look out for in Ocaml.
If you've started Ocaml with a backgroun...
Like most developers here and in the entire world, I have been developing software systems using object-oriented programming (OOP) techniques for many years. So when I read that aspect-oriented programming (AOP) addresses many of the problems that traditional OOP doesn't solve completely or directly, I pause and think, it is real?
I hav...
What are the differences between these programming paradigms, and are they better suited to particular problems or do any use-cases favour one over the others?
Architecture examples appreciated!
...
As I have read through stackoverflow answers and questions I am getting the impression that OO is compartmentalized to to be inherently imperative.
But isn't OO just a way to compartmentalize code and data into real world Objects?
If so, why would that forgo other lower level paradigm to work in such a platform?
IOW, an Object Based g...
As a software developer dealing mostly with high-level programming languages I'm not sure what I can do to appropriately pay attention to the upcoming omni-presence of multicore computers. I write mostly ordinary and non-demanding applications, nevertheless I think it is important to know if I need to change any programming paradigms or ...
I want to be capable or have knowledge of each type of programming paradigms. Right now I know asm, c/c++ (and meta programming with templates). I touched upon functional programming. I have done python for a taste of a dynamic language and duck typing. Visual basic for event-driven programing along as friendly basic syntax. Now i am rea...
I've been using Dtrace for a while, and as time goes by I've began to wonder what's the programming paradigm of the D language used in Dtrace.
It's not an imperative language, I guess, so that means it's some sort of declarative functional language, but I'm no expert in language taxonomy, so what should the D language officially (or s...
----zvolkov: trying to delete this old question but it won't let me ----
--Note: the question is NOT about programming language paradigms as in OOP vs functional vs. formal logic!--
I'm trying to grok different ways a logic can be expressed in a computer language. The thinking goes along the lines of imperative/declarative but at so...
I'm mostly convinced of the benefits of unit testing, and I would like to start applying the concept to a large existing codebase written in PHP. Less than 10% of this code is object-oriented.
I've looked at several unit testing frameworks (PHPUnit, SimpleTest, and phpt). However, I haven't found examples for any of these that test pr...
This somewhat parallels a semi-frequent discussion on /.. What languages are recommended for someone to learn, based on their concepts, to become a programmer; for instance, many on /. note how object oriented programming seems to them to have 'corrupted' the minds of programmers, and that yes it's a great tool, but only if used appropri...
I have skimmed the online documentation, read the wiki entry, the posts and the blogs, but I'm still puzzled.
What is, in a nutshell, Aspect Oriented Programming ?
Is it simply better then Object Oriented Programming ? Should I unlearn OOP ?
If not, how do I know when to use one or the other ? What are the main differences between the ...
It is well known that different people have different aptitudes regarding various programming paradigms (e.g. some people have trouble learning non-procedural, especially functional languages. Some people have trouble understanding pointers - see Joel Spolsky's blog for musings on that. Some people have trouble grasping recursion).
I wa...
What should I study in order to be a programmer. (except programming languages :) )
I know some C/C++ and some Java(, but I don't have the thinking of a programmer. I probably need to study some algorithms. What is your opinion?
...
I recently had a debate with a colleague who is not a fan of OOP. What took my attention was what he said:
"What's the point of doing my coding in objects? if it's reuse then I can just create a library and call whatever functions I need for whatever task is at hand. Do I need these concepts of polymorphism, inheritance, interfaces, pat...
I have been searching the web looking for a definition for declarative and imperative programming that would shed some light for me. However the language used at some of the resources that I have found is daunting - for instance at wikipedia.
Does any one have a real world example that they could show me that might bring some perspective...
When would you NOT want to use functional programming? What is it not so good at?
I am more looking for disadvantages of the paradigm as a whole, not things like "not widely used", or "no good debugger available". Those answers may be correct as of now, but they deal with FP being a new concept (an unavoidable issue) and not any inheren...
In last few months I have been making a transition from Java to Groovy and I can appreciate many of the benefits it brings: less code, closures, builders, MOP that in the end makes framework like Grails possible, ease with mocking when writing tests etc.
However, I have been “accused” by my coworkers that my code is not groovy enough. ...