One of the new features in C# 7 is local functions. They provide a more intuitive syntax over creating verbose System.Func delegates, as well as being more capable (they support ref and out parameters, async, generics, etc). I also read that local functions compile down to normal methods, thus reducing GC allocations when compared to System.Func.
31 July 2017
14 June 2017
Why should we learn functional programming?
A year ago, I got intensively involved with functional programming from working, that made me change my thought process and analysis extremely. In this blog we will talk about why should we learn FP and how to bring it to use with current working.
12 June 2017
IAM - Identity and Access Management
First service you use when you integrated with AWS is Identity and Access Management (IAM). This service manages permission of users/groups, resources and services under an AWS account. There are three type of IAM identity and have a relationship like the image:
18 May 2017
Speeding up Python Pandas with Vectorized Operations
When working on very large datasets, vectorized operations are many orders of magnitude faster than naive row-by-row operations. In my example, 200X faster.
8 May 2017
Exploring Multiple Dispatch in C# with BenchmarkDotNet
A few years ago, Jakub Chodounský made an excellent post about Dynamic Dispatch in C#. He discussed the relations between static, dynamic, single, and multiple dispatch, and covered a few ways to get Multiple Dispatch behavior in C#:
14 March 2017
Using Roslyn to Automate Refactoring
Automation is a powerful tool for developers. Shell scripts, for example, can automate a system and save countless hours of time. But what if we wanted to automate changes across a codebase? IDE refactorings might not cut it, depending on the nature of the change.
For C# developers, it's no problem! Roslyn, the C# compiler, is also a library that can parse C# code and expose the syntax tree (and more!). When combined with LINQ, this makes it easy to automate changes across a codebase.
For C# developers, it's no problem! Roslyn, the C# compiler, is also a library that can parse C# code and expose the syntax tree (and more!). When combined with LINQ, this makes it easy to automate changes across a codebase.
15 September 2016
Remote debugging iOS browser on windows
Currently, most websites have responsive design to support mobile devices. Sometimes the behavior of mobile and desktop browsers is different; this could be problematic. For crashes on desktop browsers, we can reproduce the issue easily. But if it crashes only on mobile browsers, we need a different way to reproduce the issue such as remote debugging that we will show in this article.
Subscribe to:
Posts (Atom)
Popular Posts
- Increasing Code Quality with SonarQube
- Using Python 3 imaplib to connect to Gmail - Part 1: Searching and Labeling
- Using Roslyn to Automate Refactoring
- Redis on Windows fix: Redis is configured to save RDB snapshots
- Exploring Multiple Dispatch in C# with BenchmarkDotNet
- Getting started with IoT Netduino 3 ethernet a compatibility Arduino board
- IAM - Identity and Access Management
- Third Party API Fetch Strategy
- Why should we learn functional programming?
- Speeding up Python Pandas with Vectorized Operations