I want the code

Give it to me now!

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

30 Replies - 4461 Views - Last Post: 21 September 2012 - 11:21 AM

#16 mensahero  Icon User is offline

  • I Desire...
  • member icon

Reputation: 17
  • View blog
  • Posts: 678
  • Joined: 26-May 08

Re: I want the code

Posted 08 June 2008 - 01:19 AM

Searching for better codes or another way to do stuff, IMO is ok.. Why insist your method if there are better methods out there.. But that's not copy/paste.. its just gathering IDEA's that you could possibly implement in your own code.. or finding another better approach rather than using yours..


What I dislike are those who JUST copy/paste codes directly without even trying to understand the code.. and the WORST part is.. they will post it here and say "I HAVE A CODE AND IT's NOT WORKING" then show you a code that is not used in the right way.. :blink: :blink:

IMO.. if you do copy/paste for a valid reason.. like lack of time to code your own.. instead of just copy/pasting it... its better if the code is ANALYZED first or better yet understood.. :blink:

if people don't actually have any passion for programming.. then sense of accomplishment doesn't really matter to them.. :blink:

Quote

When did programming ever become 'cool'? tongue.gif


In my location.. programmers are COOL NERD PEOPLE.. but still there cool.. lmao..

This post has been edited by mensahero: 08 June 2008 - 01:27 AM

Was This Post Helpful? 0
  • +
  • -

#17 n3mesis  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 05-June 08

Re: I want the code

Posted 08 June 2008 - 01:41 AM

View Postmensahero, on 8 Jun, 2008 - 01:19 AM, said:

What I dislike are those who JUST copy/paste codes directly without even trying to understand the code.. and the WORST part is.. they will post it here and say "I HAVE A CODE AND IT's NOT WORKING" then show you a code that is not used in the right way.. :blink: :blink:


I think that this is the worst group of "pseudo-coders"..
The feeling of completing something on your own is priceless. Don't miss to feel it!! ;)
It's nothing to do with high grades and such. Only the experience you gain through this "trip" is quite much!!
Was This Post Helpful? 0
  • +
  • -

#18 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: I want the code

Posted 08 June 2008 - 09:31 AM

Quote

Searching for better codes or another way to do stuff, IMO is ok.. Why insist your method if there are better methods out there.. But that's not copy/paste..


When I was learning to program I didn't have the internet to search -- that not to say that I didn't look at other peoples code. I copied programs out of magazines and out of books. I don't think there is anything wrong with learning from other peoples code. Thats almost the whole point of this forum!

I don't see anything wrong with copying and pasting in little snippets of code that you find. On occasion even if you don't understand it. Example there is a wonderful little bit of code for calculating 1/sqrt(x) which is used over and over in 3D libraries -- there is also a neat article that tries to track down the original author. People had been using this code over and over because it is a gem and truly 5 beautiful lines of code.

Its not the looking for code, or even copy/paste that bothers me.

I am arrogant. I consider my self an artist. A craftsman. I take pride in the programs that I write. I LOVE TO CODE! I get a kick out of it. I love solving problems.

Too bad that software development is a business and will seek the path of least resistance.

This post has been edited by NickDMax: 08 June 2008 - 09:31 AM

Was This Post Helpful? 0
  • +
  • -

#19 Mikhail  Icon User is offline

  • Bastard Operator From Hell
  • member icon

Reputation: 58
  • View blog
  • Posts: 1,378
  • Joined: 26-October 07

Re: I want the code

Posted 08 June 2008 - 09:52 AM

We have some of these people in my school's IT classes, last time time for the final essay of the year, I saw a few people with exact same essay + copied code but it was the same, and guess what all of them failed the class, the main reason for that is our teacher is not an idiot, has over 20 years programming experience, knows most of the coding sites so...after he finished grading the essays he told almost everyone I am disappointed in this work and you, after that he said most of you here will be like failures, This is such as simple program I asked you to create and you had to steal someone work, and actually what he wanted us to do was create a program that counts how many characters/letters are in a word. So pretty much anyone who cheats at that steals code will fail in the IT.

Sure I don't care if you use my code as long as it is open source or i gave you permission to use but it should still retain author's name and other information.

And if you ask me how I do my code I usually think what I want it to do, write down the ideas, design a diagram, after that it is simple pseudocode on paper, after that I usually write it into real code I can either do that in a compiler/ide or paper this is not even hard if you can do it in an IDE you can do it on a paper, if you make a mistake you can always correct it, when using IDE. Anyone agree with me?
Was This Post Helpful? 0
  • +
  • -

#20 The Architect 2.0  Icon User is offline

  • D.I.C Regular

Reputation: 37
  • View blog
  • Posts: 351
  • Joined: 22-May 08

Re: I want the code

