Whatever happened to Intentional Programming paradigm?

  • Thread starter Thread starter elcaro
  • Start date Start date
  • Tags Tags
    Programming
AI Thread Summary
The discussion centers on the concept of Intentional Programming and its effectiveness in software development. There is a noted similarity between Intentional Programming and Domain Specific Languages (DSL), as both aim to enable concise expression for specific problem domains. The conversation also touches on the tendency in software development for ideas to be rehashed or rediscovered over time. A distinction is made between intentional coding, where every piece of production code serves a clear purpose, and unintentional coding, where code is created through trial and error without a full understanding of the system. The notion that unintentional code can eventually yield valid results is mentioned, albeit with skepticism about the efficiency of such an approach. Overall, the dialogue reflects on the balance between intentionality and experimentation in programming practices.
elcaro
Messages
129
Reaction score
30
TL;DR Summary
Almost all existing programming languages work at the basis of source files (text format) that gets compiled/linked into executable code or interpreted. A different approach (such as utilized by Intentional Pogramming) stores program source not in text format but in its abstract syntax tree (AST). The approach here is similar to how relational databases work, avoiding redundancy. For example objects are identified by some key, while their names are just labels stored at only one place.
Has the approach towards programming, like for instance that of Intentional Programming, been proven to be fruitfull?
 
Technology news on Phys.org
I was not familiar with the specific concept of Intentional Programming before you mentioned it, but at a glance it seems to me that there is some overlap with the concept or pattern of Domain Specific Langauge in that both allow programmers to express themselves in way that is concise for a particular problem domain. I am not aware if any such overlap is accidentally or if part of IP went on to influence DSL (which seems a bit younger than IP). At least its quite common in the software business to see some of the same ideas being rehashed or rediscovered in quite many different incarnations over time.
 
  • Like
Likes elcaro and jedishrfu
I favor the unintentional school of programming where one writes code not fully understanding the application or system and hopes not to make unintentional errors.
 
  • Haha
Likes berkeman and Filip Larsen
jedishrfu said:
I favor the unintentional school of programming ...
I actually first thought OP was thinking about the principle of intentional code, i.e. that all pieces of (production) code present should be there for a known and valid reason and not just because you hit it with a hammer (e.g. trial and error) until it magically worked. The hammer is reserved for experimental code only.
 
Filip Larsen said:
I actually first thought OP was thinking about the principle of intentional code, i.e. that all pieces of (production) code present should be there for a known and valid reason and not just because you hit it with a hammer (e.g. trial and error) until it magically worked. The hammer is reserved for experimental code only.
Normally code is written by monkeys, but you need a whole bunch of them and lot of time, before some unintentional valid code emerges...
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top