Live data from Hacker News

Show HN: Go-git – low-level and extensible Git client library in Go

github.com

1–10 of 60 posts

Re: Show HN: Go-git – low-level and extensible Git client library in Go

#6

Reminds me of `gitgo` https://github.com/ChimeraCoder/gitgo

Yep is a very similar approach, I'm not familiar with gitgo, but we started to work on go-git before gitgo was published, so this is the reason why we have our own project instead of collaborating on a existing one.

Re: Show HN: Go-git – low-level and extensible Git client library in Go

#7
post #5

Golang is the new JavaScript: everything that can be rewritten with it will be :)

Not sure I see that as a bad thing.

When learning a new language for a real problem, I'll go back to things I've written before and rewrite them in the new language.

The core logic is already figured out, so the exercise helps me match up constructs and try to apply the new language idiomatically. Then I can go back to my original problem with more ideas about how to use the new language effectively.

Plus, it's fun.

Re: Show HN: Go-git – low-level and extensible Git client library in Go

#8
post #5

Golang is the new JavaScript: everything that can be rewritten with it will be :)

Go's lexical scoping and first class function/method's owe a lot to JS for leading the way IMHO. That said, it's "object" system is almost the complete reverse. JS is methods with data, Go is data with methods. It's an interesting contrast.

Re: Show HN: Go-git – low-level and extensible Git client library in Go

#10
post #8
post #5

Golang is the new JavaScript: everything that can be rewritten with it will be :)

Go's lexical scoping and first class function/method's owe a lot to JS for leading the way IMHO. That said, it's "object" system is almost the complete reverse. JS is methods with data, Go is data with methods. It's an interesting contrast.

Javascript leading the way? What are you talking about?

First class functions is a concept from mathematics and many programming languages had this feature way before javascript existed, and I simply don't understand exactly what concept of Go's lexical scoping resembles anything exclusive of javascript.

I don't understand the last paragraphs about methods with data and data with methods, but Go's structs resembles C's structs, binding methods to a struct is an thing I've only seen in Go, but maybe some other programming language had this before.

Post reply on HN