Preview

Mr. Robles

Powerful Essays
Open Document
Open Document
7324 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Mr. Robles
MITC-208 Theory of Programming Language

Tetris Game
F# Programming Language
Silverlight

Samson B. Lavaro
Christopher D. Robles

Submitted to:
Atty. Gilbert D. Hufana
MIT Instructor

October 19, 2012

I. Introduction
The programming Language that we used in developing our system is F# Programming Language. F# is a multi-paradigm .NET language explicitly designed to be an ML suited to the .NET environment. It is rooted in the Core ML design and in particular has a core language largely compatible with OCaml. In other words this means that the syntax of the F# language is similar to ML or OCaml, but the F# language targets .NET Framework, which means that it can natively work with other .NET components and also that it contains several language extensions to allow smooth integration with the .NET object system.
Another important aspect mentioned in this description is that F# is multi-paradigm language. This means that it tries to take the best from many programming languages from very different worlds. The first paradigm is functional programming which has a very long tradition and is becoming more important lately for some very appealing properties, including the fact that functional code tends to be easier to test and parallelize and is also extensible in a ways where object oriented code makes extending difficult.
The second paradigm is widely adopted object oriented programming, which enables interoperability with other .NET languages. In F# it is often used for implementing elementary data types (meaning that the operations on the type are well known and change very rarely), for grouping a set of elementary functions that are together used to perform some complicated operation (i.e. implementing an interface) and also when working with object oriented user interface frameworks.
Finally, the third paradigm supported by F# is language oriented programming (the design of F# in this area is largely influenced by ML, Haskell and also by

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Explain what is meant by a modular approach to programming. Why is this approach important?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    The .NET framework is a Microsoft technology and was designed to allow code to be standardized to ensure that all code using the .NET framework can integrate with other code.…

    • 1025 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    The most popular dynamic languages including Ruby, Python, PHP and JavaScript, which we can use as a server-side language through Node.js. Statically typed languages like Java, C and C++ are the most popular languages in CS programs, although Python has been gaining ground in recent years.…

    • 737 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Mr.Roro Yazzzz

    • 445 Words
    • 2 Pages

    The Wicker Bar is a pompous place that normally features two French girls singing dirty songs, though the girls don't seem to be there when Holden arrives to meet Carl Luce. Carl, who is a bit older and certainly considers himself in another planet than Holden as far as wisdom goes, comes across as a pretty stiff and snobby guy. He drinks extra-dry martinis and dismisses most of Holden's attempts at conversation, which are admittedly a bit juvenile. Holden is particularly agitated about sex in this scene, and has his first bout of homophobia, calling gay men "flits." Carl Luce apparently knows some things about girls and sex. He says, for instance, he's currently dating a foreign sculptress in her late thirties. Holden keeps trying to get some details out of him. Carl Luce refuses to answer these "typical Caulfield questions...." (pg. 146) When Holden tries to be honest and explain how the problem with his sex life is that he can't get turned on by a girl unless he really likes her, Carl advises he go to a psychoanalyst. Luce's father is a psychoanalyst, and apparently Carl has made this suggestion before.…

    • 445 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Schneider, G.M. & Gersting, J.L., (2013). Invitation to Computer Science. (6th ed.). Boston, Ma: press…

    • 2002 Words
    • 9 Pages
    Better Essays
  • Good Essays

    Reusability of Code

    • 511 Words
    • 3 Pages

    Object-oriented programming and procedural programming are two programming paradigms that distribute common attributes as well as various differences. A procedure is an additional name for a routing, technique or function. Procedures and objects both use algorithms to develop the system and any logical calculation that is necessary for the program. A function is divided from variables and data compositions. Procedures are intended to run the code in a precise order, while OPP merges data with the function in the function changes the data that is bound to it into a unit identified as an object. Other useful features such as abstraction, encapsulation, and inheritance can be achieved while working with OPP.…

    • 511 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Thought there are numerous computer programming languages in the world today, we will focus on the three basic fundamental types of computer programming languages.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    IOs Frameworks

    • 930 Words
    • 4 Pages

    The Foundation framework includes the root object class, classes representing basic data types such as strings and byte arrays, collection classes for storing other objects, classes representing system…

    • 930 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Finite State Machines, or automata, originated in computational theory and mathematical models in support of various fields of bioscience. However, their popularity today in the computer science and engineering fields can be attributed to the pioneering efforts of George H. Mealy and Edward F. Moore performed at Bell Labs and IBM (circa 1960s). Mealy and Moore's Finite State Machine concepts proved valuable in two important engineering disciplines: language parsing (compilers) and sequential circuit design. Gradually, the software engineering community partially adopted FSM concepts as more structured analysis and design methods were needed to validate this originally arcane endeavor.…

    • 1974 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    · Based on Sommerlad and Noble’s (2007), explain how you would use design patterns when designing software.…

    • 365 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Adv /Dis adV of OOP

    • 614 Words
    • 3 Pages

    3.4 Advantages and Disadvantages of Object-Oriented Development • There are many advantages for object-oriented development (in contrast with other development methods): • • • • Allows full exploitation of the power of object-based and object-oriented programming languages This may seem an odd advantage, but remember that OOPLs had been around for many years (eg.…

    • 614 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    object oriented system

    • 477 Words
    • 2 Pages

    G. Engels and G. Kappel, Object-Oriented System Development: Will the New Approach Solve Old Problems? , Dept. of Computer Science. Leiden University, Netherlands. Department of Computer Science, University of Linz, Austria…

    • 477 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Local Variable: integer I in the loop: for (int I = 0; I < 5; I++)…

    • 22711 Words
    • 91 Pages
    Good Essays
  • Powerful Essays

    Scala for the Impatient

    • 14128 Words
    • 57 Pages

    Copyright © Cay S. Horstmann 2012. All Rights Reserved. The evolution of Java and C++ has slowed down considerably, and programmers who are eager to use more modern language features are looking elsewhere. Scala is an attractive choice; in fact, I think it is by far the most attractive choice for programmers who want to move beyond Java or C++. Scala has a concise syntax that is refreshing after the Java boilerplate. It runs on the Java virtual machine, providing access to a huge set of libraries and tools. It embraces the functional programming style without abandoning object-orientation, giving you an incremental learning path to a new paradigm. The Scala interpreter lets you run quick experiments, which makes learning Scala very enjoyable. And, last but not least, Scala is statically typed, enabling the compiler to find errors, so that you don't waste time finding them later in running programs (or worse, don't find them). I wrote this book for impatient readers who want to start programming with Scala right away. I assume you know Java, C#, or C++, and I won't bore you with explaining variables, loops, or classes. I won't exhaustively list all features of the language, I won't lecture you about the superiority of one paradigm over another, and I won't make you suffer through long and contrived examples. Instead, you will get the information that you need in compact chunks that you can read and review as needed. Scala is a big language, but you can use it effectively without knowing all of its details intimately. Martin Odersky, the creator of Scala, has identified the following levels of expertise for application programmers and library designers:…

    • 14128 Words
    • 57 Pages
    Powerful Essays
  • Satisfactory Essays

    Statement of Purpose

    • 603 Words
    • 3 Pages

    model based code generation. This interest has developed thanks to my research project with Prof.…

    • 603 Words
    • 3 Pages
    Satisfactory Essays