LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 11-22-2010, 09:30 PM   #16
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,619
Blog Entries: 29

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896

Charles,
Thanks again for the constructive reply.

First of all I would like to state that any comments regarding to the data structures should be made in that thread only, to keep all the discussions in one place.

Quote:
Originally Posted by catkin View Post
but I would counsel keeping it simple at first. In this case, use arrays or even a single array for starters.
We had a course in our MCA, namely "System design and implementation". The pathetic professor taught nothing w.r.t the subject but instead gave us the data structure assignments to keep us busy. "Text Editor" was one of those assignments. And at that time we used "arrays" and nothing else. (The motive was to pass the exam )
This time I am doing it for practicing:
  • programming skills
  • design patterns
  • learn new tools like "ncurses", "makefiles" etc.

Quote:
Originally Posted by catkin View Post
You can even start without a versioning repository and without automated testing but they will save time overall so chances are you will want to add them later.If the intention is to practice application development then none of the time taken familiarising with the development environment toolset will be wasted
I hadn't heard (this is grammatically wrong I think) about "automated testing" before, I found this: http://www.opensourcetesting.org/
I'll be making this an open source project with GPL license and upload it on Source Forge.

Quote:
Originally Posted by catkin View Post
You might like to incorporate debugging facilities from the outset.
Make the statement more clear, please. What does "from the outset" mean here ?

Quote:
Originally Posted by catkin View Post
If you are really virtuous you will document it too -- starting with functional and interface (OS, internal and external) specifications, data structure descriptions, coding standards, naming conventions, architecture, etc.
That'll be done when I feel the project is moving in the right direction
 
Old 11-22-2010, 09:51 PM   #17
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by anishakaul View Post
I hadn't heard (this is grammatically wrong I think) about "automated testing" before, I found this: http://www.opensourcetesting.org/
Another bunch of tools for you to learn! Ideally, as you implement support for each new feature in the text editor you create an automated test for it (taking care to cover the "edge cases") and, after debugging each new feature, you run all the tests to ensure that the new feature implementation hasn't broken anything. AFAIK this is called "regression testing".
Quote:
Originally Posted by anishakaul View Post
Make the statement more clear, please. What does "from the outset" mean here ?
from the outset

BTW, this thread's title is grammatically incorrect. It should be either "more simple" or "simpler".

Good fortune with the text editor project!
 
Old 11-22-2010, 09:58 PM   #18
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,619
Blog Entries: 29

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
You might like to incorporate debugging facilities from the outset.
It is still unclear, did you mean that I should use GDB, Valgrind..etc ? or you meant something else ?

and I was talking about this being wrong grammatically:
Quote:
I hadn't heard

Last edited by TheIndependentAquarius; 11-22-2010 at 11:45 PM.
 
Old 11-23-2010, 02:06 AM   #19
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by anishakaul View Post
It is still unclear, did you mean that I should use GDB, Valgrind..etc ? or you meant something else ?

and I was talking about this being wrong grammatically:
I don't have experience of current tools so was writing generically. GDB and Valgrind look good and may be all that is necessary but I was thinking of something non-interactive that, when the program is started with debug turned on will log key events and data allowing you to very quickly see what happened. I don't C++ but the procedural equivalent would be to log function calls and data passed (by value or reference) on function calls plus anything else considered key. Some programs implement a numeric debug level, printing/logging more detail, the higher the number. In case this facility is not wanted after the development phase all the code for it can be enclosed in #ifdef #endif blocks and thus conditionally included/excluded at compile time.

"Hadn't heard" is correct. Actually it's perfect, specifically pluperfect.
 
Old 11-23-2010, 02:11 AM   #20
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,619
Blog Entries: 29

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Okay thanks again,
I was searching for some "active" data structure/algorithms forums, couldn't find any "active" forum If you have knowledge of data-structures see if you can comment on the "new" last post of that thread,
 
  


Reply

Tags
text editor


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI (preferably GTK) based open source Computer Algebra System Kenny_Strawn Linux - Software 5 09-11-2010 08:27 AM
Qt based rich text editor _3V Programming 4 11-15-2006 06:15 AM
Text based .ics editor bng Linux - Newbie 5 10-01-2006 03:44 PM
LXer: Google Applies Text-Search to Open-Source Project Hosting LXer Syndicated Linux News 0 08-05-2006 05:54 PM
How do I start an Open Source Software Project... when I'm not a programer BaerRS Programming 1 10-23-2001 02:55 PM


All times are GMT -5. The time now is 11:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration