UNIT1 - Programming Week [11] – IDE Part-1 (Features) 1 Lesson Learning Outcome Pass Merit Distinction LO2 Explain the characteristics of procedural, objectoriented and event driven programming, conduct an analysis of a suitable Integrated Development Environment (IDE) P2 Give explanations of what M2 Analyse the common procedural, object-oriented features that a developer has event driven paradigms are; access to in an IDE. their characteristics and relationship between them. D2 Critically evaluate the source code of an application which implements the program paradigms, in terms of the code structure and characteristics. 2 What is an IDE? ▪ IDE stands for Integrated Development Environment. ▪ An IDE is a software application used by programmers for code development. ▪ An IDE normally consists of: ▪ A source code editor ▪ A compiler / interpreter ▪ A debugger 3 Other components of IDEs ▪ Mode IDEs such as Visual Studio IDE has additional components to support Object oriented development with scattered teams. Some of them are: ▪ Other Components of IDEs: ▪ A version control system ▪ A designer to simplify the construction of a GUI ▪ A class browser and an object browser ▪ A class hierarchy diagrams 4 Features of Visual Studio IDE ▪ Single IDE for all .NET applications – It supports Windows applications, Web applications, Web services and mobile applications too. ▪ Code can be written in multiple languages –C#, C++, JavaScript, HTML, F#, SQL and many more languages are supported in .NET IDE. ▪ Code editor supporting Intellisense – It supports syntax highlighting and code completion and also allows code refactoring ▪ Life cycle support from Design to Deployment – Ensures quality code throughout the entire application lifecycle, from design to deployment. ▪ Visual Designers -Includes visual designers to aid in the development of various types of applications such as Windows Forms Designer 5 Features of Visual Studio IDE ▪ Defined configuration option – allows compilation from within the environment based configured settings that allows the application to be designed and build to a specific platform. ▪ Integrated debugger – that works both as a source-level debugger and as a machine-level debugger. ▪ Plug-in architecture - that helps to add tools for domain specific languages ▪ Customizable environment – to help the user to configure the IDE based on the required settings ▪ Browser that is built-in within the IDE – helps to view content from internet such as help, source-code, etc. in online mode. 6 Advantages of Using an IDE ▪ Less time and effort: The entire purpose of an IDE is to make developing faster and easier. Its tools and features are supposed to help you organize resources, prevent mistakes, and provide shortcuts. ▪ Enforce project or company standards: Simply by working in the same development environment, a group of programmers will adhere to a standard way of doing things. ▪ Doesn’t need memorize syntaxes: The ability of an IDE to know a language’s keywords and function names is crucial. The IDE may use this knowledge to do such things as highlight typographic errors, suggest a list of available functions based on the appropriate situation. 7 Advantages of Using an IDE ▪ Enhanced debugging options: In an IDE you are be able to thoroughly test your application before release. ▪ Project management: ▪ IDEs have documentation tools that either automate the entry of developer comments, or force developers to write comments in different areas. ▪ By having a visual presentation of resources, it should be a lot easier to know how an application is laid out as opposed going though files in the file system. 8 Disadvantages of Using an IDE ▪ Learning curve: IDEs are complicated tools. Maximizing their benefit will require time and patience. ▪ A sophisticated IDE may not be a good tool for beginning programmers: When using an IDE you may not remember the details of language syntaxes. ▪ Will not fix bad code, practices, or design: An IDE will not eliminate efficiency or performance problems in your application. ▪ Inefficiency – Can arise due to the redundancy in the autogenerated code by the IDE 9 Lesson Summary ▪ What is an IDE? ▪ Essential Components of an IDE ▪ Other Components of an IDE ▪ Features of Visual Studio IDE ▪ Advantages of Using an IDE ▪ Disadvantages of Using an IDE 10