Geeks' Corner
Arrays in Perl
Authenticate against Active Directory using Perl
Different loops in Perl
Exception handling in Perl
Fieldholders in Perl
File operations in Perl
Formatting forms in Perl
Hashes In Perl
Loop controls in Perl
Object oriented programming in Perl
References in Perl
Regular expression in Perl
Server - client IPC socket programming in Perl
Subroutines in Perl
Defining a Class in PHP
An object in programming has two characteristics: state and behavior. The state in an object is stored in variables that are referred to as properties. The behavior in an object consists of functions or methods. In order for an object to be created, there must be a blueprint or definition of the object. This blueprint, in programming, is called a class. In this article, we will discuss what is involved in defining a class. ...
Memory management and the Stack
The OS allocates memory for each process or program for data and code. The memory allocated for each process consists of many parts: the stack holds local variables, the heap holds dynamic memory, the data segment holds global variables, and finally the code segment which holds the code is and read only. Memory management depends on the hardware and the operating system. ...
Variable Scoping in Go
A scope in any programming is a region of the program where a defined variable can exist and beyond that the variable cannot be accessed. There are three places where variables can be declared in Go programming language. The first is local variables which are declared inside a function or a block. The second is global variables which are declared Outside of all functions. The last is parameters which are in the definition of function parameters. In this article, we will discuss what local va ...
Go Variables
A variable is a name given to a storage area that the programs can manipulate. Each variable in Go has a specific type, which determines the size and layout of the variable's memory, the range of values that can be stored within that memory, and the operations that can be applied to the variable. The name of a variable can contain letters, digits, and the underscore character. It must begin with either a letter or an underscore. Upper and lowercase letters are distinct because Go is case-sensit ...