Hi Manigandand
First of all welcome to dev.to and congrats for this first post.
I noticed the program of your post comes from a tweet from Dave Cheney:
Dave Cheney @davecheney #golang pop quiz: what does this program print?package mainimport ( "fmt")func isEven(v int) bool { if v%2 == 1 { goto false } return !falsefalse: return false}func main() { fmt.Println(isEven(2020))} 20:25 PM - 08 Jan 2020 3 32
I think it would be better if you cited this source.
I don't think dev.to has any rules against this kind of content reuse, and I'm not personnaly against it, however I find it more honest to always cite sources.
agree
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Manigandand
First of all welcome to dev.to and congrats for this first post.
I noticed the program of your post comes from a tweet from Dave Cheney:
I think it would be better if you cited this source.
I don't think dev.to has any rules against this kind of content reuse, and I'm not personnaly against it, however I find it more honest to always cite sources.
agree