“Monday”.length is working JavaScript and does equal 6. No print command afaik though.
“Monday”.length is working JavaScript and does equal 6. No print command afaik though.
Yeah. The maintainer said in their blog post they’re looking for a license that lets people read the code but not fork it. Isn’t that just standard American copyright?
Edit: Looks like they went with CC BY-NC-SA 4.0 Deed (Attribution-NonCommercial-ShareAlike 4.0 International). So not an open source license and one that CC themselves recommends not using for software.
This blog from the maintainer makes it clear they have no interest in open source other than to advertise their own skills
Interesting article! I can’t tell from the post, though, is this due to a limitation on bots in Matrix or that no one has invested to make a similar bot for Matrix?
The go community is strongly opinionated in unique ways. For example, using libraries is generally frowned upon. You either use something included in the language itself (standard library) or copy/paste the code you wrote in another project. There’s also advocacy for shorter variable names which generally seems counter to the normal “write descriptive variable name” mantra.
All in all, I hope the ideas / opinions came from a good place and then some people took them as black & white rules. But they also come off as one or two people’s pet peeves who got to build a language around them.
I’m going to have to print out the Go version for all future “it’s idiomatic” and “but the community!” debates at work
What’s a situation where you need an unused variable? I’m onboard with go and goland being a bit aggressive with this type of thing, but I can’t think of the case where I need to be able to commit an unused variable.
.
.
.