Re:EA got hacked and games source code leaked including new ...
by scrps on Friday June 11, 2021 @06:28AM
(#27471454)
I've always described source code to non-technical people as the recipe and ingredients, compiling as the baking, and the software as the bread loaf. Seems to land for most people
[ Parent
| on HN ]
Re:EA got hacked and games source code leaked including new ...
by Wowfunhappy on Friday June 11, 2021 @01:05PM
(#27475847)
That's a fine way to put it, but it's not as relevant in the context of the BBC article, particularly focusing on why the leak matters.
Re:EA got hacked and games source code leaked including new ...
by whateveracct on Friday June 11, 2021 @12:09PM
(#27475130)
Source code is also the mixing & prep. Compiling is just the heat of the oven in the metaphor.
Re:EA got hacked and games source code leaked including new ...
by jfrunyon on Friday June 11, 2021 @12:18PM
(#27475223)
The mixing & prep already begin to change the substance of the ingredients, just like 'compiling' is in fact usually multiple steps which all change the substance (for example, preprocessor=cutting, compiler=mixing, assembler=baking, linker=cooling)
Re:EA got hacked and games source code leaked including new ...
by mandeepj on Friday June 11, 2021 @03:22PM
(#27477404)
> I've always described source code to non-technical people as the recipe and ingredients
Not bad. What would you say about saying - " a source code is a set of instructions for a computer to execute". That way, we can still keep the conversation (some what) technical.
Re:EA got hacked and games source code leaked including new ...
by robtaylor on Friday June 11, 2021 @07:36AM
(#27471912)
I love this - thank you.
Re:EA got hacked and games source code leaked including new ...
by StavrosK on Friday June 11, 2021 @07:47AM
(#27472013)
Ooh I like this one, thanks!
Re:EA got hacked and games source code leaked including new ...
by heavenlyblue on Friday June 11, 2021 @08:32AM
(#27472398)
What do you achieve with this explanation? This metaphor literally has zero predictive value.
For example, it may be quite hard to reverse-engineer a loaf of bread, but reading assembly is actually quite easy to understand what the program actually does.
Re:EA got hacked and games source code leaked including new ...
by yoz-y on Friday June 11, 2021 @09:47AM
(#27473259)
When you know the recipe for a bread you can make another one and maybe add or remove some ingredient. If you only have the loaf then indeed you can't reverse engineer the recipe unless you are a very experienced baker. Same with code.
Re:EA got hacked and games source code leaked including new ...
by apocalyptic0n3 on Friday June 11, 2021 @10:54AM
(#27474226)
Reading Assembly may not be difficult, but reverse engineering and figuring out what it is doing is. Same as with bread. Pulling a loaf of bread apart and seeing the individual grains and how the connect isn't difficult, figuring out the process for making it is.
If you're trying to explain to a non-technical person what source code is, the bread example from OP is actually a great analogy. It's simple, to the point, and almost everyone will know how bread is made. Is it oversimplified? Sure. But that's the entire point of trying to give a real brief overview to someone with no technical experience.
Re:EA got hacked and games source code leaked including new ...
by wizzwizz4 on Friday June 11, 2021 @12:24PM
(#27475309)
The only difference is that we have the equivalent of molecular nanoassemblers for code, but not for bread.
Re:EA got hacked and games source code leaked including new ...
by apocalyptic0n3 on Friday June 11, 2021 @01:04PM
(#27475825)
Which is true and fair. But as a method of describing a very technical thing to non-technical people, it seems like a useful tool. We're not trying to give them a CS degree here, just give them enough information to continue reading the article without being totally confused.
Re:EA got hacked and games source code leaked including new ...
by nexuist on Friday June 11, 2021 @09:53AM
(#27473334)
Reading assembly is not really easy, especially in the context of video games using proprietary GPU I/O, it might as well be obfuscated because there is no way you're figuring out how Frostbite handles bullet drop from a page of x86 instructions. Maybe if you're willing to spend years reverse engineering game engines, you can start to form patterns in your head, but even then we're talking about niche specialties inside niche specialties. In no way is it accessible to an average software developer, unlike source code which most developers can read and understand after a few dozen hours.