As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to implement a searching algorithm for sequence of words. For that i need good efficiency for handling string operations.
It completely depends on the kind of string pattern-matching you're expecting to perform. For example, Perl has an excellent and very efficient regular expression matcher.
If you're after regex, this is really cool. I'm not sure if anyone has taken this and implemented it in a way that is useful. But practically, grep and perl are the tools I use most often and prove to be 'fast enough' in most cases. They handle the hard parts. "Matching a sequence of words" isn't hard.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to code a program that given a paragraph of text (letters and numbers), it formats it in a custom way, totally different from the initial source.
The thing I'm wondering is which programming language to use to make it easier to code.
Right now I know some Lua, VB, C and a little less of Python and Java, but I wouldn't mind using other monogramming languages if its easy enough to code it.
If it is okay for you to use a non-mainstream language, have a look at Unicon. It is a successor of SNOBOL, the grandfather of all string processing languages.
If you prefer a mainstream language, I would recommend Python.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have a navigation providing interface, where in given the starting and destination points, and somehow the map of the street maybe, then the path is chosen based on the map, i.e. if a way is found then move in the direction, or if some blockage is found, or if the path will not lead to the desired destination then check for some other path maybe.
Now what programming language will be the best for it? I have worked with C only till now. Will it be all right for me to code in C only?
Is there anything else I need to take care before I take up this project? (Apart from the implementation issues).
Thanks.
Look, the best thing to do is to just start coding and find out. If you are not experienced, it's better to use the language you're familiar with rather than learn a new one. At the end of the day, you can achieve most tasks with most languages.
It's not so much what you use but how you use it.
In terms of the path-finding implementation, you might want to start by looking at A-star or Dijkstra's algorithm.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
In most cases, we put verb before noun when we're naming a function, which is clearly and explanatory, such as OpenFile() or CloseConnection(). But some verbs are nouns too, so we can see WordCount() or SpellCheck(), and so on.
I prefer CountWords(), putting predicate before object, which provides a consistent look with GetXXX(), SetXXX() and OpenXXX().
Which one do you prefer?
I prefer countWords(). Other alternative for me is getWordCount().
I like getWordCount()
Apart from just the action, I like to prefix the function with an actual verb of the function in relation to the caller. setProperty(), getWords() [to return the actual list of words], createWordList(), etc, etc.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Out of curiosity, what programming languages do not have an "If" statement?
First language that somehow operates completely without
an If Then control structure gets the answer.
-1 given to languages no one has actually heard of (eg: "My friend made a programming language in college called 'EwoK' that used a 'when' statement instead...")
Most assembly languages do not have an if statement, instead, they branch or jump to another location based on the result of a logical comparison or processor flag check.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Can you suggest any quick and concise resources for learning SEO techniques?
Beyond John's comment - which is TRUE, here is a list I have compiled (see the rest at http://www.qnq.com.au/resources/online-seo-link-repository/)
In no particular order and with no favour:
http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf
https://docs.google.com/Present?docid=dc3qhbxg_1217d9mwjwg3
http://www.bruceclay.com/web_rank.htm
http://www.websitepublisher.net/seo-guide/
http://www.highrankings.com/tentips
http://www.hobo-web.co.uk/seo/
http://sethgodin.typepad.com/seths_blog/2007/10/how-to-create-1.html
http://www.webconfs.com/15-minute-seo.php
http://www.seomoz.org/blog/the-web-developers-seo-cheat-sheet
http://www.conversationmarketing.com/2010/07/on-page-seo-cheatsheet.htm
http://www.seo-theory.com/wordpress/2008/09/22/nine-lessons-in-search-engine-optimization/
http://searchengineland.com/25-super-common-seo-mistakes-51888
http://www.seobook.com/archives/001792.shtml
http://www.seobook.com/seo-strategy
http://www.bing.com/community/blogs/webmaster/archive/2009/06/26/site-architecture-and-seo-file-page-issues-sem-101.aspx
http://www.searchenginejournal.com/bing-rankings-cheat-sheet/29847/
http://blog.vkistudios.com/index.cfm/2009/9/2/Server-Status-Codes-and-SEO
http://sixrevisions.com/content-strategy/user-friendly-seo/
http://www.youtube.com/watch?v=ecI_hCBGEIM – great 1hr long
presentation from Google
Make it through that list, and you'll be well on your way.
Remember - “Knowing is not enough; we must apply!” – Goethe