Weird Things About GOLANG [Part 1]

Written by adityasnl | Published 2020/05/07
Tech Story Tags: golang | golang-types | go | pointer-in-golang | coding | beginners | learning | education

TLDR The first part of a series on weird things about golang is a short-hand syntax for declaring and initialising variables in golang. There is no JAVA error like, but there is also no NULL values like NODEJS like MR STARK WE WON! There are default values for int/float, string and boolean variables respectively and by the docs, there are known as zero-valued variables. But there is still a weirdy nil values present in. golang that can crash a program but we will talk about it later.via the TL;DR App

no story

Written by adityasnl | Wake. Code. [Refract]. Sleep. Repeat!
Published by HackerNoon on 2020/05/07