• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:45
CET 00:45
KST 08:45
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Offline Finals Info - Dec 13 and 14! StarCraft Evolution League (SC Evo Biweekly) Sea Duckling Open (Global, Bronze-Diamond) $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night
Brood War
General
The top three worst maps of all time Foreign Brood War BGH Auto Balance -> http://bghmmr.eu/ Data analysis on 70 million replays BW General Discussion
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile ZeroSpace Megathread The Perfect Game
Dota 2
Official 'what is Dota anymore' discussion
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
European Politico-economics QA Mega-thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
I decided to write a webnov…
DjKniteX
Physical Exertion During Gam…
TrAiDoS
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1583 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
TL+ Member
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
Patches Events
23:00
5.4k Patch Clash #9
Liquipedia
BSL 21
20:00
RO16: Group D
Bonyth vs StRyKeR
Tarson vs Dandy
ZZZero.O223
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft373
Liquid`TLO 232
elazer 182
CosmosSc2 127
ProTech119
SpeCial 65
StarCraft: Brood War
Shuttle 641
Artosis 504
ZZZero.O 223
NaDa 21
Terrorterran 4
Dota 2
Dendi1588
syndereN583
LuMiX1
League of Legends
Nathanias42
Heroes of the Storm
Khaldor193
Other Games
Grubby5941
shahzam582
XaKoH 96
Mew2King88
Maynarde79
fpsfer 2
Organizations
Other Games
EGCTV2270
gamesdonequick1800
BasetradeTV31
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Hupsaiya 60
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler98
League of Legends
• Doublelift4292
Other Games
• imaqtpie2238
• Shiphtur204
Upcoming Events
Replay Cast
9h 16m
Wardi Open
12h 16m
StarCraft2.fi
16h 16m
Monday Night Weeklies
17h 16m
Replay Cast
1d
WardiTV 2025
1d 12h
StarCraft2.fi
1d 16h
PiGosaur Monday
2 days
StarCraft2.fi
2 days
Tenacious Turtle Tussle
3 days
[ Show More ]
The PondCast
3 days
WardiTV 2025
3 days
StarCraft2.fi
3 days
WardiTV 2025
4 days
StarCraft2.fi
5 days
RSL Revival
5 days
IPSL
5 days
Sziky vs JDConan
RSL Revival
6 days
Classic vs TBD
herO vs Zoun
WardiTV 2025
6 days
IPSL
6 days
Tarson vs DragOn
Liquipedia Results

Completed

Proleague 2025-12-04
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
Acropolis #4 - TS3
WardiTV 2025
META Madness #9
Kuram Kup
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
RSL Offline Finals
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 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.