LESSON3

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Advantages of VB.

NET
The following are the pros/benefits you will enjoy for coding in VB.NET:

 Your code will be formatted automatically.


 You will use object-oriented constructs to create an enterprise-class code.
 You can create web applications with modern features like performance counters, event
logs, and file system.
 You can create your web forms with much ease through the visual forms designer. You
will also enjoy drag and drop capability to replace any elements that you may need.
 You can connect your applications to other applications created in languages that run on
the .NET framework.
 You will enjoy features like docking, automatic control anchoring, and in-place menu
editor all good for developing web applications.

Disadvantages of VB.NET
Below are some of the drawbacks/cons associated with VB.NET:

 VB.NET cannot handle pointers directly. This is a significant disadvantage since pointers
are much necessary for programming. Any additional coding will lead to many CPU
cycles, requiring more processing time. Your application will become slow.
 VB.NET is easy to learn. This has led to a large talent pool. Hence, it may be challenging
to secure a job as a VB.NET programmer.

An integrated development environment (IDE) is software for building applications that


combines common developer tools into a single graphical user interface (GUI). An IDE typically
consists of:

 Source code editor: A text editor that can assist in writing software code with features
such as syntax highlighting with visual cues, providing language specific auto-
completion, and checking for bugs as code is being written.
 Local build automation: Utilities that automate simple, repeatable tasks as part of
creating a local build of the software for use by the developer, like compiling computer
source code into binary code, packaging binary code, and running automated tests.
 Debugger: A program for testing other programs that can graphically display the location
of a bug in the original code.

An IDE allows developers to start programming new applications quickly because


multiple utilities don’t need to be manually configured and integrated as part of the setup
process. Developers also don’t need to spend hours individually learning how to use
different tools when every utility is represented in the same workbench. This can be
especially useful for onboarding new developers who can rely on an IDE to get up to
speed on a team’s standard tools and workflows. In fact, most features of IDEs are meant
to save time, like intelligent code completion and automated code generation, which
removes the need to type out full character sequences.
Other common IDE features are meant to help developers organize their
workflow and solve problems. IDEs parse code as it is written, so bugs caused by human
error are identified in real-time. Because utilities are represented by a single GUI,
developers can execute actions without switching between applications. Syntax
highlighting is also common in most IDEs, which uses visual cues to distinguish
grammar in the text editor. Some IDEs additionally include class and object browsers, as
well as class hierarchy diagrams for certain languages.
It is possible to develop applications without an IDE, or for each developer to
essentially build their own IDE by manually integrating various utilities with a
lightweight text editor like Vim or Emacs. For some developers the benefit of this
approach is the ultra-customization and control it offers. In an enterprise context, though,
the time saved, environment standardization, and automation features of modern IDEs
usually outweigh other considerations.

Popular kinds of IDEs


There are many different technical and business use cases for IDEs, which likewise means there
are many proprietary and open source IDE options on the market. Typically, the most important
differentiating characteristics between IDEs are:

 The number of supported languages: Some IDEs are dedicated to one language, and so
are a better match for a specific programming paradigm. IntelliJ, for instance, is known
primarily as a Java IDE. Other IDEs have a broad array of supported languages all in one,
like the Eclipse IDE which supports Java, XML, Python, and others.
 Supported operating system(s): A developer’s operating system will constrain which
IDEs are viable (unless an IDE is cloud-based), and if the application being developed is
intended for an end user with a specific operating system (like Android or iOS), this may
be an additional constraint.
 Automation features: Even though most IDEs include the 3 key features of a text editor,
build automation, and debugger, many include support for additional features like
refactoring, code search, and continuous integration and continuous deployment (CI/CD)
tools.
 Impact on system performance: An IDE’s memory footprint may be important to
consider if a developer wants to run other memory-intensive applications concurrently.
 Plugins and extensions: Some IDEs include the ability to customize workflows to match
a developer’s needs and preferences.

VB.Net is an object-oriented programming language. In Object-Oriented Programming


methodology, a program consists of various objects that interact with each other by means of
actions. The actions that an object may take are called methods. Objects of the same kind are
said to have the same type or, more often, are said to be in the same class.
When we consider a VB.Net program, it can be defined as a collection of objects that
communicate via invoking each other's methods. Let us now briefly look into what do class,
object, methods and instance variables mean.
 Object − Objects have states and behaviors. Example: A dog has states - color, name,
breed as well as behaviors - wagging, barking, eating, etc. An object is an instance of a
class.
 Class − A class can be defined as a template/blueprint that describes the behaviors/states
that objects of its type support.
 Methods − A method is basically a behavior. A class can contain many methods. It is in
methods where the logics are written, data is manipulated and all the actions are executed.
 Instance Variables − Each object has its unique set of instance variables. An object's
state is created by the values assigned to these instance variables.

Identifiers

An identifier is a name used to identify a class, variable, function, or any other user-defined item.
The basic rules for naming classes in VB.Net are as follows −
 A name must begin with a letter that could be followed by a sequence of letters, digits (0 -
9) or underscore. The first character in an identifier cannot be a digit.
 It must not contain any embedded space or symbol like ? - +! @ # % ^ & * ( ) [ ] { } . ; : "
' / and \. However, an underscore ( _ ) can be used.
 It should not be a reserved keyword.

You might also like