ibdknox
05/21/2020, 3:43 PMogadaki
05/21/2020, 4:02 PMJared Windover
05/21/2020, 6:29 PMalltom
05/21/2020, 6:43 PMGrigory Hatsevich
05/21/2020, 8:41 PMChet Corcos
05/21/2020, 9:41 PMSteve
05/21/2020, 9:44 PMChet Corcos
05/21/2020, 9:45 PMSteve
05/21/2020, 9:45 PMChet Corcos
05/21/2020, 9:50 PMSteve
05/21/2020, 9:51 PMChet Corcos
05/21/2020, 9:53 PMSteve
05/21/2020, 9:53 PMChet Corcos
05/21/2020, 9:55 PMSteve
05/21/2020, 9:55 PMStart. Open tax folder. Open each 1099. Get the amount earned…… 1000 steps later
VS computer, do my taxes
— The later is better. Drawing: Start. Draw circle. Draw smaller circle inside. Draw 15 lines on top of the circle......
VS Draw an eye.
Less than 0.3% of the world need the former while 99% need the later.alltom
05/21/2020, 10:07 PMSteve
05/21/2020, 10:14 PMibdknox
05/21/2020, 10:32 PMIf this “plain english programming” is compiled ... you have to represent the entire programs state in text.
Why talk to a computer like this? It is very silly.
Steve
05/21/2020, 10:50 PMibdknox
05/21/2020, 10:50 PMSteve
05/21/2020, 10:52 PMibdknox
05/21/2020, 10:57 PMSteve
05/21/2020, 11:01 PMibdknox
05/21/2020, 11:01 PMSteve
05/21/2020, 11:02 PMLanguage, math, art, kinesthetics, and so on are ridiculously general“Programming” is an art and it has many mediums and abstraction layers. Just like in art and language and math, there are differnt requirements at different levels of need. Languages are not abstracted enough… but we do have hope. I can “code” without code already. “Alexa, what is 1+1” It’s basic… yes… but it’s betting smarter. With time, it will do things like
weekly, look at the forecast and adjust the number of drivers required to deliver food by comparing average orders and weather
Start. New cron weekly. set variable weather to accuweather forcast for date…..
ibdknox
05/21/2020, 11:18 PMjosh
05/21/2020, 11:26 PMibdknox
05/21/2020, 11:33 PMalltom
05/22/2020, 12:23 AMibdknox
05/22/2020, 12:42 AMtbabb
05/22/2020, 1:54 AMalltom
05/22/2020, 2:09 AMEddy Parkinson
05/22/2020, 3:36 AMtbabb
05/22/2020, 3:37 AMEddy Parkinson
05/22/2020, 3:59 AMtbabb
05/22/2020, 4:09 AMalltom
05/22/2020, 4:29 AMPut 3 into the variable
and the other as something like (guessing) Find a variable with the value 3
. I don't think its goal is to let you write whatever you want, just to ensure you don't ever have to write var = 3
or variables.select { |v| v == 3 }
.
a.foo()
is ambiguous in JavaScript, and we've put a lot of engineering effort into being able to tell you which foo
it will be. PEP seems simple enough that you could probably do it easily, maybe statically.tbabb
05/22/2020, 4:41 AMalltom
05/22/2020, 4:42 AMGarth Goldwater
05/22/2020, 10:38 PM>>Note that formal names (proper nouns) are not required for parameters and variables. This, we believe, is a major insight. A real-world chair or table is never (in normal conversation) called “c” or “myTable” — we refer to such things simply as “the chair” or “the table”. Likewise here: “the vertex” and “the polygon” are the most natural names for these variables.
wtaysom
05/23/2020, 3:15 AM(the whatever)
, it
, him
, and her
. The last two were bound when you used comparison operators, like, I don't know (def (min-f f x y) (if (< (f x) (f y)) him her))
. So this returns the minium of (f x)
and (f y)
.Zubairq
05/23/2020, 7:05 AMogadaki
05/23/2020, 10:17 AMThe most difficult part of programming— mental simulation of invisible processes— is not really fixed by making the program into plain English. I'd hypothesize that an unambiguous notation is actually an aid to mental simulation, not a hindrance (it removes some guessing/degrees of freedom about what the computer might be thinking).I totally agree. With ambiguous systems based on natural language programming, there is a new source of complexity: for some task it can be tricky to find/guess the sentence that will make the compiler produce the behavior that you want. And maybe one compiler will "choose" one behavior that will be different than the one chosen by an other compiler. We only have this kind of problem with "unambiguous" languages where some compilers/interpreters behave differently on some parts of some standard (like C or JavaScript).
Chris Knott
05/23/2020, 10:52 AMEddy Parkinson
07/03/2020, 1:19 AM