On Thursday, 28 October 2021 at 07:45:38 UTC, jfondren wrote:
>uni: ∨∧
asc: v^
Only that ^ atm is used as xor, not and :-(
(uh, writing such a sentence makes very clear, why using words instead of symbolic operators is such a bad idea)
October 28, 2021 Re: Worst ideas/features in programming lang | ||||
---|---|---|---|---|
| ||||
Posted in reply to jfondren | On Thursday, 28 October 2021 at 07:45:38 UTC, jfondren wrote: >uni: ∨∧ Only that ^ atm is used as xor, not and :-( |
October 28, 2021 Re: Worst ideas/features in programming lang | ||||
---|---|---|---|---|
| ||||
Posted in reply to jfondren | On Thursday, 28 October 2021 at 07:45:38 UTC, jfondren wrote: >uni: ∨∧ I think you would have to write to the authors to find out all the alternatives they gave. I don't know if they provided "^" or not. |
October 28, 2021 Re: Worst ideas/features in programming lang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | On Thursday, 28 October 2021 at 08:54:35 UTC, Ola Fosheim Grøstad wrote: >On Thursday, 28 October 2021 at 07:45:38 UTC, jfondren wrote: >uni: ∨∧ I think you would have to write to the authors to find out all the alternatives they gave. I don't know if they provided "^" or not. Ok, so I read the article again and they did and they were ranked low for OR: The three lowest ranked for non-programmers: "v", "^", "nor" I don't know how they were ranked for AND. |
October 28, 2021 Re: Worst ideas/features in programming lang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | On Wednesday, 27 October 2021 at 18:35:24 UTC, Ola Fosheim Grøstad wrote: >On Wednesday, 27 October 2021 at 17:41:40 UTC, Basile B. wrote: Yeah, that's a point of agreement. |
October 28, 2021 Re: Worst ideas/features in programming lang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Thursday, 28 October 2021 at 10:34:28 UTC, Basile B. wrote: >On Wednesday, 27 October 2021 at 18:35:24 UTC, Ola Fosheim Grøstad wrote: >On Wednesday, 27 October 2021 at 17:41:40 UTC, Basile B. wrote: Yeah, that's a point of agreement. BTW "to bool", as you saiy, is not an implicit conv... it's more a special case that only happens when a condition is evaluated so That detail is important to understand why pascal |
October 28, 2021 Re: Worst ideas/features in programming lang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Thursday, 28 October 2021 at 10:41:23 UTC, Basile B. wrote: >On Thursday, 28 October 2021 at 10:34:28 UTC, Basile B. wrote: >On Wednesday, 27 October 2021 at 18:35:24 UTC, Ola Fosheim Grøstad wrote: >On Wednesday, 27 October 2021 at 17:41:40 UTC, Basile B. wrote: Yeah, that's a point of agreement. BTW "to bool", as you saiy, is not an implicit conv... it's more a special case that only happens when a condition is evaluated so That detail is important to understand why pascal it's because it does not do that. If it does, then |
October 28, 2021 Re: Worst ideas/features in programming lang | ||||
---|---|---|---|---|
| ||||
Posted in reply to jfondren | On Thursday, 28 October 2021 at 07:45:38 UTC, jfondren wrote: >On Thursday, 28 October 2021 at 07:17:00 UTC, Ola Fosheim Grøstad wrote: >On Thursday, 28 October 2021 at 07:05:47 UTC, Dom DiSc wrote: >I would strongly prefer ∨ for or, ∧ for and (and ⊻ for exclusive or btw) and I think ~ for cat is a good choice (and far better than +), but I would prefer ∘. "v" was available, but I don't think they got unicode alternatives. uni: ∨∧ In case anyone is unfamiliar with it, Notation As A Tool Of Thought (Iverson) |
October 30, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On Thursday, 14 October 2021 at 16:48:12 UTC, Atila Neves wrote: >On Monday, 11 October 2021 at 21:41:45 UTC, monkyyy wrote: > >
Interesting. What is it about safe by default that would worry you? verbosity |
October 31, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote: >I'm brainstorming about what I'll talk about at DConf, and during a conversation with Walter I thought it might be cool to talk about:
Ideas? Examples? Thanks! It's not a big one, but I find C#'s enumeration type to be almost completely pointless in web development because it will deserialize invalid values. If you have
Also, there might as well be methods on C#'s enum, so it's pretty much a complete failure. |
November 01, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote: >
Python: Assign operator meaning different things in different context Python passing by reference unless it doesn't:
Concerning the "or" vs "||" discussion, as a non-native English speaker, I learned programming as a teenager with barely any English knowledge, and was attracted to the C/C++ syntax as it depends less on English compared to Pascal's syntax. An English-agnostic programming language would be nice to help non-native English speakers to get into programming more easily, but how would you replace keywords like "if", "while" or "for"? |