Posts

Python vs Rest

By now you must have heard about Python which is being used everywhere right from Web/Windows development to Big Data and AI/ML. There are so many open source libraries already made using Python, and that is the reason you cannot ignore power and influence of Python. Comparing all languages at once would be a difficult task, so below is an attempt to compare lines of code needed to get the same job done in C# and Python, even though below is comparison of C# and Python, same stands true for most of OOP languages like Java,F# and etc. Python is cross platform language and it already has so many libraries available. Python is easy to read/understand and requires less lines of code to get similar job done. Python may not be better in terms of performance but its easy to learn and more expressive. Consider following side by side comparison of what we have to do in C# compared to Python. Feature Python C# Get Data From DB import sqlite3 conne

Characteristics of a leader

When it comes to people management many find it hard,  because there are different set of characteristics possessed by your team member or people you are dealing with. When you are dealing with people you can either be a leader or a manager, though both look the same there is big difference in principle of operation. Lets dig deeper and try to understand difference in character when you are a manager and when you are a leader. Manager Leader Is present every where. Participates where need be. His duty is to get things done His duty is to get things done in right manner Treats team members as set of employee. Treats team members as partner in mission Has a goal Has a mission Assigns individual milestone and keeps track of it. Sets team milestone and leads by example. Takes all the credit for success. Gives credit to the team where it is due. Blames the team for failure. Accepts as his own and tries t

Do We Need Unit Test

Scenario 1(New Application/Module):- Lets us assume below two classes which are exposed by a windows application:-        public   class   Multiplication     {          public   int  Multiply( int  x,  int  y)         {              return  x * y;         }     }      public   class   CalculatePower     {          public   int  RaiseTo( int  number,  int  power)         {              if  (power < 0)             {  throw   new   ArgumentException ( "Power cannot be negative" ); }              int  result=1;              Multiplication  multiply= new   Multiplication ();              for  ( int  i = 1; i <= power; i++)             {                 result = multiply.Multiply(result, number);             }              return  result;         }     } Now developer will have to wait till UI is ready for him to test his code " Hence Unit Test Is Needed In This Scenario " which will test his code without any interfa

Important C# functionalities every developer should get hands on

C# since its inception has gone through many changes and new feature gets added every now and then, here is list of what every developer should try to get hands on. Most of it will be applicable for any OOP language. Principal of OOP (Inheritance/Encapsulation/Abstraction/Polymorphism). Abstract class and Interface. Generic classes and functions. SOLID principles. delegate and its use. Fun<>. Implement functional programming using C#. (Will help you understand how all this .where().select() works) Reflection. (Try to mimic ORM using reflection) var,dynamic,Tupple,ValuedTupple Most common design patterns.

Azure

Image
What is Azure Cloud:- Microsoft has been building highly scalable applications in datacenters around the world—applications that have global reach and high availability, and offer great functionality to users. Azure allows you to take advantage of the same infrastructure to deploy your own applications, with the corresponding capabilities to reduce your maintenance requirements, maximize performance and minimize costs. Though we know that cloud adds lot of value but that only happens when it is done right and hence we need have thought of  below before taking a call:- 1. Always plan for the long-term . It’s easy to be tempted by solutions that promise immediate benefit and what looks like the quickest route to the cloud.  While the PaaS (platform as a service) approach may appear more complex, the long-term benefits such as built-in elasticity, service healing, patch management, and so forth, make it a worthwhile investment that will pay dividends both on the technology and busi