where programming languages are lagging

All things techie, be they discussions on troubleshooting, video encoding, programming, or algorithm design.

Moderator: Nuxius

Re:

Postby TerraFrost » Thu Aug 28, 2008 3:30 pm

TerraFrost wrote:Equality is, oddly, similar to SQL (ie. not equals is <>, equals is =, etc).

In most languages, "not equals" is != and prepending ! before a function or variable gives you the "not" of that function or variable.

I mention that because in CSS, ! doesn't mean "not" - in CSS. !important, for instance, doesn't mean something is "not important" - it means it "is important".
TerraFrost
Legendary Guard
 
Posts: 12357
Joined: Wed Dec 04, 2002 6:37 am

Re: where programming languages are lagging

Postby TerraFrost » Mon Sep 28, 2009 1:15 am

Normally, when initializing a new variable, you do something like this:

java.math.BigInteger p = new java.math.BigInteger();

In ASN.1, however, it's different:
Code: Select all
     gadget  ItemId  ::=
       {
        partnumber      "7685B2",
        quantity        73,
        wholesaleprice  13.50,
        saleprice       24.95
       )


defines ``gadget" as a value of type ``ItemId".

source
TerraFrost
Legendary Guard
 
Posts: 12357
Joined: Wed Dec 04, 2002 6:37 am

Previous

Return to Communications Center

Who is online

Users browsing this forum: No registered users and 2 guests

cron