Being Cellfish
Stuff I wished I've found in some blog (and sometimes did).
Pages
(Move to ...)
Home
About
Disclaimer
Contact
▼
Showing posts with label
go
.
Show all posts
Showing posts with label
go
.
Show all posts
2024-05-06
Yet another reason to love Go: math/rand/v2
›
With the recent explanation of how math/rand evolved into math/rand/v2 I got reminded why I first fell in love with Go . Design decisions ...
2023-05-11
Go for C# developers: defer is not IDisposable
›
When using an IDisposable object in C# you have some pretty clear expectations on when that object is disposed. While the same thing is tec...
2023-04-13
Testing a periodic worker
›
I came across somebody that was asking about how to test their code. They had a function that would do certain work at short intervals and t...
2022-12-08
Go for C# developers: LINQ
›
When I worked in C# I loved LINQ . I also probably used it more than I should have. I have recently looked into some options to bring LINQ t...
2022-11-24
Go for C# developers: Unicode strings
›
There are a few gotchas with strings in Go if they contain unicode characters.
2022-09-08
Go for C# developers: Using keywords as identifiers
›
It doesn't happen very often but sometimes there is a variable name that makes sense that happens to be a reserved word in the language....
2016-12-08
Go for C# developers: functions vs methods
›
I must admit that I often use the words function and method interchangeable. Probably because I was once taught that a method is a functio...
2016-11-10
Go for C# developers: Parsing and Formatting time
›
Time for something that really boggled my mind in the beginning; the choice of how time formats are created in Go.
2016-10-27
Go for C# developers: Polymorphism
›
One of the things I miss the most in Go is polymorphism . I must confess that the lack of polymorphism is one of those things that still an...
2 comments:
2016-10-20
Go for C# developers: Go is not a functional language
›
Last week covered a lot of ground but that articled linked last week did not cover another aspect of Go that might bite you.
2016-10-13
Go for C# developers: 50 things you should know
›
Once again I can just lean back and relax as somebody else already did my work.
2016-09-22
Go for C# developers: All your async are belong to us
›
Learning how to write "good" go code (in some definition of good) sometimes mean you need to unlearn old habits. This is especiall...
2016-09-15
Go for C# developers: Where to define interfaces
›
When writing Go code the general guideline is not to create interfaces unless it is really needed. A good example would be an interface with...
2 comments:
2016-07-28
Go for C# developers: Closures, loops and pointers
›
As a seasoned C# developer you should be familiar with the common pitfalls of closures where a variable in a lambda function is not always w...
2016-07-21
Go for C# developers: Go for Java developers
›
Ok, so I was lucky. Somebody else already covered the basics and I share the first impressions covered in this article . Since Java and C# (...
2016-06-30
Go for C# developers: Unit testing
›
Let’s talk about unit testing and Go. The fact that unit tests typically are placed side by side with the code (in the same package as the c...
2016-06-09
Go for C# developers: Interfaces that are never nil
›
This was a funny feature I came across when i was learning Go . I was working with an API that used interfaces and was surprised that some o...
2016-05-19
Go for C# developers: the foreach is not what it seem to be
›
If you are learning Go you know there is no foreach nor while in Go - just for with a few different ways of setting it up. There is a ni...
2016-04-21
Go for C# developers: Introduction
›
When I first started to learn Go a few months ago I compared a lot of things to things that was familiar to me; C#. And I decided to make a...
1 comment:
2016-02-18
Go, maps and randomization
›
A couple of years ago it was very easy to DoS attack .Net web services as the headers were added to a dictionary. Back then the hash of the ...
›
Home
View web version