December 30, 2019 Re: What kind of Editor, IDE you are using and which one do you like for D language? | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On Monday, 30 December 2019 at 06:43:03 UTC, H. S. Teoh wrote:
> Generally, I find myself *much* more productive with CLI-based tools; IDEs are generally much heavier in terms of memory and CPU usage, and worst of all, require a GUI, which for me is a deal-breaker because I do a lot of work over SSH connections on not necessarily reliable networks. The amount of network traffic needed to operate a GUI over a remote desktop is just so much more than the much lighter weight of a few keystrokes that for me it's a very unproductive choice. That, plus the amount of RAM + CPU + disk investment needed just to get an IDE to even start, to me cannot even begin to compare to how few resources are needed to be highly productive with a bare-bones Vim installation. I just have a hard time justifying such an investment when what I get in return is so undesirable within my operational parameters.
Another way in which the IDE is "heavy" is the amount of overhead for beginning/occasional users. I like that I can get someone started using D like this:
1. Open text editor
2. Type simple program
3. Compile by typing a few characters into a terminal/command prompt.
An IDE adds a crapload to the learning curve. It's terrible, because they need to memorize a bunch of steps when they use a GUI (click here -> type this thing in this box -> click here -> ...)
Back when I was teaching intro econ courses, which are taken by nearly all students here, I'd sometimes be talking with students taking Java or C++ courses. One of the things that really sucked (beyond using Java for an intro programming class) was that they'd have to learn the IDE first. Not only were they hit with this as the simplest possible program:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
but before they even got there, the instructor went through an entire lecture teaching them about the IDE. That's an effective way to make students think programming is a mind-numbingly stupid task on par with reading the phone book.
Contrast that with students opening a text editor, typing `print "Hello World"` and then running the program.
IDE support should obviously be made available. I think it would be a mistake, however, to move away from the simplicity of being able to open a text editor, type in a few lines, and then compile and run in a terminal. It's not just beginners. This is quite handy for those who will occasionally work with D code. For someone in my position (academic research), beginners and occasional programmers represents most of the user base.
|
December 30, 2019 Re: What kind of Editor, IDE you are using and which one do you like for D language? | ||||
---|---|---|---|---|
| ||||
Posted in reply to bachmeier | On Monday, 30 December 2019 at 14:59:22 UTC, bachmeier wrote:
> On Monday, 30 December 2019 at 06:43:03 UTC, H. S. Teoh wrote:
>
>> [...]
>
> Another way in which the IDE is "heavy" is the amount of overhead for beginning/occasional users. I like that I can get someone started using D like this:
>
> 1. Open text editor
> 2. Type simple program
> 3. Compile by typing a few characters into a terminal/command prompt.
>
> An IDE adds a crapload to the learning curve. It's terrible, because they need to memorize a bunch of steps when they use a GUI (click here -> type this thing in this box -> click here -> ...)
>
> Back when I was teaching intro econ courses, which are taken by nearly all students here, I'd sometimes be talking with students taking Java or C++ courses. One of the things that really sucked (beyond using Java for an intro programming class) was that they'd have to learn the IDE first. Not only were they hit with this as the simplest possible program:
>
> public class HelloWorld {
> public static void main(String[] args) {
> System.out.println("Hello, World");
> }
> }
>
> but before they even got there, the instructor went through an entire lecture teaching them about the IDE. That's an effective way to make students think programming is a mind-numbingly stupid task on par with reading the phone book.
>
> Contrast that with students opening a text editor, typing `print "Hello World"` and then running the program.
>
> IDE support should obviously be made available. I think it would be a mistake, however, to move away from the simplicity of being able to open a text editor, type in a few lines, and then compile and run in a terminal. It's not just beginners. This is quite handy for those who will occasionally work with D code. For someone in my position (academic research), beginners and occasional programmers represents most of the user base.
Good point. It also trains people to not be able to work without IDE. I see it at work with some of the Java devs who aren't even able to invoke javac in a command line and setting javapath correctly. Why? Because IDE shielded them from these easy things. It has also a corrolary that they're not capable to implement sometimes simple protocols or file processings without resorting to external libraries. A little bit like people needing even and odd library in Javascript.
|
December 30, 2019 Re: What kind of Editor, IDE you are using and which one do you like for D language? | ||||
---|---|---|---|---|
| ||||
Posted in reply to bachmeier | On Mon, Dec 30, 2019 at 02:59:22PM +0000, bachmeier via Digitalmars-d-learn wrote: [...] > An IDE adds a crapload to the learning curve. It's terrible, because they need to memorize a bunch of steps when they use a GUI (click here -> type this thing in this box -> click here -> ...) [...] To me, that's not necessarily the failure of the principle of using an IDE, but of the way in which existing IDEs are designed. Modern IDEs suffer from the same wrong design principles as modern browsers: too much accumulated technical debt and cruft accumulated from decades of legacy code, old habits that die hard, inertia in the name of backwards compatibility, and stagnation. Somebody should seriously rethink the whole design of the IDE experience. I, for one, in spite of currently preferring to work with vim + CLI tools, would love to see an IDE which does its job in a minimalistic, on-demand way, in which you only pay for what you use, and it does not take 5 minutes grinding your harddisk to next week and back again just to start up. What about an IDE that starts at lightning speed where you can immediately start typing code? Where you can just run the code immediately -- with the compilation steps *shown* and saved in a clear-text script that you can edit, as opposed to some mysterious black magic welded shut under the hood? Where advanced features are loaded on demand and unloaded when no longer used, as opposed to requiring GBs of RAM just to start up? The technology to do all this is already there, it just takes someone to think outside of the box and design something that doesn't look, run, and feel like an overweight elephant with an obesity problem. (OTOH, I may have just described Vim and the modern Linux shell. Oops. :-D) T -- BREAKFAST.COM halted...Cereal Port Not Responding. -- YHL |
December 30, 2019 Re: What kind of Editor, IDE you are using and which one do you like for D language? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Patrick Schluter | On Mon, Dec 30, 2019 at 04:13:03PM +0000, Patrick Schluter via Digitalmars-d-learn wrote: [...] > Good point. It also trains people to not be able to work without IDE. I see it at work with some of the Java devs who aren't even able to invoke javac in a command line and setting javapath correctly. Why? Because IDE shielded them from these easy things. It has also a corrolary that they're not capable to implement sometimes simple protocols or file processings without resorting to external libraries. A little bit like people needing even and odd library in Javascript. This is the natural consequence of pursuing popularity by making things accessible to the lowest common denominator. You can't say it's wrong -- because without it, the programming industry wouldn't be anywhere near where it is today. But OTOH, some aspects of programming are inherently hard, and no matter what you do, you simply cannot remove the necessity of thought about your programming problem. T -- I've been around long enough to have seen an endless parade of magic new techniques du jour, most of which purport to remove the necessity of thought about your programming problem. In the end they wind up contributing one or two pieces to the collective wisdom, and fade away in the rearview mirror. -- Walter Bright |
Copyright © 1999-2021 by the D Language Foundation