4 ms·
Does it really matter? This is the sort of thing that I would expect to come up in some pedants interview question - it has very little with being able to use
by collyw 10y ago
Does it really matter?
This is the sort of thing that I would expect to come up in some pedants interview question - it has very little with being able to use the features effectively.
- nebucnaut 10y agoIt doesn't matter if no one cares. It matters if 2 devs are talking and only one distinguished between these terms. In that case he has a chance of getting really confused qickly ;)
- yAnonymous 10y agoYes.
- collyw 10y agocare to explain why then?
- JoeAltmaier 10y agoSpeaking of pedants, recent interview one guy (their 'senior scientist') spent the whole hour tossing pedantic nits at me. What about RESTful interfaces? Are they an API or not? Ha! They're not 'procedural'! Guess what this tiny recursive algorithm's parameters are for? I don't know, whatever you use them for. I would never use a recursive algorithm in embedded work (suicide). Ha! Ha! Its the identity value over the virtual function! Ooookay. Good for you. I'd convert it to tail recursion, then a simple iteration, and never need that value. Needless to say I didn't connect.
- ilostmykeys 10y agoI feel your pain man. They're a lot of insecure posers out there who would like to show you that they know more than you do. And often fail miserably at proving their point.
- atom-morgan 10y agoOr every single programming test you ever had in college. (Me)
- to3m 10y agoI bet nobody gets keys and values mixed up, even though it's basically exactly that distinction. Far from pedantic, in my view! If you don't know the difference I do think you'll have difficulty using the features effectively. And if you do know the difference, which most will, it's worth knowing the standard terms. There's only two of them, and it won't take long to commit them to memory.
- taco_emoji 10y agoI've been coding for 20 years and never bothered to learn the difference. I assure you I can use methods and functions quite effectively.
- tempodox 10y agoTry to write an interpreter or compiler (for a language with functions of at least one argument). If you don't get the difference there, you will be in deep trouble.
- to3m 10y agoI bet you do know the difference - you just didn't know the words. And now you do!
- taco_emoji 10y agoI don't see how you could do any high-level programming without understanding the difference between defining a function and calling it. I think you misunderstood collyw's original comment (or maybe I did?) - it's not pedantic to understand the conceptual difference, it's pedantic to worry about the terminology. (Except if you're writing a compiler, I guess, which most programmers are not.)