Posted 08 June 2008 - 02:22 PM

i think the issue over using others' code is whether or not it becomes a PART of your program or it BECOMES your program. the former is perfectly fine and is required for quickly-made(relatively speaking), effective programs(no need to go reinvent the wheel). the latter is just plagiarism.
Was This Post Helpful? 0
  • +
  • -

#21 Tom9729  Icon User is offline

  • Segmentation fault
  • member icon

Reputation: 180
  • View blog
  • Posts: 2,641
  • Joined: 30-December 07

Re: I want the code

Posted 08 June 2008 - 06:19 PM

I write a lot of code on paper.

Like Mikhail said, you'll probably catch any problems when you're typing it in. Not much of the code I write on paper will compile without any changes, but the changes are usually relatively simple.

Long car trips, if you don't get sick and aren't the one driving, are a great time to get some good ol` pen and paper coding done. :)
Was This Post Helpful? 0
  • +
  • -

#22 JBrace1990  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 110
  • View blog
  • Posts: 760
  • Joined: 09-March 08

Re: I want the code

Posted 09 June 2008 - 08:28 AM

Quote

If we preach "don't reinvent the wheel" over and over to our aspiring developers are we perpetuating this thinking?


I don't think so. Reinventing the wheel is a waste of time, as long as one knows the Theory of operations, there's no need to completely remake it.

I'm an Electronics Major right now, and if I need to use a Transformer or a Coil, I don't go and make one from scratch, I just buy/use the part I need. It's the same with Coding, why rewrite everything and remake it if you understand the operation behind it?
Was This Post Helpful? 0
  • +
  • -

#23 1lacca  Icon User is offline

  • code.rascal
  • member icon

Reputation: 44
  • View blog
  • Posts: 3,822
  • Joined: 11-August 05

Re: I want the code

Posted 09 June 2008 - 09:10 AM

View PostNickDMax, on 7 Jun, 2008 - 10:07 PM, said:

In a professional capacity I actually don't mind the idea of going out and looking at similar code and using it -- in a way this is a big part of the open source revolution. I have no intention of ever writing another routine to read in a bitmap (I want to write a routine that reads in jpeg but that is just because I never have and I want to).


I'd draw a line here: looking for similar code might not be a good thing, however using reliable libraries is engineering.
(Alright, getting code snippets is alright if you have experience, and you see it's quality is great - or you are willing to put it into shape-, but I've seen a couple of times developers just copy&paste something into their code without error checking/exception handling, because it looked-like working well )
Was This Post Helpful? 0
  • +
  • -

#24 Fullchaos  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 39
  • Joined: 30-May 08

Re: I want the code

Posted 09 June 2008 - 11:03 AM

Just speaking from personal experience I can say that from the stand point of a beginner or amateur, code can be difficult. When I first started learning Java, my first programming language, I had a really hard time understanding all the different things that were going on. For instance, declaring a variable, while simple, can be made so much more complex depending on terminology. I needed arrays explained to me as more or less virtual mailboxs where code would be stored like a box number.

It then becomes harder when you're learning a new language at times. Sometimes the language isn't a bad transition because it behaves visually in a similar manner. Java and C++ are prime examples of this in my mind. Meanwhile, while I'm trying to understand asp.net right now, it's still hard for me, because I don't fully understand the syntax.

So seeing the syntax written out and explained line by line (at least in my case) can be really helpful to understanding how code works.
Was This Post Helpful? 0
  • +
  • -

#25 bizzehdee  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 54
  • Joined: 06-April 08

Re: I want the code

Posted 10 June 2008 - 04:12 PM

View PostNickDMax, on 7 Jun, 2008 - 12:19 AM, said:

Many times in the forums we see people who admit to only a smittering of programming experience asking for source code for very complex problems/programs.

One poster I can recall was looking to simulate a multi-thread management routine but was totally out of his/her league. Since we did not offer any code, this poster went out and got some *somewhere* and asked for help fitting it to their assignment. All in all I would call this cheating...

My questions are:

Is this common thinking for the pool of tomorrows developers?

Is this standard in the job market? (I know one major news organization whose IT department worked this way)

If we preach "don't reinvent the wheel" over and over to our aspiring developers are we perpetuating this thinking?

At my university there was a problem with the CS department's students getting a little too heavy handed with the cut and paste when writing research papers. It seems that this idea that all we have to do is find a working example and tweak it a little to fit the current model seems to be spilling over into research papers as well.

the thing that i am seeing more and more often now is that people claim to know PHP, MySQL, ASP.NET (C#/VB.NET), C++, C#... but when it actualy comes to it, they know hello world, or they know OF the language.. and with someone else writing a piece of code for them in a forum such as this, they claim to KNOW the language.
these people are usualy found out pretty quickly in the industry now.. the only way people like this survive is when they know how to talk the talk, but can make it look like they can walk the walk. these are the sort of people who kill small companys by over charging them for work, and then doing a bad job at it. and getting away with it.
i have had experiance of this myself at 2 different companys, 1 went under because of incompitent management and bad hiring decisions, the other simply fired the idiot after my pointing out he had absolutly no idea what he was doing.

as a note: i think that people should be made to go and look how to solve a problem themselfs, if we just give them the answer then they will never learn how to solve the problem themselfs.
Was This Post Helpful? 0
  • +
  • -

#26 WolfCoder  Icon User is offline

  • Isn't a volcano just an angry hill?
  • member icon


Reputation: 782
  • View blog
  • Posts: 7,610
  • Joined: 05-May 05

Re: I want the code

Posted 11 June 2008 - 11:05 AM

View PostSneblot, on 7 Jun, 2008 - 11:01 AM, said:

I have also met alot of people who are doing courses they dont like because their parents either did it or they want them to do it and wont let them do anything else. My mum was slightly like that (she wanted me to become a refridgeration engineer) but I went into web and animation work insted. HAHAHAHAHA

But sometimes could it be that people who start coding dont know how hard somthing there trying to do actualy is? I know I have tried somethings which would be classed as to advanced for a beginner.


I am interested in learning the details of refrigeration so that I could put together a system that cools my computer, but that's about it. My dream system has to have a cool completely clear case (the wall in the back will be made out of a thick plate of insulated material and fans will remove the heat off of the radiator like a heat sink, that might work but I need to find out how to get the heat away) made out of a sturdy material but is insulated to keep the cold inside and the heat out.. I'm thinking of somehow making it out of glass with a insulated gas inside (argon or whatever is used). Another issue would be that it has to be dry inside to otherwise frost will form inside (like if you leave the freezer door open for too long repeatedly the stuff inside grows this layer of ice>_< )

To keep myself from mindlessly using code, I re-write the code to my style so that I can walk myself through it and understand why it can do what it does instead of drop and glue it to my project. I only drop and glue code I've written myself and would like not to write it all over again.

This post has been edited by WolfCoder: 11 June 2008 - 11:13 AM

Was This Post Helpful? 0
  • +
  • -

#27 Quizton  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 49
  • Joined: 18-April 12

Re: I want the code

Posted 21 September 2012 - 10:52 AM

Hello,

I am kinda new to this forum and I understand both sides of the fence as a fully working hit and run with code is not a good thing most of the time, but I think alot of these posts also originate from someone with no real schooling in these subjects.

I learned some vb over winter about 5 or 6 years back and built a pretty nice business program all thru helpfull people who would help me fix things I got hung up on(vbforums). Really never fully grasped what all was going on under the hood cause it all worked well so not much trial and error.

I have learned alot with C# and stuff thru books, screencasts, many many tutorials, loads of trial and error. And believe I got at least a month or two before I test for real certificates

But the main thing is that folks around here who help break things down for beginners, and help them along, eventually he can progress to being quite apt on most tasks needed for a decent job that will feed his family.

Of course those with the best knowledge will be running the show but he could at least perform his job not really to re-invent the wheel but more keep it spinning until those who do.

Thanks for reading and If you liked it dude I could use a rep point lol !
Was This Post Helpful? 1
  • +
  • -

#28 BenignDesign  Icon User is offline

  • holy shitin shishkebobs
  • member icon




Reputation: 5934
  • View blog
  • Posts: 10,346
  • Joined: 28-September 07

Re: I want the code

Posted 21 September 2012 - 10:56 AM

A few things, since you are very new here:

1. Asking for rep usually yields the opposite result.
2. Check dates before replying to threads in the "Related Topics" beta at the bottom of the page - this one is from 2008.
3. Necro'ing threads usually does not end with a positive mark on your rep either.

Just FYI.

Aside from that, welcome to DIC! We're always glad to acquire new and active members.
Was This Post Helpful? 1
  • +
  • -

#29 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,473
  • Joined: 12-June 08

Re: I want the code

Posted 21 September 2012 - 10:58 AM

*ring ring* Hi, 2008? What's happening?

Let's watch some of those last post dates.. I mean this has been inactive since 11 June 2008 - 01:05 P!

Quote

Thanks for reading and If you liked it dude I could use a rep point lol !

Begging for rep - it's unbecoming.

Well poop.. someone scooped me on the chiding.
Was This Post Helpful? 1
  • +
  • -

#30 BenignDesign  Icon User is offline

  • holy shitin shishkebobs
  • member icon




Reputation: 5934
  • View blog
  • Posts: 10,346
  • Joined: 28-September 07

Re: I want the code

Posted 21 September 2012 - 11:04 AM

Posted Image
Was This Post Helpful? 0
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3