r/dailyprogrammer • 1 3 • Aug 18 '14

[Weekly #7] Programming Tools -- The Editors

Weekly 7:

For the most part at the core of programming you need a text editor. Then you might run your program through a compiler/linker/etc. Over time we have been merging these into 1 program. So now you edit your program and link your libraries in and compile it and debug your program all in one nice program.

What are your development tools/process? Are they language dependent? What are some tools that you don't use often but would like to give a shout out too with a link for people to see?

Last Week's Topic:

[Weekly #6] (http://www.reddit.com/r/dailyprogrammer/comments/2d957i/weekly_6_python_tips_and_tricks/)

61 Upvotes

94 comments sorted by

View all comments

Show parent comment

3

u/skeeto -9 8 Aug 18 '14

I've been using Emacs for almost 10 years now so I'm not even sure how you'd go about getting started today! It's changed quite a bit. Some of the stuff I read to get started is either out of date or no longer around.

You should definitely start with the built-in tutorial (C-h t, or in the help menu). The keybindings may seem arbitrary at first, but there's convention and pattern to them. Once you get to know it, you'll be able to find your way around new editing modes without much trouble. The tutorial covers the basic editing commands, but it won't tell you how to work with Haskell. In fact, Emacs doesn't currently come with a haskell-mode, so you have to install it separately. Fortunately that's easily done today with package.el (if you're using Emacs 24). The README in that link explains it. I suggest using MELPA rather than Marmalade.

There's a built-in reference manual you can access at any time with C-h i. It's huge, but it covers almost everything that comes with Emacs. But, like the tutorial, it also won't teach you much about good conventions, not expose some of the most useful features. That's probably best learned from watching people and studying their configs (mine). AnAirMagic linked Emacs Rocks, videos demonstrating some cool Emacs stuff. That's a good place to pick up ideas. Here's one of my own demos showing off live coding.

1

u/ralleMath Aug 19 '14

Thanks for the reply. That's pretty much what I expected, but looking at demos it does look like investing a lot of hours might be worth it. Certainly it looks much more pleasant than editing in some sort of notepad or eclipse :)