Is remembering essential to coding? [closed] - iphone

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I suppose it's not a specific programming question, but it is a question about programming nonetheless.
While I completely understand all the code that i read in the book that I'm using (I have even figured out an error in the book that I fixed my self, within seconds just by looking at it)there are things in there that I'm sort of remembering without really .. thinking about it.
I guess my question is, is it essential to remember some code, or is it a bad practice?
Again, I'm sorry if this is a waste of time to anyone, I'm only trying to learn as much as I can about programming and instilling good habits is important.
I know that Understanding code is much better, and It's what I did when I was learning objective-c , I literally stopped remembering code and wanted to understand it instead of just remember, and it worked. Now that I'm working with Cocos2D, It sometimes feels like I'm remembering instead of understanding, if that makes any sense.. Although since I know Objective-C now, I understand the code, but the order in which it is written.. I'm sort of relying on memory..

Related

Is touch typing necessary to be an efficient programmer? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am 16 and I have been programming for a couple months. I am really interested in computer science and i am thinking i want to go into the field of programming. I just have one problem; I am a very slow typer. I tap at the keyboard with two or three fingers most of the time. I was wondering if I should learn how to touch type if I want to be a programmer. After all though, when programming, I spend the majority of my time thinking about what I am going to type than I do actually typing so I am wondering how beneficial it would really be. One of the main reasons I was considering learning how to type is so I can use advanced text editors like vim with ease. My final question, If you do think it would be helpful to learn, where should I learn and how long would it most likely take for me to lose my old habits?
I know devs that are great at their job and they still chicken peck their keyboards. Learning to think and analyze is way more critical than learning to type without looking.
Having said that, it is damn useful to learn since working with the keyboard is quicker than pointing and clicking. As far as where to learn, I don't know. Just keep typing, keep programming. Eventually, you'll just develop a feel for it.
Just do not think about it. After 3 years of programming your will study to type pretty fast.

What are the advantages of NServiceBus over MSMQ? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I know this as been asked but couldn't find an answer that I understand...
Some people told me about the main thing are sagas, but it doesn't look such a big advantage to make me spend my bucks on NServiceBus when I already have MSMQ....
That's a little bit like asking "why do I need ASP.NET MVC when I already have HTTP?"... a little tongue-in-cheek, but still with a lot of truth in it.
NServiceBus gives you message serialization, a sensible threading model, routing, and several ready-to-use messaging patterns out of the box.
MSMQ gives you... message queues! And a fairly complicated API with many low level options that give you no real pit of succes...

Difference between obsolete and waste code [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
What is the difference between terms: "obsolete code" and "waste code"?
If there is the difference, what approaches are eligible for its reduction?
Obsolete code:
Code that may have been useful in the past, but is no longer used, e.g. code to use a deprecated protocol.
Waste code:
Never heard of the term, but I'd imagine - code that may or may not be executed that can be removed without changing workings of the application. I'd imagine this would include obsolete code.
Either of the above can range from single statements to entire libraries.
Personally I would say that obsolete code are methods that are there, but aren't used any more. Like for example deprecated methods/functions. Waste code would I define as code that has as only function to slow the application down.

Site where you can submit your Scala code and have it reviewed [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Does anyone know of a site, newsgroup, message board, etc. where I can submit some of my Scala code to have it "reviewed" by experienced Scala developers? The code works and whatnot, but I'd really like to learn to be more idiomatic when coding Scala, and often I find myself reverting to more imperative like development because I can't find a "better way."
Try on Code Review
My advice is to upload your project to github - make sure to add copyright and licensing information. Then post the one or two relevant short snippets on Code Review and link to your project on github.
Note that there are plenty of questions here on stackoverflow where users have asked to turn something that is imperative to something more functional or idiomatic. The key is to break down your problems into distinct issues you're trying to solve then take the one that has the most chance to get an answer and ask a question about it. If you can make it self contained then that really good. See https://stackoverflow.com/search?tab=relevance&q=%5bscala%5d%20%20idiomatic for some ideas...

Are there good and easy to understand tutorials on NSXMLParser? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I try to wrap my head around NSXMLParser and all its delegate methods. Would be great if someone knew a good tutorial on that. I need an overview that describes the concept and how things are done. I know the seismicXML example from apple but it's really hard to grasp.
I also know there are plenty of other frameworks like TouchXML, but I want to understand NSXMLParser. I just want it. I know it's stupid. But I want.
Introduction to Event-Driven XML Programming Guide for Cocoa from Apple docs is good enough imo.