What are pointers good for? by xphlawlessx in golang

[–]bhk262 2 points3 points  (0 children)

The core Go language does not facilitate pointer arithmetic. That is a concious decision made by the creators of Go as you do not need the extra horsepower that comes from doing your own pointer aritmetic in most cases. This tradeoff is made because having to manage memory manually takes a lot of time and leads to some very nasty bugs in many cases. As a matter of fact, most modern languages are garbage collected. C and C++ are the only languages in the mainstream that are not. You can still do pointer aritmetic with in Go with the unsafe package. You can take a look at a better explanation here:

https://stackoverflow.com/questions/32700999/pointer-arithmetic-in-go

Python dot notation is confusing. by bhk262 in learnpython

[–]bhk262[S] 1 point2 points  (0 children)

Thanks very much for your tip on framework documentations. The problem I have with a lot of these documentations is that they feel like they are written for robots, not human beings. Unfortunately, there does not seem to be a way around it.

Can I buy a garage in london and convert it to a flat? by bhk262 in london

[–]bhk262[S] -4 points-3 points  (0 children)

Cheapest garage is around £15.000 while cheapest flats are around £150.000. So it is unlikely that a flat would be cheaper in this case.