Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 13, 2009, 06:54 PM   #1
macbooker15
macrumors 6502
 
Join Date: Jan 2008
Location: Hello! I'm over here!
An if list website

Is there any kind of website or service that provides any kind of database of commonly used if statement lists? For example converting letter grades to GPAs in a home brew grading application? Or assigning each letter of the alphabet to a specific number? Because if there isn't, I'm thinking of starting one. Users would go onto the website and search for a specific kind of if list in a specific language and could get said list and copy into there program. What are your comments or suggestions if i just suck at googling and something like this already exists.
__________________
Rooted HTC Evo Shift 4g; NEW 13" Macbook Pro 2.53 Ghz 4gb RAM 500 GB HD
macbooker15 is offline   0 Reply With Quote
Old Jul 13, 2009, 07:27 PM   #2
Cinder6
macrumors 6502
 
Join Date: Jul 2009
Never heard of one, but wouldn't most of the "common" ones be pretty trivial? Your examples are, at least--especially the second one, because letters already have numbers associated with them

What about, instead of common if clauses, just common tasks? That'd give it more scope, and it'd probably wind up more useful.
Cinder6 is offline   0 Reply With Quote
Old Jul 13, 2009, 07:44 PM   #3
GorillaPaws
macrumors 6502a
 
GorillaPaws's Avatar
 
Join Date: Oct 2003
Location: Richmond, VA
Quote:
Originally Posted by Cinder6 View Post
What about, instead of common if clauses, just common tasks? That'd give it more scope, and it'd probably wind up more useful.
Take a look at Code Beach.
GorillaPaws is offline   0 Reply With Quote
Old Jul 13, 2009, 09:10 PM   #4
autorelease
macrumors regular
 
Join Date: Oct 2008
Location: Achewood, CA
Long "if lists" are usually a sign of bad code. Use switch statements, tables, and other techniques when possible.
__________________
*** -[NSAutoreleasePool autorelease]: Cannot autorelease an autorelease pool
autorelease is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Weird problem on website? kclimson Web Design and Development 1 Nov 19, 2011 07:35 PM
Dashcode - How to check if list is empty jcellis Web Design and Development 0 Oct 26, 2011 03:39 AM
Priority List Website SonoViva iPhone 9 Jul 23, 2010 05:45 PM
would someone mind seeing if this website works? yayitsezekiel Community Discussion 6 Mar 24, 2010 02:25 AM
Is anyone a member of a forclosure listing website OscarTheGrouch Community Discussion 0 Apr 14, 2009 11:58 AM


All times are GMT -5. The time now is 11:35 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC