Vocab - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Programming
Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 08-29-2009, 03:04 PM   #1 (permalink)
Seg Fault'n
 
Join Date: Jul 2005
Location: The dried husk where America came from
Posts: 5,801
Default Vocab

I would like to say first that I have not checked any of these, I am going by what I use and any corrections and additions are welcome.

I'll start with easy with some symbols to save my poor brain. Preferred names are first and possible alternatives come after.

Symbols

() parentheses, brackets

[] brackets, square brackets

{} braces, curly brackets

<> chevrons, inequality signs

. dot

# hash, sharp

~ tilde

& ampersand

^ caret, hat

* asterisk, multiplication

` backtick

' single quote

" double quote

| vertical bar, pipe

- subtraction, hyphen

+ addition

! exclamation point, bang

\ backslash, bash

/ forward slash, whack, division

#! shebang (contraction of sharp and bang)

Coding terms

Array - A named variable that holds a number of other variables of a specific type.

Exception - A specific condition that is met during program execution; generally used for generating error messages, but can also be used for branching to a different execution path of the program.

Function - A block of code that can be called from somewhere else in the code.

Loop - A code block that repeats while a condition is true.

Pointer - A variable that is linked to, or "points to", a specific memory address / block of addresses. Is used to directly modify the memory or memory space that a variable is associated with.

Queue - Similar to a stack, except uses FIFO concept (First In, First Out). Think of it like a line (or queue) of people waiting for a ticket. The first person in line will receive their ticket before the person that comes in line after them.

Stack - a set of variables, objects, etc. laid out consecutively in memory. Uses FILO concept (First In, Last Out). The first variable in, will be the last one "popped" off the top of the stack.

[variable] Type - Many languages require that a variable holds a certain type of data. The range of types available depend on the language.

Variable - In short this is a "space" where a value is kept. A name is used to keep track of this space.

Operators

[left++] - evaluate then increment
[++right] - increment then evaluate
[left--] - evaluate then decrement
[--right] - decrement then evaluate
[left == right] - test equality between left and right
[left != right] - test inequality between left and right
[left < right] - test left less than right
[left <= right] - test left less than or equal to right
[left > right] - test left greater than right
[left >= right] - test left greater than or equal to right
[left || right] - test left or right is true
[left && right] - test left and right is true
[left += right] - assign left to the value of left + right
[left -= right] - assign left to the value of left - right
[left *= right] - assign left to the value of left * right
[left /= right] - assign left to the value of left / right
__________________

__________________


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
"Get your money and let's go to court!" - Craig Mudie, MS
kmote is offline   Reply With Quote
Old 08-29-2009, 05:32 PM   #2 (permalink)
 
Join Date: Feb 2009
Location: WI, USA
Posts: 1,556
Send a message via MSN to yzmxer608
Default Re: Vocab

I guess these are pretty easy:

* multiplication
- subtraction, hyphen
+ addition
/ division
__________________

__________________
yzmxer608 is offline   Reply With Quote
Old 08-29-2009, 05:35 PM   #3 (permalink)
Wizard Techie
 
CrazeD's Avatar
 
Join Date: Feb 2006
Location: Maine
Posts: 3,736
Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Vocab

! exclamation point, bang

\ backslash, bash

/ forward slash, whack
__________________

Intel Q9400 | Gigabyte EP45-UD3P | G.Skill 2x2GB DDR2 1000 | XFX HD5870

Need website help? PM me!
CrazeD is offline   Reply With Quote
Old 08-29-2009, 06:23 PM   #4 (permalink)
Seg Fault'n
 
Join Date: Jul 2005
Location: The dried husk where America came from
Posts: 5,801
Default Re: Vocab

Added. Didn't know about bash and whack.
__________________


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
"Get your money and let's go to court!" - Craig Mudie, MS
kmote is offline   Reply With Quote
Old 09-04-2009, 01:16 PM   #5 (permalink)

Triforcer
 
Baez's Avatar
 
Join Date: Sep 2005
Location: Toronto, Canada
Posts: 6,987
Default Re: Vocab

Add shebang when talking shell or perl.
__________________


Baez is offline   Reply With Quote
Old 09-05-2009, 07:13 AM   #6 (permalink)
Oldie but a goodie
 
oldskool's Avatar
 
Join Date: Jun 2008
Location: Maine, USA
Posts: 1,762
Default Re: Vocab

Quote:
Originally Posted by Baez View Post
Add shebang when talking shell or perl.
^ Lol, for real ? Wow. What next, "she bop?"
oldskool is offline   Reply With Quote
Old 09-05-2009, 12:39 PM   #7 (permalink)

Triforcer
 
Baez's Avatar
 
Join Date: Sep 2005
Location: Toronto, Canada
Posts: 6,987
Default Re: Vocab

lol it's for real oldskool.

Shebang means #! together.

The shebang line refers to the location of shell or perl and is written on the very first line of code.

Usually looks like:

#!/bin/sh
or
#!/usr/bin/perl
__________________


Baez is offline   Reply With Quote
Old 09-05-2009, 12:45 PM   #8 (permalink)
Seg Fault'n
 
Join Date: Jul 2005
Location: The dried husk where America came from
Posts: 5,801
Default Re: Vocab

Added it. I thought it was spelled shabang... till now.
__________________


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
"Get your money and let's go to court!" - Craig Mudie, MS
kmote is offline   Reply With Quote
Old 09-05-2009, 01:13 PM   #9 (permalink)
Oldie but a goodie
 
oldskool's Avatar
 
Join Date: Jun 2008
Location: Maine, USA
Posts: 1,762
Default Re: Vocab

Quote:
Originally Posted by Baez View Post
lol it's for real oldskool.

Shebang means #! together.

The shebang line refers to the location of shell or perl and is written on the very first line of code.

Usually looks like:

#!/bin/sh
or
#!/usr/bin/perl
@Baez,

Thanks for that clarification
oldskool is offline   Reply With Quote
Old 09-05-2009, 11:21 PM   #10 (permalink)

Triforcer
 
Baez's Avatar
 
Join Date: Sep 2005
Location: Toronto, Canada
Posts: 6,987
Default Re: Vocab

Hey anytime buddy.

Isn't that a Ricky Martin song too?
__________________

__________________


Baez is offline   Reply With Quote
Reply

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 01:27 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.