3 ms·
My guess is that IDEs and debuggers will be more integrated with what's available online. Let's say you have a compiling error. Currently you look up on google
by S4M 11y ago
My guess is that IDEs and debuggers will be more integrated with what's available online. Let's say you have a compiling error. Currently you look up on google the error message the compiler gives you and most likely get a stackoverflow link with someone having the same problem - and hopefully someone else having answered it. Your IDE could do that automatically instead - there is already a plugin to access stackoverflow from emacs [0].
I imagine one further step would be to have some AI that can read snippets of your code that are causing problems and match it to similar snippets from Stackoverflow. Let's say your code is (in python):
myCounter = 0
while myCounter < 10:
doSomething(counter)
The AI could realize that it's exactly the same mistake as this code that someone posted on stackoverflow because it ran infinitely:
i,n = 1, 50
while i < n:
doSomethingElse(i)
(of course, I used a very trivial example, but you get the idea).
[0] https://github.com/omouse/emacs-sos https://github.com/omouse/emacs-sos
- jheriko 11y ago> Currently you look up on google the error message the compiler gives you this makes me afraid a little. although given the style of your examples i can imagine you have just not had a problem just because of using simple and permissive, modern languages which are difficult to make mistakes with. due to the nature of compiler errors 99% of the time i can work it out by looking at the line of code. 1% of the time i need to read it carefully because it involves deeply nested C++ templates, and once i find the offending line i fix it 99% of the time in the same way. the remaining tiny fraction i learn something new. but find that most of the google results are people who failed to solve the problem instead of anything useful, and just have to work it out for myself. i will waste time reading stackoverflow posts with no answers, or answers from people who only want to answer, rather than know an answer. occasionally an apple fanboy will rile me by claiming in some comment that everyone is doing it the wrong way and suggesting something so dumb my head nearly explodes. :)