|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
How you tackle a programming problem? If you have a programming problem from where do you start? I usually find it quite a problem when I have a problem.. I usually solve it by myself (as you can see I don't ask much programming related questions) but I still end up wasting a lot of time I think.
Any tips? Thanks
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help |
| Sponsored Links |
|
|
|
|||||
|
I too start with a sheet of paper which usually contains charts, diagrams, and some UML. Some times I use CRC *cards* depending on the size of the project.
I then create a abstract framework with no functionality, then slowly construct specific functions / methods. Organization is the best programming strategy.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
I usually try to figure it out in my head, and when I've got an idea of what's working, then I try to write some code. If I'm struggling with mathematics- or low-level-problems in programming, then I'm using a random text-editor on the computer, or a sheet of paper.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Finally we got that Python-forum! |
|
|||||
|
Sidewinder so you make use of flowcharts? or you have your own 'drawing' method?
v0id you are exactly like me.. but sometimes while thinking I end up thinking on other 2 ideas and eventually I forget what the first one was.. and end up confused. Does this happen to you?
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help |
| Sponsored Links |
|
|
|
|||||
|
It tends to depend on the scale of the problem. For something math related, making sure I have a list of the necessary formulas and an understanding of how they work is a start. For other problems, a sketch of the logic is key. I usually do my scratch work electronically or on a white board.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
with sketch work you mean... flowcharts? or pseudo code.. or some other method?
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help |
|
|||||
|
Quote:
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Hmm I always have problems in creating GUI's :S I'm not much of a designer.. that it another problem I encounter.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help |
|
|||||
|
My sketch work sometimes includes flowcharts, sometimes it's just a set of functions with a comment about what I expect them to do. It depends a lot on the scope of the project. When I do DB conversions, I tend to have an excel sheet with a rough field conversion list and a few functions for the major chunks of the conversion.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| programming or virus problem | mukul | C and C++ | 2 | 09-30-2007 09:33 AM |