3 ms·
I do not agree. If you follow a course about algorithms or data structures, or Java, or parallel programming, you should focus on that. Learning the same time a
by DeathArrow 5y ago
I do not agree. If you follow a course about algorithms or data structures, or Java, or parallel programming, you should focus on that. Learning the same time an operating system or command line will introduce unnecessary complexity.
Anyway, when I was a student in University, most of my colleagues knew the command line and had a strong understanding of operating systems. By the time we did the OS courses the only things we had to learn was about the more advanced architecture, system calls.
As a working professional the IDE is a huge time saver. From quick refactoring to debugging, to step through, to step into, to watch memory, to renaming, to jumping to definition, to method or variable exploring, to function definition, to writing common patterns, to running unit tests, everything sits at one keyboard shortcut away. And the IDE is smart enough to correct my mistake as I am typing, so by the time I hit build, the software builds without errors.
Without an IDE, my development time will take longer.
And why shouldn't someone who is aspiring to become a professional not use the tools a professional uses?
If anything the IDE showing his mistakes might make it a more pleasurable experience since he doesn't have to search Google or Stack Overflow as often. And by having a good experience, he will be encouraged to learn.
- selfhoster11 5y ago> As a working professional the IDE is a huge time saver. From quick refactoring to debugging, to step through, to step into, to watch memory, to renaming, to jumping to definition, to method or variable exploring, to function definition, to writing common patterns, to running unit tests, everything sits at one keyboard shortcut away. And the IDE is smart enough to correct my mistake as I am typing, so by the time I hit build, the software builds without errors. I'm glad someone mentioned this. When I was learning programming for the first time, the Eclipse debugger help me to understand for/while loops, because I could see exactly how the computer behaves, as it runs through my code line by line.
- bodhiandphysics 5y agoUmm. You do realize you can set watchpoint in a command line debugger
- selfhoster11 5y agoA command line debugger is not as discoverable for a learner who doesn't know how to make it work.
- watermelon0 5y agoWhat are the benefits of CLI tools (including debugger) to GUI tools? From my experience, most people prefer GUI tools, and are more productive there. I understand CLI is useful for scripting, but outside of that I'd rather not deal with it.
- bodhiandphysics 5y agoAs program complexity increases guis loose their discoverability benefits. clis often become easier to remember particularly if you have a vague idea about how to do something. Setting a breakpoint in gdb is b myfubc. Setting a conditional breakpoint is b myfunc if muvar = something. Set a conditional read watchpoint for a specific thread... rwatch myvar thread 3 if myothervar != 6
- yeputons 5y agoI mostly prefer CLI tools is that they're more consistent. You typically don't install a specific version of IntelliJ IDEA, but it's very common to install a specific version of Java. You hardly can specify exact configuration of a GUI tool (unless it stores its config in a file which you can blindly copy between machines), but it's always possible with CLI. For example, in my C++ course there are some strict requirements on how the code should be formatted. They're specified like this: install this specific version of clang-format on this specific Ubuntu 20.04.3 and run it with this flags having this config in this directory. Fortunately enough, installing and using clang-tidy on Windows and macOS yields exactly the same results in about 90-95% cases (the probability space is the space of all programs that students write during the year; not the space of all configurations). Of course, one can and is encouraged to attach clang-format to their favorite IDE like CLion. It's impossible to make all students use the same OS comfortably: macOS wouldn't run on non-Macs, Windows costs extra money, Linux consistently does not work on about 10% of laptops unless a specialist spends five hours messing with Wi-Fi firmware/touchpad drivers on each laptop individually. Installing Desktop Linux in a VM is terribly slow as well. However, requiring command-line only version of Linux is much better: it takes less HDD, it requires less RAM, it does not have slow GUI (as it does not have any GUI), and you don't really need to use it all the time, only when you submit the solution. Switching to web-based IDEs do not help: there are some power students who want to use their favorite vim/emacs configuration and compile locally instead of trying to catch 3G signal while commuting in a subway from the dorm to the university.