I am going against my own personal feelings here, but why not just tell them to use notepad++ or an ide for whatever language they are using. For intro computer science you really don't need a good text editor, you need just the basics. Some will naturally gravitate towards them over time.
Oh, we do -- we had an entire 1.5-hour extra session to just give them a taste of different editors available for their own computers. But, it's nice to have everyone on the same page (esp. in a lab setting), and I also think it is important to learn a tool that is available for virtually every computing platform ever built.
Because paying teachers properly is harder than convincing teachers that their "ideology" and "passion" are rewarding. But of course the important parts of the curriculum are already decided, so if you want to communicate any of your own ideas, you'll have to limit them to trivialities like whitespace formatting and text editor choice.
Also, by teaching these things right off the bat, another huge batch of junior programmers can immediately become useful in the burgeoning Reddit industry of arguing about tabs vs spaces! And I'm sure that there's nothing at all similar between using Vim because it's more authentic, and sporting the hipster-lumberjack look.
There's only so much mental overhead space for learning new things. Don't clog it up by doing too much at once.
One of the things I like about the Learn ____ The Hard Way stuff is that he says just use Notepad++ or equivalent. Get some syntax highlighting and that's it.
For me syntax highlighting is probably the most important feature for most languages. Code completion, error checking, code suggestion is nice for large projects in languages like Java, but honestly if I am whipping something up in Prolog or something small in Common Lisp, just give me syntax highlighting and I will be fine.
It's a bit complicated. The server that has their files is a Linux (Red Hat) server, and we like them to work on the files via the server. So, unless we get them all set up with a local editor and teach them how to load/save files through SFTP (e.g., Notepad++ for Windows, TextWrangler for Mac, Sublime, etc.--by the way, about 90% of the students have MacBooks), we have to get them to use an editor available on the department's Red Hat system. Available editors include Vim, Emacs, Kate, GEdit, nano, etc., but the "easy" ones are graphical. Not really a problem, because they can ssh with the -X flag. That is, not a problem until they realize that the school's wireless network is feeling its age, and can get bogged down really quickly. Ever try to use X-forwarding on a slow wireless connection? It blows.
So, I decided that we'd coax them towards a non-graphical editor, and of the choices, emacs seemed reasonable. I'm learning it, and the students are learning it, and most of the time they can use emacs in windowed mode, anyway (when the connection is decent).
I'm preparing to jump into this whole "buffer" idea, but I'm a bit afraid...
Why do you need them to work on the files on the server? Why can't they just run the software on their own machines, and submit to a school server when they're done? Are you teaching sysadministration or computer science?
It's pretty much a standardization issue. Yes, they're not doing anything that won't port to standard C++ compilers, but there are a number of headaches with getting a command-line compiler on Windows (e.g.), and I want to give individual attention to students on important things, not on "this is how you install MinGW, etc." Also, we want them to learn and be comfortable with a Linux terminal, so we have them use Linux on our server. The intermediate courses quickly go deep, and most are not Window or Mac friendly given the course material.
It is much more about the system than the editor (and of course I let them use any editor they want--I don't promise to help with support of they can't get things to work exactly). When you scale to a class of 300, you have to be judicious about your resources.
Writing instructions to set up a complete development environment on an arbitrary machine is not a walk in the park. Letting the students focus on programming instead of troubleshooting their machine should be what the CS course does. A sysadmin course might have the students troubleshoot their local environments.
sshfs perhaps? Means any editor on *nix can be used without special SFTP plugins. If they already know SSH then it's essentially the same thing usage-wise.
One of my first year modules involved teaching us how to develop on a Linux desktop (back in 1998) and included things like pine, slrn and vim. I'm eternally grateful that my lecturers forced me through that pain, because once I got over the step learning curve things got more efficient for me.
Not everyone in my class felt the same way.
Could I have had the same result with any other sufficiently advanced editor? Sure, but vim has some logical structure to its commands, and it runs in a terminal, so I can run the editor locally and on remote SSH connections. Slow network connections is one of the areas where vim's terse and logical commands make sense (and harks back to vi's ed heritage).
A course I assist in teaching has instructions written years ago that say run emacs filename.cc to edit a file before compiling. I have to waste so much time telling students to ignore it and run either geany or gedit instead, when they can't figure out how to cut-paste. It really colours their perception of Linux (most have never seen it before), because they blame every little problem on the OS being weird, rather than not knowing how to use the editor. It makes me cry whenever I see people editing in half a screen, because they haven't ever dismissed the emacs startup panel.
168
u/[deleted] Sep 25 '15
I am going against my own personal feelings here, but why not just tell them to use notepad++ or an ide for whatever language they are using. For intro computer science you really don't need a good text editor, you need just the basics. Some will naturally gravitate towards them over time.