Results 1 to 36 of 36

Thread: How do you get your ideas to code?

  1. #1

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    How do you get your ideas to code?

    Hi guys,

    As you may know im begining to get serious about programming. One of the things i find i have a wee problem with is... How do you get your idea to code. Consider the following:

    I have an idea for say a code bank, how would you go about all the details say what goes in to the UI or what you want in the database. I tend to have a very (ok very very) brief mind map and then run in head first (and fail!) because i get stuck on the details.

    So do you just go and code or do you write up documentation first?
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  2. #2
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Re: [serious] How do you get your ideas to code?

    some people use UML, some just think a bunch of stuff up before coding on how they're going to approach something, some people just get right into coding it, etc etc. it's all preference.

  3. #3

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: [serious] How do you get your ideas to code?

    Ive never used uml, i do think i need to change im getting very little done!
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  4. #4
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Re: [serious] How do you get your ideas to code?

    whatdya making? :P

  5. #5

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: [serious] How do you get your ideas to code?

    Well ive an awful habit of forgeting things like bank details etc, i have bits of paper everywhere, so sort of like a bank for these things. I also wanted to demonstrate how well i know: Classes, Data access, xml (im planning on having a mobile version that i can add too and send back to the main program) and basicly seeing a project from start to finish.

    The problem is ive started it about six times now because i keep adding or removing features, basicly id like to know how other people "blueprint"!
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  6. #6
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Re: [serious] How do you get your ideas to code?

    yea try uml

  7. #7

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: [serious] How do you get your ideas to code?

    Il have a look tomorrow so!
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  8. #8
    Frenzied Member Andrew G's Avatar
    Join Date
    Nov 2005
    Location
    Sydney
    Posts
    1,587

    Re: [serious] How do you get your ideas to code?

    I usually just start coding. If I'm lucky I will finish the project and it will work relatively good, then I'll slowly add features etc, if not, then it doesn't really matter cause usually I've learned something new.

  9. #9
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: [serious] How do you get your ideas to code?

    If I am serious about a working end product then I will sit down and map it out on a a few thousand forests of paper. I use UML to map out the structure but don't really bother with use cases or sequence diagrams.

    To get the end product I need to be able to see each part working in my head - visualise it I guess and because OO is great, when you visualise the parts you can then visualise how to put them together.

    Tools like Viso IMO are only for showing other people. The best ideas come from a pen and paper.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  10. #10
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: [serious] How do you get your ideas to code?

    Quote Originally Posted by CodedFire
    Well ive an awful habit of forgeting things like bank details etc, i have bits of paper everywhere, so sort of like a bank for these things. I also wanted to demonstrate how well i know: Classes, Data access, xml (im planning on having a mobile version that i can add too and send back to the main program) and basicly seeing a project from start to finish.

    The problem is ive started it about six times now because i keep adding or removing features, basicly id like to know how other people "blueprint"!
    Go and see a doctor. Your forgetfulness is clearly encroaching on your coding.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  11. #11
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Re: [serious] How do you get your ideas to code?

    whats UML?

  12. #12
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: How do you get your ideas to code?

    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

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

    Re: How do you get your ideas to code?

    The client gives you their problem to solve and you have to code a software solution for it.

    Usually if its a decent size program I will flow chart it but most of the time I start designing the GUI along with it to help me organize and visualize.
    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

  14. #14
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: How do you get your ideas to code?

    I look at other applications freeware or what ever and see if i can produce something like it, not exactly but something with the same outcome.

    But more recently i have been getting more involved at RentACoder finally landing my first job and 3 more in the works

  15. #15
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How do you get your ideas to code?

    Quote Originally Posted by CodedFire
    How do you get your idea to code.
    It comes to me in my InBox.
    Quote Originally Posted by CodedFire
    So do you just go and code or do you write up documentation first?
    I don't write documentation....we have a technical writing staff for that.

  16. #16

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: How do you get your ideas to code?

    @ Hack, could i borrow your staff

    Ive looked at uml, and to be honest their is alot of learning in it that i dont have time for right now. I do like wossnames and rob's idea's. Come up with the idea and write up an overall structure based on needs of the app via pen and paper. Thanks to all who responded!
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  17. #17
    Fanatic Member TokersBall_CDXX's Avatar
    Join Date
    Mar 2003
    Location
    America
    Posts
    571

    Re: How do you get your ideas to code?

    In the mid-1960s, mathematicians proved that any program, no matter how complicated can be constructed using one or more of the three structures of structured programming.
    Sequence, Selection, or loop, with these three structures alone you can diagram any task, from doubling a number to performing brain surgery.
    You can diagram each structure with a specific configuration of flowchart symbols.
    Inconjunction with flow charts, even the most difficult concepts can be conveyed and more importantly understood.
    Last edited by TokersBall_CDXX; Jan 8th, 2008 at 07:34 AM.
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

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

    Re: How do you get your ideas to code?

    "Documentation? We don' need no stinkin' documentation. If it was hard to write, it should be hard to use."

    -tg

    srsly tho - I usually start by outlining the steps and processes, then go into class designs, and then start working with the UI, then I go back and refactor each part over and over and over - when building the UI, there's always someting forgotten in the class, which usually involves in a change to the processing as well.... once I've got the 90% solution, I start coding.... making changes to everything along the way.

    -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??? *

  19. #19
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: How do you get your ideas to code?

    I used to jot down notes, generally while lying on the floor. Now I have realized that I can type faster than I can write, and it's even legible. I still do some sketching for visualizations and trig issues, but most of my notes are now in Word. Much easier to organize and edit that way, but you have to be a fair typist.
    My usual boring signature: Nothing

  20. #20

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: How do you get your ideas to code?

    So it seems that coding is always the LAST proccess
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

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

    Re: How do you get your ideas to code?

    NEXT to LAST.... testing is always last.

    -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??? *

  22. #22
    Hyperactive Member
    Join Date
    Jul 2005
    Location
    In A House :)
    Posts
    291

    Re: How do you get your ideas to code?

    testing??? agile, put it all down on lil sticky notes then start coding, when your out of sticky notes send it to QA...
    --"Tap Dancing On The Brittle Edge Of Sanity"--

  23. #23
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: How do you get your ideas to code?

    Quote Originally Posted by CodedFire
    @ Hack, could i borrow your staff

    Ive looked at uml, and to be honest their is alot of learning in it that i dont have time for right now. I do like wossnames and rob's idea's. Come up with the idea and write up an overall structure based on needs of the app via pen and paper. Thanks to all who responded!
    Basic UML is very easy to learn. If you do not understand the terms then I would be inclined to say - learn more about object orientated design first.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  24. #24

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: How do you get your ideas to code?

    I wouldnt say its hard to learn (i spent more time this morning over it). Maybe its more that i just dont like it. I dunno why since i learned to pseudo code and love that. I suppose its personal tastes when it comes to UML really.
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  25. #25
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: How do you get your ideas to code?

    It provdes a visual respresentation. A picture tells a 1000 words.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  26. #26
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: How do you get your ideas to code?

    Quote Originally Posted by visualAd
    It provdes a visual respresentation. A picture tells a 1000 words.
    Not really a picture, it's just a couple of rectangles and a thousand words
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  27. #27

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: How do you get your ideas to code?

    Quote Originally Posted by ComputerJy
    Not really a picture, it's just a couple of rectangles and a thousand words
    Thats exactly why im not to fond of it. I understand to go pro it may be in my intrest to learn it though. Anyhow what ive decided to do is:

    1: Jot down the overall requirements, ie what it does, what data needs to be presented and in what style.

    2: Mock up the gui and database to said requirements.

    3: Use Psudeo code to map what classes, methods and functions are reqiured.

    4: Edit the gui based on how best the classes, methods and functions tie together.

    5: Lather, rinse, repeat

    Thanks for all your suggestions guys, at wossname and robdog, rep+ as im using a mixture of your ideas!
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  28. #28
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: How do you get your ideas to code?

    Actually these days the "Extreme Programming" approach is a hit. look it up. it's good for people who hate UML
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  29. #29

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: How do you get your ideas to code?

    Cool il do that in a bit and let ya know what i think
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  30. #30

    Thread Starter
    Fanatic Member CodedFire's Avatar
    Join Date
    Aug 2007
    Location
    In Cog Neato
    Posts
    568

    Re: How do you get your ideas to code?

    Looked up extreme programing, good for teams but other than that i would have no need for it!
    Languages: Visual Basic 05/08, C# 08
    IDE: Express Editions
    Framework: 2.0, 3.0, 3.5


    Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak

  31. #31
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: How do you get your ideas to code?

    Class design is my main focus, followed by how classes interact, and code flow.

    GUI design is the least of my worries.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  32. #32
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: How do you get your ideas to code?

    Quote Originally Posted by CodedFire
    Looked up extreme programing, good for teams but other than that i would have no need for it!
    If you are looking for design time stuff. Flowcharts are the easiest out there. they are just like pseudo code except they are drawn, they explain how things are done and are useful when reusing.

    For class diagrams I always use the "Reverse Engineering" button in VS provided by MS Visio. code makes more sense to me than UML
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  33. #33
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: How do you get your ideas to code?

    My boss tells me what to code.

  34. #34
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: How do you get your ideas to code?

    I don't code anything myself anymore.

    I'm a network engineer for my job.. when I get home.. or, even randomly like right now, I help others with their programming. I don't really have time to write my own full-on applications.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  35. #35
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: How do you get your ideas to code?

    If I'm on a home project, it'll be a sheet of scrappy A4 with tons of diagrams and notes which only I can make sense of and put in order, but which probably looks like a 4 year old's drawing.

    Out in the field it is generally required to write professional functional specs which detail the project in clarity. In large companies, you would then produce development UML and data(base) definition guides for the programming team, and also from the start, testing documentation. Whether it's a small home project or a customer project built by the MS team but in essence, you're going to be performing the same steps:
    • Look at what's needed and write some form of list
    • Look at what's on the list which is nice to have and what's essential (try to concentrate on the essential 1st to get the base of your app to add to later)
    • Look at common functionality and start thinking in terms of objects "I have a customer ordering system, therefore I need to have customers, products which they can order, and orders".
    • Process these into some form of list or diagrams for both a database schema design (if required by the app), and class design
    • Use these and the original requirements list to think about the forms you'll need to provide
    • Finally think of a menu structure and UI

    I had an old colleague who used to put psuedocode into each class for what the class should do, and what the methods contained in it would do - the whole class apart from method descriptions would be comments on the steps to approach what the methods did which I thought was a great, professional approach and one which I really should take up at some point.

    It's far more fun writing the code & designing the UI's, but without any form of soe of the above (certainly points 1 and 2), you'll be forever changing and adding to the app and it will both be (i) more of a hashed piece of shoddy work in the polite sense, and (ii) will take far longer to write when you include these chunks of re-writes and alterations, as I've done myself on many an occasion

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  36. #36
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: How do you get your ideas to code?

    Yep I'd go along with coding is always the last.

    Quote Originally Posted by techgnome
    NEXT to LAST.... testing is always last.

    -tg
    I've just started a role in testing at Nokia Seimens Networks - not having done hardly any of it in all my other programming roles/teams so thought it'd be cool to know this side more.

    There's a load of different testing methods but the earlier the testing starts, the better - from testing bodys in the UK, there should be a testing person/team writing the documentation for the tests at the same time as the screen designs, functional specs and requirements docs are being put together (& I read about a practice of developers writing test harness apps before writing the body of the methods they were testing), so I'd have to disagree with that statement

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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