Results 1 to 8 of 8

Thread: Do you or don't you ....pseudo code?

  1. #1

    Thread Starter
    Lively Member misterheadache's Avatar
    Join Date
    Nov 2003
    Posts
    104

    Do you or don't you ....pseudo code?

    Curious to know what opinions are regarding writing pseudo code for a large Visual Studio project.

    Back in 1983 when I had my first computer programming class, it was taught in Pascal on the old TRS-80 Model 4 console, and my teacher drilled us thorougly on writing out pseudo code before writing any actual code. Over the years, I found that I write little pseudo code, but for large projects I still sketch out some basic stuff in Notepad before starting any coding.

    Now, with VS2005 and all its revision-friendly features (i.e intellisense, global variable renaming, etc), its easy to be lazier and just jump right in. Not the best practice. Anyway...

    1) Do computer courses nowadays emphasize pseudo code at all?
    2) Do YOU write any pseudo code before/during a modern project? If so, what tools do you use (Notepad etc?)
    3) Have you never used pseudo code?

  2. #2
    Fanatic Member BillBoeBaggins's Avatar
    Join Date
    Jan 2003
    Location
    in your database, dropping your tables.
    Posts
    628

    Re: Do you or don't you ....pseudo code?

    I only Pseudocode when I am not sure how i am going to flow out the function/application/process. That way I can try to catch the kinks.

  3. #3
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Do you or don't you ....pseudo code?

    For a very large, complicated project that requires a team of programmer to work on, psuedocode will eliminate a lot of headaches later on... So my answer is, with small projects, no psuedocode is required. However, with larger projects, planning (that includes sketching a psuedocode) is a must.

  4. #4
    Fanatic Member Dnereb's Avatar
    Join Date
    Aug 2005
    Location
    Netherlands
    Posts
    863

    Re: Do you or don't you ....pseudo code?

    I second stanv completly (on this subject)
    why can't programmers keep and 31 Oct and 25 dec apart. Why Rating is Useful
    for every question you ask provide an answer on another thread.

  5. #5
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    413

    Re: Do you or don't you ....pseudo code?

    I see many programmers spend lots of time on old projects if they don't have their proper diagrams/pseudo code. Doing this up front may cause you some extra time, but when you have to go back to some old programs to make updates, it take 10 times longer figuring out what you did 10 years ago. I just pull out my notes and in a few minutes, I know what each part does.

    Just my 2 cents.
    Visual Studio .NET 2005/.NET Framework 2.0

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Do you or don't you ....pseudo code?

    I dont pseudocode but I do use notes from project requirement gathering. If its a large project then I will flowchart or pseudocode. Also, commenting your code reasonably well helps to restore your memory when viewing old code.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Do you or don't you ....pseudo code?

    we don't pseudocode here either, but we do have a design process from which comes a document that has all the logic in it.... so there's no need for the pseudocode.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  8. #8
    Frenzied Member circuits2's Avatar
    Join Date
    Sep 2006
    Location
    Kansas City, MO
    Posts
    1,027

    Re: Do you or don't you ....pseudo code?

    I think it all boils down to company procedures or personal preference. Pseudocode is still taught at the classroom level, but is not drilled into your head like it used to be. The best practice is whatever works for you to complete your task without stopping to remember how you were going to go about completing it. Some people use sketches, some use flow charts, some use pseudocode, and some use plain old notes.
    Show the love! Click (rate this post) under my name if I was helpful.

    My CodeBank Submissions: How to create a User Control | Move a form between Multiple Monitors (Screens) | Remove the MDI Client Border | Using Report Viewer with Visual Studio 2012 Express

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width