Results 1 to 9 of 9

Thread: Coding from scratch

  1. #1

    Thread Starter
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Coding from scratch

    I'm wondering: how many of you can code from complete scratch in languages such as php or c++?


    I find myself at the start of any project, completely clueless as to what to type. So I have code backups saved for copy and paste purposes.

    Example. I have done several programs using mysql and php, but if you asked me to type the connection code out right now, I would be clueless. I would, however, be able to point out any errors if I saw the already written code.

    Just wondering if any of you have the same problem as I do, or if you just type away.

  2. #2
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: Coding from scratch

    Same problems unfortunatly, some people seem to think i can't code because of it...
    Zeegnahtuer?

  3. #3

    Thread Starter
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Coding from scratch

    Uhh oops. I meant to put this under general developer. Could someone please move it?

  4. #4
    Fanatic Member
    Join Date
    May 2001
    Posts
    837

    Re: Coding from scratch

    I can get the skeleton of a C++ program coded from memory, but I often have to look up the names of STL things and what headers they are in. Things are much easier in .NET with intellisense - you just have to have a basic idea of what namespace something is in to find it.
    The human brain cannot hold all of the knowledge that exists in this world, but it can hold pointers to that knowledge.

  5. #5
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

    Re: Coding from scratch

    i code from scratch in classic ASP ... but been doing it for 10 years now.

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Coding from scratch

    Quote Originally Posted by kfcSmitty
    Uhh oops. I meant to put this under general developer. Could someone please move it?
    Done.

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

    Re: Coding from scratch

    It takes experience and repetition to code mainly from memory. It doesnt reflect upon the true knowledge but more about performance in writting code. It may take longer for you to write an app vs writting it from memory and that doesnt mean anything about the quality of your code.

    I write almost all my VB 6 posts freehand in the quick reply box. I find myself able to write and debug code in memory while doing other things like driving or "trying" to sleep. Now when it comes to .NET code I have less experience with it so it is required to use intellisense and searching msdn etc.

    The bottom line is that it just will take longer to write the app by searching or copy/paste vs. writting it from memory.
    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

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

    Re: Coding from scratch

    Why would you want to code from scratch? If you have a working something that you can use to paste into a new project, would it really be better to start over? I have functions which are specific to each program, but which are structured in ways common to several, so when I need one, I just copy it over and make changes to it.

    OO was thought to promote reuse. Frankly, Ctrl+c / Cntrl+v promotes more reuse than OO ever could.
    My usual boring signature: Nothing

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

    Re: Coding from scratch

    Are we talking about just knowing the syntax of functions and properties etc and manually coding it or like shaggy says, writting a class and reusing it in different apps?

    I have some stuff that I reuse like an all API commondialog module as to eliminate the ocx for it but I wont type and recreate it under each app. Thats just insane lol.
    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

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