daveverse on Nostr: Programming language design should follow the half of Postel’s Principle that says ...
Programming language design should follow the half of Postel’s Principle that says be “conservative in what you send.” There should be one way to do anything, not many. That way I can include your code in mine and vice versa. I can understand what you’re doing. Tools can be developed that make it even easier to do things the only way they work. New programming languages if they really are necessary should strive to simplify the programming model, there should be less things for the developer to worry about, the more easily new ideas can be developed, the less attention you have to pay to how you’ll do something over what it does. I actually don’t support the other half of Postel, in everything but user interface where I do support it. I don’t think in general software interfaces should be liberal with what they understand because that defeats the first half. They sort of zero each other out.
https://daveverse.wordpress.com/2024/11/02/postel-and-programming-languages/Published at
2024-11-02 22:06:54Event JSON
{
"id": "632eeba615df270630bb3a9a95f3d4bf08a4401e40512599464540b90c585782",
"pubkey": "7f47045cf0d1f84573cbef5d9b4768414e35a376d7743542780b0510aa8bf2bc",
"created_at": 1730585214,
"kind": 1,
"tags": [
[
"proxy",
"https://daveverse.wordpress.com/?p=391",
"activitypub"
]
],
"content": "Programming language design should follow the half of Postel’s Principle that says be “conservative in what you send.” There should be one way to do anything, not many. That way I can include your code in mine and vice versa. I can understand what you’re doing. Tools can be developed that make it even easier to do things the only way they work. New programming languages if they really are necessary should strive to simplify the programming model, there should be less things for the developer to worry about, the more easily new ideas can be developed, the less attention you have to pay to how you’ll do something over what it does. I actually don’t support the other half of Postel, in everything but user interface where I do support it. I don’t think in general software interfaces should be liberal with what they understand because that defeats the first half. They sort of zero each other out.\n\nhttps://daveverse.wordpress.com/2024/11/02/postel-and-programming-languages/",
"sig": "76bf54e1fbf2db3b7f4a419ad75bb3499726726b715a58fcb759e99cad9d999f84288de227d92f3af8b5b750307d2df47906bb1d407fff069262faffeefd6bb7"
}