True or false.
I'll Whine I suppose later in bar sport. Here is a copy and paste from REFERENCEReturnsTrue or false.See the problem?
All English sentences should begin with a capital letter.
...English, a loose language made for loose minds to exchange loose ideas with. If it could be used for programming, it would have already....
...Don't expect garbage to turn into anything but garbage.
Hope you're going to be happy with ambiguous results then. Or just the same old same old as one size fits all.
No, not in this case. You don't capitalize code. true != True.
Imagine an AI that can communicate in, say, English, but has a vast data store and high speed brute force processing power.You give it your rather vague requirements.
That's code, not a plain English sentence, as was quoted.
Agreed Garbage In Garbage Out, but if the input is valid then there can be several different ways to process it and get useful output.It is our current programming languages that really only deliver "one size fits all" results.That is absolutely perfect for calculations, production line control and so on where you can precisely specify the problem but that is not always easy to do.When I started programming I wrote my code with great attention to detail, making sure every character was correct, just because it took so long to get the results back from a compile. Now I throw in pretty scrappy code, get the compiler results back instantly, and then tidy up the errors. I can spend more time concentrating on the program rather than the syntax.I think that is analogous to how computer languages might develop.Imagine an AI that can communicate in, say, English, but has a vast data store and high speed brute force processing power.You give it your rather vague requirements. Perhaps not as vague as some of the questions raised on this forum It quickly responds pointing out key ambiguities in your requirements (compile errors) and giving you several possible solutions ranked by how AI matches them with your requirements. You pick the best fit, clear up some of the ambiguity and iterate towards a final solution. The end result is not ambiguous and not one size fits all.
The words true and false in the quoted sentence are Boolean literals returned by a function, definitely code.