Golang feels to me like a compiled language with a scripting language's sensibilities re: e.g. small one-off programs.
-
-
Replying to @patio11
I don't think I'd reach straight for it for e.g. parsing a file since Ruby better for string manipulation, but totally viable for 1hr hacks.
4 replies 0 retweets 1 like -
Replying to @tqbf
@tqbf@patio11 Fwiw, Go team has thought long and hard about regex: https://swtch.com/~rsc/regexp/1 reply 0 retweets 0 likes -
Replying to @clipperhouse
@clipperhouse@patio11 Sure, and that’s a great article, but it doesn’t make regexes any easier to use in Golang.1 reply 0 retweets 0 likes -
Replying to @tqbf1 reply 0 retweets 0 likes
-
Replying to @clipperhouse
@clipperhouse@patio11 Yes; they’re first class constructions in the language, not a library you import and call.1 reply 0 retweets 0 likes -
Replying to @tqbf
@tqbf@clipperhouse They're also syntax sugared for a bunch of common use cases, like string[/a regexp/], which returns the match or nil.2 replies 0 retweets 0 likes
@tqbf @clipperhouse I think this gist demonstrates the intangible joy of Ruby regexps compared to golang/Java/etc:https://gist.github.com/patio11/efc421680aa2fd49c761 …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.