paradigms

Any sucess using UI-based program structuring?

Have you ever structured your source code based on your user interface parts? For example if your UI consists of: GridView for showing some properties 3D rendering panel panel for choosing active tools , then you name and group your variables and functions more or less in the following way: class Application { string Properties...

High Granularity Adaptive Society of Agent Software?

Hi, I was thinking about how our society incentivizes behaviors by a collection of free individuals, so that the work of those individuals fulfils the requirements of the society as a whole. For example, people contribute by working, earn money, and use that money to gain a fair share of the contributions of others. It works for the mos...

Recommendations for Acquiring Concepts?

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...

What technology should I delve into next?

I'm an experienced C#, ASP.Net, and Flash ActionScript developer. I'd I really like to keep learning new and exciting things. The upside is right now it seems like there are a lot of very interesting things to learn. The downside is that as a new parent, my time is limited. So I'd like to stick to learning something that might help me m...

Programming paradigm with heavy OO constraints

Hey. I remember reading somewhere about a programimng paradigm that has very tough restrictions about OO. It forbids nested ifs and elses entirely, avoid functions in the global namespace not associated with a class, and stuff like that. It's supposedly pretty famous. Does anyone know how it is called? Thanks. I'll give an example. This...

declarative programming and imperative programming

hello, I am studying two main paradigms of programming, declarative and imperative paradigm. I am having a hard time following the ambiguous statements made on my textbook and wikipedia, such as: declarative: - focuses on "what" the computer is to do. - is free of "side effects" - without control flow imperative: - focuses on "how" t...

newbie to OO question

My question pertains to windows forms Let's say I have a combobox for customer and orders, and depending on the selection made on those comboboxes I populate a datagrid for all the Order details. I am interested in a double click event within the datagrid row. Upon the event 2 things can happen: the record was deleted. one or both ...

How can I start designing my program on paper without over engineering things?

I'm interested in starting to properly design my software on paper before I ever start coding. What is the standard approach for this? I'm thinking something along the lines of UML but I feel that it's a bit overkill for a one-man project. What are some of the things professionals say is best to do when developing hobby projects? Anti...

What is data oriented design?

I was reading this article (note: click the magnifying glass to zoom to be able to read it), and this guy goes on talking about how everyone can greatly benefit from mixing in data oriented design with OOP. He doesn't show any code samples, however. I googled this and couldn't find any real information as to what this is, let alone any ...

PHP IF statement for Boolean values: $var === true vs $var

I know this question is not really important.. however I've been wondering: Which of the following IF statements is the best and fastest to use? <?php $variable = true; if($variable === true) { //Something } if($variable) { // Something } ?> I know === is to match exactly the boolean value. However is there really any im...

How does "Language Oriented Programming" compare to OOP/Functional in the real world

Hi everyone! I recently began to read some F# related literature, speaking of "Real World Functional Programming" and "Expert F#" e. g.. At the beginning it's easy, because I have some background in Haskell, and know C#. But when it comes to "Language Oriented Programming" I just don't get it. - I read some explanations and it's like re...

Which programming paradigm should be taught first to kids?

When introducing basic programming concepts to kids for the first time, what paradigm is best to start with? What research has been done in this field? ...

datatype programming

I know of "imperative" and "functional" programming but there was little I could find on "datatype" programming. Is there such a thing and how is it related to the other paradigms? ...

What is graph oriented programming?

What is GOP and does it relate to either the maths or data structure definitions of graphs? How does it compare to aop, oop, functional, logic or other paradigms? ...

Functional Programming Documentation

Is there any standard documentation (like UML for OO) for functional languages? After downloading couch db which is written in erlang and looking at the source code I was shocked, there is hardly a line of documentation. Is there no need to document how all these functions depend on each other? Are there better documented medium size pro...

How to introduce AOP into productive software development?

I know this question has been asked before, but this was one and a half years ago, though I thought it might be the time for a re-questioning. I also recognized it might be seen as subjective, but I guess there are objective reasons for/against AOP. I would be interested in who is using AOP in software development and also why or why no...

Why does OpenGL have global functions?

Hi there , Why isn't openGL object-orientied? Everybody teaches Object Orientated Programming + Design Patterns, but OpenGL has many global functions. Isn't this bad style? ...

Examples of relations between philosophical concepts and development paradigms

During your development experiences have you found any relation between philosophical concepts and development paradigms? Although, there is no hard reciprocity, I think that learning about those relations gives clarity on methodologies/paradigms/process understanding. Or at least should be inspirational. I've found some examples: He...

Paradigms in menu bar layout/design

Doing some restructuring on the my applications menu bar. When looking at other applications, there seems to be two different ways of structure. Either the "old school" most common way, the verb/command followed by the subject. I.e. what do you want to do and what do you want to do that on. Like so: File New Foo Bar Open Foo Bar ...

If Java people go to Scala, C# go to F#, where do Ruby people go for functional nirvana?

I know alot of Java people have started looking at Scala since it runs on the JVM, and alot of people in the Microsoft world are looking at F#, but what does Ruby have as a natural functional successor? In a pure FP sense Ruby doesn't lack anything, instead it has too much some may say. A functional language forces the programmer to not...