[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT - trivial programming language

On Sat, May 29, 2004 at 09:40:49PM -0600, Monique Y. Mudama wrote:
| On 2004-05-29, Steve Lamb penned:
| >
| >> Syntax highlighting (at least full syntax highlighting), you
| >> certainly don't have.
| >
| >     Which would be the one.
| At the risk of undermining my own argument, if you use vim as your
| pager, you can get syntax hilighting.  That's what I do.

I often use vim, just for the colors (even as my pager in 'mutt').
See the script /usr/share/doc/vim/macros/less.vim to make vim more
comfortable in a pager type role (as in combination with mutt).

| And it turns
| out that if you do that, you can also set any variable, including
| tab-related ones, during the pager session.  (Just found that out.)

| But I still don't see why I should have to guess what settings I need to
| see the code as the author saw it.

This means don't mix tabs and spaces.

| I like the ability to change tab representations on the fly,

If tabs and spaces are combined for indentation purposes, then when
you change your tab display width you will see a horrid mess of
incorrectly indented code.

| but for code that ever expects to be shared, I think it makes more
| sense to use the universal common denominator.

Code sharing is the source for all style arguments.  Any given group
of developers who share code must use the same style (not just
indentation) or else comparing changes, etc., becomes quite a


In his heart a man plans his course,
but the Lord determines his steps.
        Proverbs 16:9
www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org

Attachment: signature.asc
Description: Digital signature

Reply to: