view the rest of the comments
News
Welcome to the News community!
Rules:
1. Be civil
Attack the argument, not the person. No racism/sexism/bigotry. Good faith argumentation only. This includes accusing another user of being a bot or paid actor. Trolling is uncivil and is grounds for removal and/or a community ban. Do not respond to rule-breaking content; report it and move on.
2. All posts should contain a source (url) that is as reliable and unbiased as possible and must only contain one link.
Obvious right or left wing sources will be removed at the mods discretion. We have an actively updated blocklist, which you can see here: https://lemmy.world/post/2246130 if you feel like any website is missing, contact the mods. Supporting links can be added in comments or posted seperately but not to the post body.
3. No bots, spam or self-promotion.
Only approved bots, which follow the guidelines for bots set by the instance, are allowed.
4. Post titles should be the same as the article used as source.
Posts which titles don’t match the source won’t be removed, but the autoMod will notify you, and if your title misrepresents the original article, the post will be deleted. If the site changed their headline, the bot might still contact you, just ignore it, we won’t delete your post.
5. Only recent news is allowed.
Posts must be news from the most recent 30 days.
6. All posts must be news articles.
No opinion pieces, Listicles, editorials or celebrity gossip is allowed. All posts will be judged on a case-by-case basis.
7. No duplicate posts.
If a source you used was already posted by someone else, the autoMod will leave a message. Please remove your post if the autoMod is correct. If the post that matches your post is very old, we refer you to rule 5.
8. Misinformation is prohibited.
Misinformation / propaganda is strictly prohibited. Any comment or post containing or linking to misinformation will be removed. If you feel that your post has been removed in error, credible sources must be provided.
9. No link shorteners.
The auto mod will contact you if a link shortener is detected, please delete your post if they are right.
10. Don't copy entire article in your post body
For copyright reasons, you are not allowed to copy an entire article into your post body. This is an instance wide rule, that is strictly enforced in this community.
As a programmer, I have made a career from being one step ahead, thanks to Google. I don’t bother with formal training courses anymore, when a quick skim of Google gives me what I need much quicker. Text books? I have not bought one in decades.
Tears for your career when someday you search some obscure code in a language you don't regularly use and it comes back with only ads for a paid sub for a high powered coding AI.
Or when your employer is sued by stack exchange after a code audit because their TOS says they own the copyright on all user submitted code and their whole business model is get everyone used to using it and go after businesses for copyright violation because programmers copy paste code blurbs.
The number of code snippets that can be copied and pasted and fit your use-case exactly is almost 0. The number of those code snippets that are well written and would survive code review is even smaller. Stack overflow is good for getting an idea of what libraries exist. Good programmers use it for inspiration and move on to official docs from there (assuming they exist).
There's usually other non-stack exchange resources that pop up in searches so I'll just scroll on to those.
And that copy pasting can include changing variable names to match yours while still violating copyright. And I agree that good programmers don't even do that, but there's a lot of not so good programmers out there.
That doesn't excuse a copyright violation.
My point is looking at stack overflow to see what libraries are available is not copyright violation.
Code snippets on Stack Overflow aren't copyrighted in the first place.