Why Doesn't Compilers Input What We're Missing? - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Why Doesn't Compilers Input What We're Missing? (407 Views)
| Why Doesn't Compilers Input What We're Missing? by whs1(op): 11:14pm On Apr 19, 2021 |
If compiler knows we're missing a ";" , why does it display an error message instead of adding the missing ";" ? |
| Re: Why Doesn't Compilers Input What We're Missing? by Sirkingsnado: 11:19pm On Apr 19, 2021 |
whs1:missing |
| Re: Why Doesn't Compilers Input What We're Missing? by qtguru(m): 7:34am On Apr 20, 2021 |
whs1:AST it was built to compile and translate to another source, modification sounds easy but I assume there's alot of code and you don't always want to assume, however some IDE have gotten so good that they have the ability to help with that, better at source code level than during compilation. |
| Re: Why Doesn't Compilers Input What We're Missing? by stanliwise(m): 11:57pm On Apr 20, 2021 |
whs1:It is not so intelligent to do so. That may not be our intention. JS compiler does this though. Python don’t need it. But for those that did it they feel you should corrrect it yourself or avoid hidden bugs down the road the will lead to too much stress |
| Re: Why Doesn't Compilers Input What We're Missing? by Deicide: 6:59pm On Apr 21, 2021 |
If you know what's the function of ";" you wouldn't be asking this question. |
I'm Disturbed, Is My Typing Input Being Tracked? • I Need Serious Input From Experts On This Project. • Check If Input Is Number Javascript • 2 • 3 • 4
Php Package • I Will Design Develop New Courier Website E-commerce Website Online Banking - • Urgent Attention