|
-
Dec 4th, 2006, 04:24 PM
#1
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.
-
Dec 4th, 2006, 04:36 PM
#2
Re: Coding from scratch
Same problems unfortunatly, some people seem to think i can't code because of it...
-
Dec 4th, 2006, 05:04 PM
#3
Re: Coding from scratch
Uhh oops. I meant to put this under general developer. Could someone please move it?
-
Dec 4th, 2006, 05:06 PM
#4
Fanatic Member
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.
-
Dec 5th, 2006, 05:41 AM
#5
PowerPoster
Re: Coding from scratch
i code from scratch in classic ASP ... but been doing it for 10 years now.
-
Dec 5th, 2006, 07:42 AM
#6
Re: Coding from scratch
 Originally Posted by kfcSmitty
Uhh oops. I meant to put this under general developer. Could someone please move it?
Done.
-
Dec 5th, 2006, 12:17 PM
#7
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Dec 5th, 2006, 01:22 PM
#8
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
 
-
Dec 5th, 2006, 01:30 PM
#9
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|