▲ 342 ▼ What are your programming hot takes? (lemmy.ml) submitted 3 years ago by 257m@lemmy.ml to c/programming@programming.dev 894 comments fedilink hide all child comments
[–] xigoi@lemmy.sdf.org 7 points 3 years ago (3 children) No programming language is “natural/obvious/without effort”. permalink fedilink source parent hideshow 6 child comments replies: [–] Walnut356@programming.dev 4 points 3 years ago You could say that about anything. Of course you have to learn something the first time and it's "unintuitive" then. Intuition is literally an expectation based on prior experience. Intuitive patterns exist in programming languages. For example, most conditionals are denoted with "if", "else", and "while". You would find it intuitive if a new programming language adhered to that. You'd find it unintuitive if the conditionals were denoted with "dnwwkcoeo", "wowpekg cneo", and "coebemal". permalink fedilink source parent [–] kaba0@programming.dev 2 points 3 years ago (1 child) Languages also have inner consistency. E.g. the mentioned python len function is inconsistent with the rest of the same language - and that is a statement that is true in itself, without an external reference point. permalink fedilink source parent hideshow 2 child comments replies: [–] xigoi@lemmy.sdf.org 1 point 3 years ago* Yes, I agree that the len() thing in Python, and inconsistency in general, is bad. But pretty much all popular languages have many inconsistencies. permalink fedilink source parent [–] 257m@lemmy.ml [S] 1 point 3 years ago* (1 child) But there are languages that require varying degrees of effort to become natural. Something like Malbolge will pretty much never be natural while something like Python can become natural to you in a few days. permalink fedilink source parent hideshow 2 child comments replies: [–] xigoi@lemmy.sdf.org 1 point 3 years ago Yeah. The original comment was about programmers who say that a language is “unintuitive” because it doesn't look like another language they know. permalink fedilink source parent
[–] Walnut356@programming.dev 4 points 3 years ago You could say that about anything. Of course you have to learn something the first time and it's "unintuitive" then. Intuition is literally an expectation based on prior experience. Intuitive patterns exist in programming languages. For example, most conditionals are denoted with "if", "else", and "while". You would find it intuitive if a new programming language adhered to that. You'd find it unintuitive if the conditionals were denoted with "dnwwkcoeo", "wowpekg cneo", and "coebemal". permalink fedilink source parent
[–] kaba0@programming.dev 2 points 3 years ago (1 child) Languages also have inner consistency. E.g. the mentioned python len function is inconsistent with the rest of the same language - and that is a statement that is true in itself, without an external reference point. permalink fedilink source parent hideshow 2 child comments replies: [–] xigoi@lemmy.sdf.org 1 point 3 years ago* Yes, I agree that the len() thing in Python, and inconsistency in general, is bad. But pretty much all popular languages have many inconsistencies. permalink fedilink source parent
[–] xigoi@lemmy.sdf.org 1 point 3 years ago* Yes, I agree that the len() thing in Python, and inconsistency in general, is bad. But pretty much all popular languages have many inconsistencies. permalink fedilink source parent
[–] 257m@lemmy.ml [S] 1 point 3 years ago* (1 child) But there are languages that require varying degrees of effort to become natural. Something like Malbolge will pretty much never be natural while something like Python can become natural to you in a few days. permalink fedilink source parent hideshow 2 child comments replies: [–] xigoi@lemmy.sdf.org 1 point 3 years ago Yeah. The original comment was about programmers who say that a language is “unintuitive” because it doesn't look like another language they know. permalink fedilink source parent
[–] xigoi@lemmy.sdf.org 1 point 3 years ago Yeah. The original comment was about programmers who say that a language is “unintuitive” because it doesn't look like another language they know. permalink fedilink source parent