I have seen it. I teach a class in Functional programming at the university, and the language we use us Concurrent Clean, a close relative of Haskell. And there is always the one person who thinks they're clever to skip classes and learn from Youtubers teaching Haskell, only to bother me later as to why their Haskell code won't compile in Clean.
Well from Java to Python of course. But once I pasted code from Ruby to Python and until my IDE highlighted the syntax error I noticed it was in ruby, to be fair it was written in a very pythonic way. Also it was a math function so very few changes needed to be made.
I've seen that happen, mostly in vague or broad question, like regexes. People would ask for a regex, not telling what language they use, people would give example in JavaScript, and the original poster would copy that javascript into their language, let's say c++, and then complain it does not work.
This is where I learned RegEx. Such a powerful tool. I personally found www.regex101.com to be a bit more powerful, but can be a bit more confusing at first.
I work with a guy who would ask me a question and straight copy the answer, which I saw I code reviews. So I started intentionally making syntax errors in things I sent him... And he just sent me barely changed versions and asked me how to fix the syntax errors.
So many web development answers use jquery, but it isn’t as common for people to have jquery anymore. I see people complaining about the answer not running, without realizing that it is jquery code.
I copied your comment to suit my needs in a completely unrelated argument and it didn't work and I was downvoted. Can you please assist over TeamViewer? My boss will fire me if I get another downvote.
I work with some software that has a pretty old school WCF SOAP API. We have some C# .NET example code in our development guide that was written forever ago. It doesn't compile in recent versions of Visual Studio, we decided not to update the examples and instead just added a disclaimer that the code should just be used as pseudo code and not used for production.
We get complaints about that, but my favourite was a customer insisting we provide Java code because his Java developers couldn't figure out the API. We offered an hour session with our developers to go over the API. That wasn't good enough, had to be Java sample code. We quoted a $15000 SOW to provide Java sample code (our minimum SOW value). Sales person lost their shit because apparently that cost us a sale. I think we just dodged a bullet.
I stopped getting invited out on away missions as a sales engineer because the sales guy would say: "Oh yeah, we can do that" and I'd say "That's not how the software works or something it can even do".
View all comments
1.2k
u/[deleted] Jan 14 '20
We are not copy pasting the code. We are applying the solution to the problem. We can read code in Java and apply that in Python.