The Free Talk Live BBS

Free Talk Live => The Polling Pit => Topic started by: cerpntaxt on February 12, 2007, 05:32:38 PM

Title: Text editor
Post by: cerpntaxt on February 12, 2007, 05:32:38 PM
(http://unix.rulez.org/~calver/pictures/curves.jpg)

I'm a vi man, myself  :)
Title: Re: Text editor
Post by: MobileDigit on February 12, 2007, 06:14:06 PM
A steep learning curve means that you reach the top quickly, so the pictures aren't accurate.
Title: Re: Text editor
Post by: cerpntaxt on February 12, 2007, 06:16:10 PM
A steep learning curve means that you reach the top quickly, so the pictures aren't accurate.
What? No one said anything about steepness. If you want to talk about shapes of learning curves, shouldn't we be talking about concavity?
Title: Re: Text editor
Post by: AlexLibman on February 12, 2007, 06:50:45 PM
Sadly, I've spent the early 90s in DOS instead of *NIX, and my family was dirt-poor so I didn't upgrade to a Windows-capable PC right away.  So I've used a lot of editors based on DOS IDE's like Turbo Pascal (http://en.wikipedia.org/wiki/Turbo_Pascal) and Quick BASIC (http://en.wikipedia.org/wiki/QuickBASIC), as well as BBS mail / terminal-based editors like IceEdit.  My BBS-based ISP also provided e-mail access through pine (http://en.wikipedia.org/wiki/Pine_%28e-mail_client%29), so pico / nano (http://en.wikipedia.org/wiki/Nano_%28text_editor%29) were the first *NIX editors I've used. 

I'm fairly proficient with vi-like editors now, but prefer to use a KDE-based editor (kate or kdevelop (http://en.wikipedia.org/wiki/Kdevelop)) whenever in GUI.  I still find myself using vim (http://en.wikipedia.org/wiki/Vim_%28text_editor%29) for config file editing though.  Never liked emacs - too LISPy, and too 1980s MIT.

Didn't really use a RAD IDE since C++Builder (http://en.wikipedia.org/wiki/C%2B%2B_Builder) / VS6 (http://en.wikipedia.org/wiki/Microsoft_Visual_Studio).  For a while I used to use UE Studio (http://www.idmcomp.com/index.php?name=Content&pa=showpage&pid=150) when in Windows, but I've since returned to using any freeware Windows editor I happen to bump into, like the Crimson Editor (http://en.wikipedia.org/wiki/Crimson_Editor).  I use SftpDrive (http://en.wikipedia.org/wiki/SftpDrive) to edit remote files.
Title: Re: Text editor
Post by: MobileDigit on February 12, 2007, 07:07:15 PM
What? No one said anything about steepness.

The picture of the Vi learning curve shows it being steep. If it were steep, it would not take long before you had mastered it.

(http://aeokos.org/graphics/learning_curve.png)
Title: Re: Text editor
Post by: cerpntaxt on February 12, 2007, 07:12:29 PM
Well that picture is obviously a joke :) I got it from the Emacs wiki (http://www.emacswiki.org/cgi-bin/wiki/EnjoyWrestlingWithEmacs) so it's obviously biased. The idea is that to use vi you have to know every little thing about it and then you can't go anywhere from there. Which is obviously false. Whatever. It's a funny picture.
Title: Re: Text editor
Post by: MobileDigit on February 12, 2007, 09:30:35 PM
The idea is that to use vi you have to know every little thing about it and then you can't go anywhere from there.

Then the picture should look like this:

(http://aeokos.org/graphics/vi_learning_curve.png)
Title: Re: Text editor
Post by: cerpntaxt on February 12, 2007, 09:37:37 PM
No it would be logistic. Something like this:
(http://upload.wikimedia.org/wikipedia/commons/a/ac/Logistic-curve.png)
Must we split this hair further?
Title: Re: Text editor
Post by: Johnny_ on February 12, 2007, 11:35:30 PM
(http://img406.imageshack.us/img406/4555/graph2qz3.gif)
Title: Re: Text editor
Post by: cerpntaxt on February 13, 2007, 04:52:26 AM
Will no one dispute the claim that vi is infinitely superior to Emacs?
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 05:30:19 AM
Will no one dispute the claim that vi is infinitely superior to Emacs?

Is this what we've come to?  Atheist vs. Agnostic, Minarchist vs. Anarchist, and now vi vs. Emacs?  Why not add some more:

Python vs. Perl
Opening brace on new line vs. Opening brace on same line
Little edian vs. Big endian
Tabs vs. Spaces
Reference semantics vs. Value semantics
Linux vs. BSD
MySQL vs. PostgreSQL

and my personal favourite

Mountain Dew vs. Jolt



Title: Re: Text editor
Post by: ladyattis on February 13, 2007, 08:32:59 AM
vi FTW! NUBS!

-- Bridget is nuts 'cause she's learning to code in C++, LISP, and JAVA at the same time.... :shock:
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 03:11:59 PM
vi FTW! NUBS!

-- Bridget is nuts 'cause she's learning to code in C++, LISP, and JAVA at the same time.... :shock:

I'm sorry to hear about C++ and Java, they both blow.  But Lisp is great, it's a lot of fun.
Title: Re: Text editor
Post by: cerpntaxt on February 13, 2007, 03:17:43 PM
Will no one dispute the claim that vi is infinitely superior to Emacs?

Is this what we've come to?  Atheist vs. Agnostic, Minarchist vs. Anarchist, and now vi vs. Emacs?  Why not add some more:

Python vs. Perl
Opening brace on new line vs. Opening brace on same line
Little edian vs. Big endian
Tabs vs. Spaces
Reference semantics vs. Value semantics
Linux vs. BSD
MySQL vs. PostgreSQL

and my personal favourite

Mountain Dew vs. Jolt
I was hoping to lighten the mood  :lol:
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 03:20:38 PM
I was hoping to lighten the mood  :lol:

You've forced all of us geeks to expose ourselves.  Anyone with a dog in this race is truly a nerd.     :shock:

Title: Re: Text editor
Post by: AlexLibman on February 13, 2007, 03:21:06 PM
Bridget is nuts 'cause she's learning to code in C++, LISP, and JAVA at the same time.... :shock:

C'mon, baby, don't waste your pretty little head!

Leave the shoveling of ones and zeros to underpaid students in Bangladesh living twenty to a room!

It's what you can do that matters, not how close it is to the CPU or how it fits into the 1970s ideas on informational aesthetics!

Improve your LAMP skills instead, and leave the world in awe of what you can do with them!
Title: Re: Text editor
Post by: eukreign on February 13, 2007, 03:24:56 PM
Python vs. Perl

Python.

Opening brace on new line vs. Opening brace on same line

Real programming languages, such as Python, do not waste your time with braces.

Besides, when did Dentists deligate brace placement to programming languages?

Little edian vs. Big endian

Little endian.

Because less is more.

Tabs vs. Spaces

Spaces.

Reference semantics vs. Value semantics

That's like asking if you want a fast car or a rugged 4 wheel drive jeep. Depends on the task at hand.

Linux vs. BSD

The devil is cute but I still prefer Linux.

MySQL vs. PostgreSQL

PostgreSQL

Mountain Dew vs. Jolt

The only difference is the food coloring. Doesn't really matter, I'd drink both if nothing else was available.
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 03:30:40 PM
Python vs. Perl

Python.

That one wasn't really fair.  I'd rather code in Brainfuck (http://www.muppetlabs.com/~breadbox/bf/) than Perl.  Why Perl is so popular is completely beyond me.  Buncha massochists.

MySQL vs. PostgreSQL

PostgreSQL

Separates the grownups from the children.
Title: Re: Text editor
Post by: AlexLibman on February 13, 2007, 03:42:48 PM
Everyone who picks python over perl gets a +5 from me!   8)

But ya gotta be comfortable in perl too.  Perlphobia can seriously screw up your career.
Title: Re: Text editor
Post by: cerpntaxt on February 13, 2007, 03:43:00 PM
lmao BrainFuck... I forgot about that  :lol:
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 03:49:35 PM
But ya gotta be comfortable in perl too.  Perlphobia can seriously screw up your career.

Being comfortable with Perl is like being comfortable with 3 hemorrhoids.  Perl is truly a necessary evil for now, but one day soon we will eradicate it!   :x
Title: Re: Text editor
Post by: money dollars on February 13, 2007, 03:54:13 PM
Everyone who picks python over perl gets a +5 from me!   8)

But ya gotta be comfortable in perl too.  Perlphobia can seriously screw up your career.
I would choose perl over python, but only because my job requires it...

But I consider it scripting, not programming. I guess I am just old like that.

But for a text editor for code editing Ihave been using sciTE
http://www.scintilla.org/SciTE.html
Title: Re: Text editor
Post by: cerpntaxt on February 13, 2007, 03:58:26 PM
Code: [Select]
++++++++++
[>+++++++>++++++++++>+++>+<<<<-] The initial loop to set up useful values in the array
>++.                             Print 'H'
>+.                              Print 'e'
+++++++.                         Print 'l'
.                                Print 'l'
+++.                             Print 'o'
>++.                             Print ' '
<<+++++++++++++++.               Print 'W'
>.                               Print 'o'
+++.                             Print 'r'
------.                          Print 'l'
--------.                        Print 'd'
>+.                              Print '!'
>.                               Print newline
Title: Re: Text editor
Post by: ReverendRyan on February 13, 2007, 04:28:53 PM
I'm a big endian myself.
Title: Re: Text editor
Post by: ladyattis on February 13, 2007, 05:08:03 PM
vi FTW! NUBS!

-- Bridget is nuts 'cause she's learning to code in C++, LISP, and JAVA at the same time.... :shock:

I'm sorry to hear about C++ and Java, they both blow.  But Lisp is great, it's a lot of fun.

Dude I love Java, it's fucking easy to code in, then again I've also learned Assembly and [ANSI] C. :-P

C++ is okay, but Java is more functional for OOP next to Python.

-- Bridget
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 05:30:19 PM
Dude I love Java, it's fucking easy to code in, then again I've also learned Assembly and [ANSI] C. :-P

I thought the same thing about Java, too.  But once I really got into it, its weaknesses became apparent.

C++ is okay, but Java is more functional for OOP next to Python.

I'm going to have to disagree with you on that one.  Python's OO implemetation is much more pure than Java.  The fact that C++ and Java are being used to teach OO is twisting the minds of a whole generation of programmers. 
Title: Re: Text editor
Post by: ladyattis on February 13, 2007, 05:35:54 PM
Dude I love Java, it's fucking easy to code in, then again I've also learned Assembly and [ANSI] C. :-P

I thought the same thing about Java, too.  But once I really got into it, its weaknesses became apparent.
I haven't found any. I use it for lots of application designs.

Quote
I'm going to have to disagree with you on that one.  Python's OO implemetation is much more pure than Java.  The fact that C++ and Java are being used to teach OO is twisting the minds of a whole generation of programmers. 

I think you misread what I said. I said Java is more functional for OOP next to Python that implies Python is more functional than Java as Java is more functional than C++. (Python > Java > C++) :)

Damn I need to stop reading my Discrete Mathematics textbook. :shock:

-- Bridget
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 05:50:25 PM
I think you misread what I said. I said Java is more functional for OOP next to Python that implies Python is more functional than Java as Java is more functional than C++. (Python > Java > C++) :)

Damn I need to stop reading my Discrete Mathematics textbook. :shock:

-- Bridget

You're right, I read it as "Java is more functional for OOP [compared to] Python".  Ain't imprecision grand? 

In that case, I'm going to have to agree with you.
Title: Re: Text editor
Post by: Zhwazi on February 13, 2007, 06:01:43 PM
I've used Pico, Nano, Notepad, and Gedit. I mostly work in Gedit.
Title: Re: Text editor
Post by: ladyattis on February 13, 2007, 06:24:28 PM
I think you misread what I said. I said Java is more functional for OOP next to Python that implies Python is more functional than Java as Java is more functional than C++. (Python > Java > C++) :)

Damn I need to stop reading my Discrete Mathematics textbook. :shock:

-- Bridget

You're right, I read it as "Java is more functional for OOP [compared to] Python".  Ain't imprecision grand? 

In that case, I'm going to have to agree with you.

But I heard smalltalk is okay, but I'm sorta skeptical since I read an example hello world version of a smalltalk program and was I like. "WTF?!?!" I can read LISP better than smalltalk.

-- Bridget
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 06:27:50 PM
But I heard smalltalk is okay, but I'm sorta skeptical since I read an example hello world version of a smalltalk program and was I like. "WTF?!?!" I can read LISP better than smalltalk.

It's all a matter of what you're used to.  If you had only ever done Smalltalk, reading C would be also be WTF.  Lisp's parentheses really throw off a lot of programmers.  I've worked with Smalltalk quite a bit and I find it to be very readable.  Not as readable as Python or Ada, but readable none the less.

Of course, this doesn't apply to Perl, no one can read Perl.
Title: Re: Text editor
Post by: ladyattis on February 13, 2007, 06:35:52 PM
Yes, that's true. Perl is just read by accident, not by intention. :lol:

-- Bridget
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 06:43:19 PM
Yes, that's true. Perl is just read by accident, not by intention. :lol:

-- Bridget

"Perl: The only language that looks the same before and after RSA encryption"

      -- Keith Bostic
Title: Re: Text editor
Post by: adamruth on February 13, 2007, 06:44:06 PM
Some more fun quotes:

http://www.sysprog.net/quotjava.html
Title: Re: Text editor
Post by: ladyattis on February 13, 2007, 06:45:23 PM
Some more fun quotes:

http://www.sysprog.net/quotjava.html

If Java had true garbage collection, most programs would delete themselves upon execution. (Robert Sewell)
Title: Re: Text editor
Post by: AlexLibman on February 13, 2007, 07:41:21 PM
All this OO talk and no one mentioned RubyLanguage (http://c2.com/cgi/wiki?RubyLanguage) yet...
Title: Re: Text editor
Post by: rabidfurby on February 13, 2007, 07:54:38 PM
Python vs. Perl

Python. No contest.

Opening brace on new line vs. Opening brace on same line

I haven't decided on this one yet, because I haven't done much programming in bracy languages. I used to like the same line, but in my most recent assignment for my C++ class I've switched to new line, and I think I may like it more.

Tabs vs. Spaces

Anything but a tab makes the baby Science cry.

Mountain Dew vs. Jolt

SUUUUURGE!!!!!!!
Title: Re: Text editor
Post by: ladyattis on February 13, 2007, 10:51:46 PM
Dew vs Jolt... Jolt definitely.

-- Bridget
Title: Re: Text editor
Post by: bonerjoe on February 14, 2007, 12:20:05 AM
But Jolt tastes like shit.
Title: Re: Text editor
Post by: AlexLibman on February 14, 2007, 12:24:51 AM
But Jolt tastes like shit.

Human taste can be fooled very easily.  Use your mind.  If you don't understand everything about what you're drinking, just drink some pure H2O instead.

(Or beer.  Me drink like 20 beers tonight.  Beer make me self-aware and happy...)
Title: Re: Text editor
Post by: money dollars on February 14, 2007, 10:47:09 AM
But Jolt tastes like shit.
I've never tasted jolt or shit.
Title: Re: Text editor
Post by: money dollars on February 14, 2007, 10:50:43 AM

Opening brace on new line vs. Opening brace on same line

I haven't decided on this one yet, because I haven't done much programming in bracy languages. I used to like the same line, but in my most recent assignment for my C++ class I've switched to new line, and I think I may like it more.
I do both in the same code.  If it works I don't give a crap.
Title: Re: Text editor
Post by: cerpntaxt on February 14, 2007, 10:56:28 AM
emacs: eight megabytes and constantly swapping  :lol:
Title: Re: Text editor
Post by: ladyattis on February 14, 2007, 11:26:04 AM

Opening brace on new line vs. Opening brace on same line

I haven't decided on this one yet, because I haven't done much programming in bracy languages. I used to like the same line, but in my most recent assignment for my C++ class I've switched to new line, and I think I may like it more.
I do both in the same code.  If it works I don't give a crap.

I agree there. :lol:

-- Bridget
Title: Re: Text editor
Post by: AlexLibman on February 14, 2007, 11:18:39 PM
Dat's it, I'm writing a family of unstopable platform-specific virii (http://en.wikipedia.org/wiki/Computer_virus) that will search all the world's networked storage devices for code and indent (http://en.wikipedia.org/wiki/Indent_%28Unix%29) it to my liking!  Make your peace!  All your brace are belong to us!

Seriously, though, I think version control systems (http://en.wikipedia.org/wiki/List_of_revision_control_software) and IDE (http://en.wikipedia.org/wiki/Integrated_development_environment)'s will evolve to preemptively reformat code based on each programmer's preferences.  But we all know the whole world will switch to Python before that...
Title: Re: Text editor
Post by: ladyattis on February 14, 2007, 11:33:22 PM
Alex, btw, thanks for the linky to Ruby, I was going to learn it, but I forgot to get around to it. It's not bad, the method creation system is fairly straight forward. I think the debate over {} or not is silly, what matters is two things. 1) How many systems adopt the use of said language and 2) how well the compilers are built. If 1 is all a language has going for it and 2 is shit, then it's logical to try another language. As for why C++ is used more than say Java or Python, that's simple, louder voices usually get heard more than the more quieter kind. Essentially, Python was built by programmers for programmers, the same it seems with Ruby and etc, where it's really not needed to put effort in getting the word out, it gets out simply because of the normal shop talk. That's why you see so many books now devoted to Python [I don't know if there's any books published on Ruby, maybe you can give us a, FTL'd Amazon linky for that. :(] just because of that chatter. :)

I think C++ is decent, the only complaint I have is the mixture of C like syntax and un-C like syntax, so it confuses a user of C on what the fuck they're doing, like the operator overloading. I'm still going WTF about the syntax there. Usually I ask a wouldbe programmer what they want to do. If they say games. I point toward C, possibly C++ if the given game requires it, but I usually say stick with the old fart language only because there's loads of libraries and documents on how to do shit with it. Plus, most games don't really need OOP to do most of their work. I dare say procedural programming is better suited for games in that it makes the general game leaner because you have to think in steps before you do a part of the game you want to do [like how do I handle calls for the 3d sound library...].

Sorry for the lecture, but that's what I've been thinking about all day.


-- Bridget

P.S. I love Pure BASIC too, so there!
Title: Re: Text editor
Post by: OUND on February 15, 2007, 02:35:17 AM
I don't edit text, I half-consiously stumble through it. Sleep might be a good idea sometime.
Title: Re: Text editor
Post by: MobileDigit on February 15, 2007, 06:29:06 AM
[I don't know if there's any books published on Ruby, maybe you can give us a, FTL'd Amazon linky for that. :(]

You can get the first edition of Programming Ruby: The Pragmatic Programmer's Guide (http://www.rubycentral.com/book/) for free or buy it on Amazon (http://www.amazon.com/Programming-Ruby-Pragmatic-Programmers-Second/dp/0974514055/sr=8-1/qid=1171538592/ref=pd_bbs_sr_1/002-1584260-0291263?ie=UTF8&s=books).
Title: Re: Text editor
Post by: error on February 15, 2007, 12:15:55 PM
[I don't know if there's any books published on Ruby, maybe you can give us a, FTL'd Amazon linky for that. :(]

You can get the first edition of Programming Ruby: The Pragmatic Programmer's Guide (http://www.rubycentral.com/book/) for free or buy it on Amazon (http://www.amazon.com/Programming-Ruby-Pragmatic-Programmers-Second/dp/0974514055/sr=8-1/qid=1171538592/ref=pd_bbs_sr_1/002-1584260-0291263?ie=UTF8&s=books).

You forgot the FTL'd Amazon linky for that (http://www.amazon.com/exec/obidos/ASIN/0974514055/freetalklive-20).
Title: Re: Text editor
Post by: Alex Libman on March 24, 2007, 09:36:08 PM
I've been avoiding Eclipse-based IDE's, but I've recently tried Aptana (http://en.wikipedia.org/wiki/Aptana) and I'm lovin' it.