Category Archives: Languages
Maps are unordered collection of key value pairs. In other languages they are known with various names viz. hash tables, dictionaries and associative arrays. Here’s an example of a Key-Value pair – Working Days of the week denoted by integer keys. Key Value 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday In the […]
Continue Reading: Go Maps Introduction for Beginners →Arrays are collection of similar items that share a common name. A common scenario would be a case where you want to store student’s scores in an exam. Array Declaration var score 3[int] The above can be read as – Score is an array of type integer that can hold a maximum of 3 records. […]
Continue Reading: Go Programming – Arrays and Slices →Switch Case statements are an efficient alternative to if…else construct. Both the constructs i.e. if…else & switch case are similar and used to select & execute one of many available code blocks based on certain conditions. So, when to use switch case? When the number of alternatives/options are high (say more than 4) an if else looks […]
Continue Reading: Golang Switch Case with Sample Code →Google’s Go programming language (Golang) is gaining momentum and IMHO it has the potential to become one of the most popular languages in near future. It’s clean, simple and at the same time addresses a few of the challenges of modern computing. There’s no statistics to support but Go is getting popular with programmers of […]
Continue Reading: Code Example – If Else in Go Programming →Exception handling – WCF perspective WCF service is a programming paradigm that offers a common platform for writing service contracts using Microsoft provided CLR environment where heterogeneous platforms/clients technology may consume these contracts. So propagation of exception details occurred in service to the client applications must happen in a platform-agnostic manner so that a client […]
Continue Reading: Exception Handling and Using Transactions in WCF Service →The objective of ASP.Net MVC design pattern is separation of concern i.e. segregation of three building blocks of any application – 1. Model – comprises the business objects or the raw entities 2. View – the representation / interaction of the entities with the real world 3. Controller – the heart of any application where the business rules […]
Continue Reading: An Introduction to ASP.Net MVC – Working Code Sample →Introduction Exceptions can be defined as a deviation from the expected flow of a program caused by logical, I/O or environmental issues. So the concept of structured exception handling enables programmers to identify and safeguard themselves from those potential code regions that might get subjected to any of these factors. In some cases, when an […]
Continue Reading: A Short Guide – Exception handling in C#.Net →You might have heard about Google Go programming language. It’s a new programming language, just about 5 years old, which is getting loads of traction among the developer community. I am personally trying this from a couple of weeks and found it appealing. First thing first, Go is concise and neat – unlike most of […]
Continue Reading: Google Go Programming – For Loop Adventure →Securing an application now a days is not an easy task. To secure an application there are steps that we can take to mitigate the risk of security failures. In Java, security of an application is related to running our application under some protection of a security manager. To do this we must have a […]
Continue Reading: Security Requirements of a Java Application →Distributed applications are a vital necessity of our times. For creating distributed applications in Java we use RMI (Remote Method Invocation) and EJB (Enterprise Java Beans). We can access files by calling the methods from any machine (known as Remote Machine) on Internet. Java was designed with the distributed environment and it can be transmitted over […]
Continue Reading: RMI (Remote Method Invocation) in Java →