|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#31
|
|||||
|
|||||
|
Re: Starting programming...
Quote:
Quote:
Quote:
Just a quick question: What is the difference between high-level and low-level languages? Thanks! |
|
#32
|
|||
|
|||
|
Re: Starting programming...
In general, a high-level language abstracts you from the hardware and how it actually works. LabVIEW is a big one, Java too, C++ is somewhat up to this level. low-level languages are ones that expose all of the power of the machine to you, but a side effect of that is making the programming much, much harder (assembly for example)
|
|
#33
|
|||
|
|||
|
Re: Starting programming...
I know the feeling, Haskell feels powerful but I have never found a good problem for it. Prolog might be able to guess at alliance selection orders if you could nail down the right rules. (I have some work done in Lisp on this but it was the end of term and I was exhausted) Actual thought from earlier today, "What do you mean I have to define the data structure? It is just a freaking tuple!"
|
|
#34
|
|||
|
|||
|
Re: Starting programming...
Don't use that.
|
|
#35
|
||||
|
||||
|
Re: Starting programming...
I agree you shouldn't have a need for a GoTo, but it is a fundamental programming structure and you should know it.
Most of the times a jump is needed is already dealt with by the compiler, such as in Try/Catch blocks, subroutine returns, jump tables, etc. In these cases, the compiler will generate a jump instruction in the low level language to perform a high level function. Using a GoTo in your code tends to indicate poor coding and sloppiness. If you find you need one, review your code and try to find a better way to code it. |
|
#36
|
|||||
|
|||||
|
Re: Starting programming...
Quote:
The distinction I wish to make is between programming and coding. Programming involves analysis of the problem and design of a solution, including the algorithms and data structures used in the design. Coding merely implements a solution on a specific target. There can be valid reasons for including unconditional jump instructions in an particular implementation, but I do not think they are ever warranted in a program's design. |
|
#37
|
||||
|
||||
|
Re: Starting programming...
Quote:
~ |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming in Python and Explaination of Programming | roboxking | Programming | 22 | 07-01-2008 16:08 |
| programming motors with programming kit | BorisTheBlade | FIRST Tech Challenge | 4 | 01-11-2005 19:03 |
| [FVG]: Programming Starting | Mike Ciance | FIRST-related Organizations | 1 | 11-12-2004 13:22 |
| Starting position? | Mark Garver | General Forum | 4 | 06-01-2003 07:45 |