well, open sourcing things are good, if its something technical you've made and want to share, or something old you dont care about.
if youre going to release something as open source, you know that someone, someday, will steal part of your code, or the entire thing. so, in my eyes, it should be like writin a book. dudes will read and use it, at their own risk.
so u can even throw in some bugs to punish if someone copypaste ur code
Eh, something a programmer taught me - even if you don't want people to get it, don't add bugs on purpose or comment things badly. It makes you, as a programmer look bad.
Do what I did in uni. Add useless code, e.g.:
If X > 0, turn on flag 2.
If flag 2 is on, turn off flag 2.
Put them far enough from each other that nobody can figure what flag 2 does. People actually copy paste that stuff, and my lecturer found out that nearly half the class copied my code.
Or, if you're feeling naughty, add an off switch.
If Ctrl is pressed AND ] is pressed, turn on flag 3.
Then find a distant part of your code, and add something like
Blabla conditions
If flag 3 is on
Blabla more conditions
Then exit application.
So, you know that when you press Ctrl+] and the game crashes later, it's been mindlessly copied.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
Pssh, I just take them out when I'm using them. That's what the Never condition is for
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.