• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 23:27
CEST 05:27
KST 12:27
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Voting2[ASL20] Ro4 Preview: Descent5Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
5.0.15 Patch Balance Hotfix (2025-10-8)61Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition295.0.15 Balance Patch Notes (Live version)119$2,500 WardiTV TL Map Contest Tournament 154
StarCraft 2
General
PartinG joins SteamerZone, returns to SC2 competition TL.net Map Contest #21: Voting 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21 - Finalists Geoff 'iNcontroL' Robinson has passed away
Tourneys
SC2's Safe House 2 - October 18 & 19 Sparkling Tuna Cup - Weekly Open Tournament RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia $2,500 WardiTV TL Map Contest Tournament 15
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
[ASL20] Ro4 Preview: Descent Any rep analyzer that shows resources situation? Whose hotkey signature is this? BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Semifinal A [Megathread] Daily Proleagues [ASL20] Ro8 Day 4 Small VOD Thread 2.0
Strategy
Current Meta BW - ajfirecracker Strategy & Training Siegecraft - a new perspective TvZ Theorycraft - Improving on State of the Art
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Stop the Construction YouTube Thread Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1161 users

Coding plagiarism question

Blogs > Phyre
Post a Reply
Phyre
Profile Blog Joined December 2006
United States1288 Posts
September 16 2008 04:51 GMT
#1
So a potential employer has asked me to write a game in flash as part of the interview. He said following tutorials is fine but all code must be your own, fairly standard. So naturally I go find a relevant tutorial and follow it to the letter the first time around to make sure it all works and I understand how it works. Then I go about trying to code the thing again from scratch for submission but I find that the tutorial did a lot things in what I feel to be the most optimal way.

So I find myself in a predicament where deviating from the tutorial and trying to write original code will end up having the code be complex for the sake of being complex and different. Doing the things the most optimal and simplest way results in my code looking essentially cut and paste from the tutorial, which makes me nervous and feel guilty.

The original tutorial was done entirely in 1 file in an essentially procedural manner so the main difference between my work and the tutorial is that mine is split into classes in what I feel to be a fairly logical layout where everything is designed for optimal re-usability, extensibility, and readability.

However, like I said before, there are a number of functions that might as well be copy and pasted they are so close. It feels like I'm trying to break down a "Hello World" program and rewrite it so it looks original. The tutorial's stuff seems like it's as simple as it can be done and doing largely anything else would be making things more complex and less optimized for the sake of originality.

So, what should I do? Do I turn it in knowing full well certain functions look borderline identical to the tutorial and be prepared to defend myself by saying what I've said above. Or do I make the program needlessly more complex and less optimized for the sake of originality?

"Oh no, I got you with your pants... on your face... That's not how you wear pants." - Nintu, catching 1 hatch lurks.
haduken
Profile Blog Joined April 2003
Australia8267 Posts
September 16 2008 05:11 GMT
#2
Just use the code. The functions that you have trouble with looks to be fairly low level work which can be implemented with a bit of time and effort. Just comment the code and explain what the function does so you can prove that you do understand it.

Any decent software employer will not expect you to code everything from the scratch as in a work environment you are unlikely to code common low level things.

Unless you can think of a way to implement the function in a different way to reduce complexity or overhead. And if you do that make sure your interviewer sees it.
Rillanon.au
Phyre
Profile Blog Joined December 2006
United States1288 Posts
Last Edited: 2008-09-16 05:25:34
September 16 2008 05:18 GMT
#3
Thanks for the advice. We'll see how it goes.
"Oh no, I got you with your pants... on your face... That's not how you wear pants." - Nintu, catching 1 hatch lurks.
R1CH
Profile Blog Joined May 2007
Netherlands10341 Posts
September 16 2008 05:29 GMT
#4
Generally you go about doing "program x" by learning how to program x rather than using someones implementation and working backwards. Now you see the original as the holy grail of perfect coding so you have a somewhat distorted view compared to as if you'd learned the principles and built it from the ground up. As long as your code is original (no copy/paste), clean, commented and reusable you should be fine.
AdministratorTwitter: @R1CH_TL
LosingID8
Profile Blog Joined December 2006
CA10828 Posts
September 16 2008 05:32 GMT
#5
lol R1CH sick icon hahaha
ModeratorResident K-POP Elitist
HeadBangaa
Profile Blog Joined July 2004
United States6512 Posts
September 16 2008 05:42 GMT
#6
- Make sure the code chunk you're copying is open source/freely available.
- Make sure it's just a small section of your program, include it, and cite the source in a comment.
People who fail to distinguish Socratic Method from malicious trolling are sadly stupid and not worth a response.
Phyre
Profile Blog Joined December 2006
United States1288 Posts
September 16 2008 05:50 GMT
#7
Thanks guys.

Off topic: That is indeed a badass icon R1CH, MTG rules.
"Oh no, I got you with your pants... on your face... That's not how you wear pants." - Nintu, catching 1 hatch lurks.
Please log in or register to reply.
Live Events Refresh
Next event in 6h 33m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft446
PartinGtheBigBoy 427
RuFF_SC2 148
StarCraft: Brood War
Larva 559
Noble 72
ajuk12(nOOB) 29
Icarus 7
Dota 2
monkeys_forever364
PGG 172
NeuroSwarm40
Super Smash Bros
Mew2King28
Heroes of the Storm
Khaldor134
Other Games
summit1g13600
JimRising 706
ViBE222
Maynarde181
kaitlyn46
Nina41
Organizations
Other Games
gamesdonequick740
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• practicex 14
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Scarra1640
• Rush850
• Lourlo638
Other Games
• WagamamaTV541
Upcoming Events
Afreeca Starleague
6h 33m
Barracks vs Snow
Wardi Open
7h 33m
Monday Night Weeklies
12h 33m
Replay Cast
20h 33m
Afreeca Starleague
1d 6h
Soma vs Bisu
OSC
1d 10h
OSC
1d 14h
PiGosaur Monday
1d 20h
The PondCast
3 days
OSC
3 days
[ Show More ]
Wardi Open
4 days
CranKy Ducklings
5 days
Safe House 2
5 days
Sparkling Tuna Cup
6 days
Safe House 2
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.