Web Hosting How-Tos

  Home arrow Web Hosting How-Tos arrow Page 3 - Learning a New Programming Language Pa...
Web Hosting Articles  
Web Hosting FAQs  
Web Hosting How-Tos  
Web Hosting News  
Web Hosting Reviews  
Web Hosting Security  
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB HOSTING HOW-TOS

Learning a New Programming Language Part 2: Language Types
By: Chris Root
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 13
    2005-05-04

    Table of Contents:
  • Learning a New Programming Language Part 2: Language Types
  • Code reuse and inheritance
  • Procedural Languages
  • Functional Languages

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     

    SEARCH WEB HOSTERS

    TOOLS YOU CAN USE

    advertisement

    Learning a New Programming Language Part 2: Language Types - Procedural Languages


    (Page 3 of 4 )

    Procedural languages are pretty simple to understand. They follow a "do this then do that" top to bottom sort of flow. As mentioned above, there are quite a few procedural languages that have had OO features tacked on. These languages can still be written in a purely procedural manner, however.

    Procedural languages use functions (sometimes called subroutines) that accept arguments and return values just like methods in OO languages, however they stand on their own in the code along with other code that lives outside any function.

    C is an example of a procedural language. Though OO languages are designed around code reuse, it is possible to reuse code in C or other procedural languages in the form of separate files called libraries. Code libraries contain functions that, when attached to a project using an "include" directive or other similar syntax, can be used to add functionality to the application.

    This isn't as flexible or organized as using classes and objects, but it's better than writing these functions over and over for each project that needs them.

    Examples of procedural languages are C, PHP, Perl, Fortran, Basic, Visual Basic, Assembly, Cobol and Powerbuilder.

    More Web Hosting How-Tos Articles
    More By Chris Root

    WEB HOSTING HOW-TOS ARTICLES

    - Phishing Scams: An Overview and How to Detec...
    - Tips for Safe Downloading Online
    - How To Avoid Spam
    - How to Get Into Ethical Hacking
    - How to Prevent Drive-by Downloads
    - Facebook Timeline Tips and Tricks
    - How to Keep Up with Facebook`s Changes
    - Wi-Fi Network Security Tips
    - Tips for Safe Online Holiday Shopping
    - Facebook Privacy: Keeping Up with the Const...
    - Tips for Facebook Privacy
    - How to Cover Your Tracks on the Web
    - SSH Keys for FileZilla and Putty in Cpanel
    - How to Create a Filezilla FTP User
    - How to Install FileZilla Server

    Developer Shed Affiliates

     




    © 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap