Whatever happened to Intentional Programming paradigm?

  • Thread starter Thread starter elcaro
  • Start date Start date
  • Tags Tags
    Programming
Click For 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
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...
 
Anthropic announced that an inflection point has been reached where the LLM tools are good enough to help or hinder cybersecurity folks. In the most recent case in September 2025, state hackers used Claude in Agentic mode to break into 30+ high-profile companies, of which 17 or so were actually breached before Anthropic shut it down. They mentioned that Clause hallucinated and told the hackers it was more successful than it was...

Similar threads

Replies
34
Views
702
  • · Replies 32 ·
2
Replies
32
Views
7K
Replies
65
Views
4K
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K