Test Driven Development in Go Language with VS Codes

On this article, we want to show you how to implement test driven development in Go Language with VS Codes. What is Test Driven Development Test Driven Development (TDD) is a programming technique when you do test first development. It is introduced in the era eXtreme Programming with their Agile process. The idea of test driven is like this Create the empty function with input and output. Create the unit test regarding the function Make it fail (yes, it shall fail since it's empty function) Correct the function Make it pass It provides you an extra step, but it will make your code quality better Before we start Before we start you should install Visual Studio Codes Go Languages SDK Go extension in VS Codes You can visit the tutorial here. medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299"; Demonstration On this video demonstration, I will show you how to: Create a skeleton function Invoke the Test Generator to generate the test function Creating test case Invoke the unit test Fix the codes Rerun the test till pass medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Visual Studio Codes and GIT Beginner Tutorial Revisited

Four years ago, I created a tutorial about how to use GIT in Visual Studio Codes. Time pass by, Visual Studio Codes provides better integration with GIT in their current version. In this article, we will show you how to use GIT easily in the Visual Studio Codes Before we go Before we dive into the integration between Visual Studio Codes and GIT. You need to have: Current version of visual studio codes. Download here Current version of Git. Download here Account on SCM provides such as Azure DevOps Account, GitHub Account, Bitbucket, etc. Step by Step medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299"; Creating a project in SCM providers Obtaining the clone repository URL Installing SCM provider extension Configuring authentication in Visual Studio Codes Working and Testing GIT operation You can see the Indonesian video here. // video References First time about GIT? You can download this book, to get started. Need more information about integration in Visual Studio Codes, you can read the document here medianet_width = "600"; medianet_height = "250"; medianet_crid = "858385152"; medianet_versionId = "3111299";

Comparing Xamarin and Cordova on Visual Studio 2015

In Visual Studio 2015, you have two options to build mobile apps. The first one is to use the power of the modern web (HTML5+CSS+JS) and the second one is to use the power of C# and object oriented language. This article will discuss those two implementation namely Apache Cordova for building mobile app using the power of web, and Xamarin to develop with the C# language. Xamarin Some of you might know about Xamarin. Xamarin is an extension on Visual Studio that can help you build native mobile application using C#. Whether your project is IOS, Android, or of course Windows Phone, Xamarin will help you to build awesome application. However, there are several challenges on Xamarin which are Is separated extension. Unfortunately, by using Xamarin you should paid yearly to develop and deploy the app starting with 25$ / month – 158$ / month. Although, Xamarin provides a free /low fee subscription but it is limited to student, and academic The code reusability between 60%-100%. it means you can’t really how that write once run anywhere. You should tweak it at least for the user interface by converting to XamarinForm It depends on mono runtime. Mono runtime is good but has limitation compared with original .NET Framework. Despite of the limitation, Xamarin has potential solution if you need. High performance application that can access native API Strong typed and object oriented development to support you flexible architecture Drag and Drop user interface development. If you are Windows Developer, no need to learn JS or HTML. You can build using drag and drop style for IOS or Android. Cordova Cordova is a framework that help you build an application with HTML, JS, and CSS. This is a better solution rather than Xamarin if your: Fluently with HTML5+ JavaScript + CSS No additional cost like Xamarin, it bundles with Visual Studio 2015 even for Community Edition Shared user experience, and shared JavaScript library will help you reach 100% codes similarity Although, it has several challenges such as: Limited native API. as the time, this blog is written. The limited native API has only access to limited functionality of the OS. Interpreted result. The Cordova original results is not native, developer should do extra steps to make the development just like native. And it’s a long story for some real/complex project Open framework makes some newbie developer confuse. For example, you can create same application on Cordova by using AngularJS, WinJS, and Backbone. Which one is better? which one is faster? its depends on your experience by using that framework. Conclusion So which one? it depends on your situation. This is not choice you can test both when necessary and decide it by looking your team performance.

Visual Studio ALM is now Platform-Agnostics

Starting from year 2015 and beyond, Visual Studio has three members which are Visual Studio IDE. A complete end to end application lifecycle management solution for you to plan, build, deploy, and operate your solution. Today Visual Studio supports major development target such as Windows, Android, and IOS. Therefore its platform-agnostics support for any need of development. However, its only can be developed on Windows platform. Visual Studio Online. A complete end to end web application that deliver ALM on the top of teamwork through codes managements, work management, and release management. A must have for teamwork development. it supports GIT, TFS, Eclipse, Visual Studio IDE. Its platform-agnostic that support any platform and tools that you choose for development Visual Studio Code. A lightweight Visual Studio IDE that only supports web and cloud development. its platform agnostic since it supports any operating system like IOS, Linux, and Windows. However, it only supports web and cloud development only. No support for WPF, Windows Form, or Console application. So what i suggest is: Enrol the Visual Studio online at http://visualstudio.com If your team is has similar platform, you can choose Visual Studio IDE from free version such as Community to commercial one such as Ultimate If your team has different platform and only develop on the web, Visual Studio codes is your solution Happy coding!

Topics Highlights

About @ridife

This blog will be dedicated to integrate a knowledge between academic and industry need in the Software Engineering, DevOps, Cloud Computing and Microsoft 365 platform. Enjoy this blog and let's get in touch in any social media.


Month List