Shop OBEX P1 Docs P2 Docs Learn Events
Idea for Improving Propeller Tool — Parallax Forums

Idea for Improving Propeller Tool

Cole LoganCole Logan Posts: 196
edited 2009-01-29 08:35 in Propeller 1
I was wondering if anybody else wishes that there was a spell check for the Comments when writing Code. I know that I am a horrible speller and have wanted this several times

So is this a bad Idea. Or maybe a Good Idea that would just be to hard to make work.

Comments

  • SRLMSRLM Posts: 5,045
    edited 2009-01-28 04:49
    I don't think it would be all that useful. I would be relatively easy to check individual words with some dictionary reference, but the problem is that the electronics portion has all sorts of special characters and type designations. Unless you could put all those in, then you'd end up with a situation where the wavy red underline is all over.
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-01-28 20:54
    Hello Cole,

    how about copy & paste it to any other texteditor with spellchecking ?

    maybe this could be some way automated using PRE-Spin

    best regards

    Stefan
  • Carl HayesCarl Hayes Posts: 841
    edited 2009-01-29 02:50
    Cole, forgive me, but if you know you're a "horrible speller", wouldn't it be better in the long run to attack that underlying problem directly?· A spell checker for the Prop tool would ameliorate a minor aspect of the problem, but if instead you learn to be a good speller you will improve tremendously your chances for success in everything significant that you attempt in life and in a career.· Any career.

    Spelling isn't difficult.· Many 7-year-olds can do it.· Once you learn each word, you will know it always.· Unlike electronics, medicine, law, history, politics, or any other field in which people study, spelling doesn't change.· You won't have to keep relearning it.· Each word will stay the same your whole life long.

    So how do you learn to spell?· Reading is the most enjoyable way, though there are others.· Spend an hour a day reading writers who write well.· Fiction, or non-fiction, or magazines (but not Nuts & Volts, which has generally defective English).· It's much more fun than watching TV, and it doesn't annoy others in the house.

    Read Scientific American·or the daily newspaper (most have good spelling, though perhaps poor English -- AP has good spelling and bad writing) or John Steinbeck or Mark Twain or the Harry Potter series or Naval History or the Encyclopaedia Britannica -- there's something for everyone.· That will improve your language skills generally, which will enhance your whole life -- although your original post gives ample evidence that you already express yourself much more clearly than most people can.· That's a plus.

    If bad spelling were a drug addiction, then spell checkers would be enablers.· Using enablers will only prolong the problem, whether it's inadequate spelling or heroin.

    Always attack the problem, not just the symptom.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · -- Carl, nn5i@arrl.net
  • mctriviamctrivia Posts: 3,772
    edited 2009-01-29 04:07
    well i am a bad speller to and spell check would be nice but in no means necessary. If you can't figure out my miss spelled words don't read my code.

    There are a few things I would like to see that would make things much easier.
    1) ability to set default values for subroutines. I recommend the PHP method of just placing =value after variable name. compiler could then add default value in when omitted in calling function. this would help when altering code to add new functions to subroutines. old calls would still work.

    2) Keep track of already declaired variables and when you start typing in a variable it will show you those that would fit. Much like Komodo Edit does for me in my PHP programing.

    3) Local variables to a subroutine. Compiler could assign fixed address still would just make larger programs easier since you would not need to worry about duplicating variable names
  • SRLMSRLM Posts: 5,045
    edited 2009-01-29 05:30
    mctrivia said...
    [noparse][[/noparse]I want] Local variables to a subroutine.
    Isn't that already a part of the language? You just use the '|' character, followed by the variable names, an you get local variables.
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2009-01-29 08:35
    Cole Logan - nice idea. The other day I was thinking similar thoughts. I was reviewing some old code that I have used and reused many times. While double checking something in that code I found a couple misspellings that I overlooked in previous reviews. It can be sort of embarrassing, especially when the code is posted in the object exchange or on the forum.

    Cutting and pasting in a text editor works sometimes. I like the idea of a spell checker that looks at only the comments.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto for SunSPOT, BitScope
    www.tdswieter.com
Sign In or Register to comment.