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

    It gives developers necessary, universal concepts so they can develop and perfect protocols that can work with operating systems and network products developed by other…

    • 494 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    ASP.NET is a web application framework developed by Microsoft to build dynamic data driven web applications and web services.…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    List two advantages and two disadvantages of using unified modeling language as a standard for object-oriented programs.…

    • 693 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    The main competitor for the .NET framework would be Java. Whilst programming within the .NET framework is quicker due to the framework class library which allows the developer to call on pre coded, tried and tested elements of code for parts of their program, the .NET framework is limited in uses and platforms for it to be implemented on.…

    • 1025 Words
    • 5 Pages
    Powerful 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

    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
  • 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
  • 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
  • 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
  • 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

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

    • 365 Words
    • 2 Pages
    Satisfactory 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