Timeline for Difference between Algorithm and Code
Current License: CC BY-SA 4.0
44 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 16, 2023 at 12:32 | comment | added | Jalkhov | @JimmyJames You are right, my native language is not English, and you are also right that the term refute was not correct, I think I would correct it to "respond/opinionate". | |
| Mar 17, 2021 at 3:00 | history | tweeted | twitter.com/StackSoftEng/status/1372019917797621762 | ||
| Mar 14, 2021 at 21:10 | comment | added | JimmyJames | @MonkeyZeus "I used the term 'code' to refer to a Python program, and he told me that he didn't know what 'code' was". This doesn't give enough context, really? I think the OP is likely not a native English speaker (but proficient in English). I think instead of 'refute' the appropriate word is 'correct' or 'inform' but the personal dynamic might not allow that. | |
| Mar 14, 2021 at 15:52 | review | Suggested edits | |||
| Mar 14, 2021 at 16:24 | |||||
| Mar 14, 2021 at 15:09 | answer | added | jmoreno | timeline score: 0 | |
| Mar 13, 2021 at 12:51 | answer | added | FluidCode | timeline score: 0 | |
| Mar 12, 2021 at 20:44 | comment | added | MonkeyZeus | I understand that. "Refute" implies an argumentative stance. You will find life gets easier once you start trying to understand instead of argue. Just because you listened to someone does not mean you agreed with them. Depending on how you actually phrased your "code" statement I could very well be inclined to agree with the other person; I don't know. Your question does not provide enough context. | |
| Mar 12, 2021 at 20:39 | comment | added | Jalkhov | @MonkeyZeus I said "refute" because I simply didn't know how to argue against it, because I knew it wasn't like he said, but I wasn't clear why. | |
| Mar 12, 2021 at 20:26 | comment | added | MonkeyZeus | "I really didn't know how to refute him"? Why do you wish to refute him? That would imply that you have a counter-argument which you clearly lack. Maybe seek to understand before attempting to refute. Code is used to achieve an algorithm. You should expand on how exactly you phrased your statement. | |
| Mar 12, 2021 at 16:58 | comment | added | JimmyJames | @Jalkhov 'Code' in programming is short for 'source code'. 'Code' is potentially ambiguous but 'source code' is pretty specific to software. | |
| Mar 12, 2021 at 16:04 | comment | added | Walter Mitty | Makes me think of Algol, the algorithm oriented language. An Algol program is code, and it generally presents an algorithm. | |
| Mar 12, 2021 at 15:04 | comment | added | J... | Code implements an algorithm. | |
| Mar 12, 2021 at 13:03 | history | protected | gnat | ||
| Mar 12, 2021 at 12:30 | comment | added | Konrad Rudolph | @Jalkhov Easy, just use “source code” instead of “code” to disambiguate. That said, I don't think the conversation you had suffered from that confusion. | |
| Mar 12, 2021 at 11:52 | comment | added | Jared Smith | What is the difference between "abstract" and "concrete"? | |
| Mar 12, 2021 at 11:35 | answer | added | Wandering Software Engineer | timeline score: 8 | |
| Mar 12, 2021 at 11:33 | history | edited | Glorfindel | CC BY-SA 4.0 |
consistent capitalization
|
| Mar 12, 2021 at 9:53 | answer | added | ilkkachu | timeline score: 4 | |
| Mar 12, 2021 at 5:34 | comment | added | user207421 | I guess he would understand the difference between a design or even a blueprint and a bridge. The algorithm is analagous to the design, your code to the bridge. Not a perfect analogy but it should lead him to a better understanding. | |
| Mar 12, 2021 at 2:55 | comment | added | Kind Contributor | "a Civil Engineer with a background in Pascal and BASIC, and we talked about programming in Python" - I think that's pretty clear, we have plenty of context and SO questions are about context. It's not talking about pseudo-code. | |
| Mar 12, 2021 at 2:38 | comment | added | Jalkhov | @Bob__ How interesting, so basically, when I decide to resume such a discussion with this person I would have to make it clear that our two branches (Civil and Computer Science) handle (perhaps) different concepts of the word "code"... And go from there with that clear. | |
| Mar 12, 2021 at 2:30 | comment | added | Jalkhov | @JörgWMittag The truth is that we didn't get that far on the subject, we simply didn't go on because I got stuck, I've never been faced with such a question before. And as far as I can see, the answer is not so precise, there are many points of view, similar, but with interesting variations. | |
| Mar 12, 2021 at 2:08 | answer | added | slebetman | timeline score: 5 | |
| Mar 11, 2021 at 23:26 | comment | added | Bob__ | Please note that, as already mentioned, the term "code" may have a completely different meaning for a civil engineer: asce.org/codes-and-standards/codes-and-standards | |
| Mar 11, 2021 at 22:24 | comment | added | Frax | @DocBrown Does it though? How would you refer to the actual code then? I mean, I don't recall ever seeing the bare word "code" used to implictly mean pseudocode, except perhaps in an unambiguous context, i.e. when referring to some pseudocode that was already presented, or perhaps when explicitly stating it's an approximation: "the code might look something like this: <writes pseudocode>". Did you see it happen in a more ambiguous ways? | |
| Mar 11, 2021 at 22:02 | history | edited | Thomas Owens♦ | CC BY-SA 4.0 |
deleted 322 characters in body; edited tags
|
| Mar 11, 2021 at 21:58 | history | rollback | Thomas Owens♦ |
Rollback to Revision 1
|
|
| Mar 11, 2021 at 21:10 | history | became hot network question | |||
| Mar 11, 2021 at 18:34 | comment | added | Jörg W Mittag | What is your definition of "code"? What is your definition of "algorithm"? What is your colleague's definition of "code"? What is your colleague's definition of algorithm? Have you verified your two definitions of "code" agree with each other? Have you verified that your two definitions of "algorithm" agree with each other? | |
| Mar 11, 2021 at 16:16 | comment | added | Doc Brown | @Todd: and in the context of algorithms I would think code refers more likely to pseudo code. That's exactly my point. | |
| Mar 11, 2021 at 15:40 | vote | accept | Jalkhov | ||
| Mar 11, 2021 at 15:10 | answer | added | JimmyJames | timeline score: 11 | |
| Mar 11, 2021 at 15:07 | answer | added | Greg Burghardt | timeline score: 20 | |
| Mar 11, 2021 at 14:19 | answer | added | Theraot | timeline score: 82 | |
| Mar 11, 2021 at 14:18 | answer | added | Kind Contributor | timeline score: 5 | |
| Mar 11, 2021 at 14:04 | comment | added | Kind Contributor | In the context of Python I would think "code" refers to "source code", not pseudo code | |
| S Mar 11, 2021 at 13:41 | history | suggested | VLAZ | CC BY-SA 4.0 |
Removed irrelevant details; improved formatting.
|
| Mar 11, 2021 at 13:33 | review | Suggested edits | |||
| S Mar 11, 2021 at 13:41 | |||||
| Mar 11, 2021 at 13:33 | answer | added | Flater | timeline score: 72 | |
| Mar 11, 2021 at 13:27 | review | Close votes | |||
| Mar 17, 2021 at 3:04 | |||||
| Mar 11, 2021 at 13:24 | comment | added | Doc Brown | Note, when you say code, in context of programming, this can mean "source code" or "pseudo code" (as well as some other things which you probably did not have in mind). The distinction between "source code" and "algorithm" is much clearer than between "pseudo code" and "algorithm", so if you avoid to say just "code", that could help to avoid misunderstandings. | |
| Mar 11, 2021 at 13:17 | comment | added | Doc Brown | Does this answer your question? Difference between a pseudo code and algorithm? | |
| Mar 11, 2021 at 13:16 | comment | added | Rik D | Does this answer your question? softwareengineering.stackexchange.com/questions/77757/… | |
| Mar 11, 2021 at 13:03 | history | asked | Jalkhov | CC BY-SA 4.0 |