Changes between Version 19 and Version 20 of ProgrammingTips


Ignore:
Timestamp:
Nov 8, 2011, 10:30:16 AM (10 years ago)
Author:
Matthäus Wander
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProgrammingTips

    v19 v20  
    1  * You can use the following license header and change the first line:
    2 {{{
    3 /*
    4    Copyright 2009 Erika Musterfrau, University of Morrowland
    5 
    6    Licensed under the Apache License, Version 2.0 (the "License");
    7    you may not use this file except in compliance with the License.
    8    You may obtain a copy of the License at
    9 
    10        http://www.apache.org/licenses/LICENSE-2.0
    11 
    12    Unless required by applicable law or agreed to in writing, software
    13    distributed under the License is distributed on an "AS IS" BASIS,
    14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15    See the License for the specific language governing permissions and
    16    limitations under the License.
    17 */
    18 }}}
    19 
    201 * Avoid plain strings as output property type to pass structured data which needs to be parsed. Instead consider using an array, a set, a dictionary or similar.
    212 * Use the .NET Attribute [Conditional("DEBUG")] for debug methods which should not be called in the Release version. Inside a conditional method you can print a stacktrace, check debugging assertions or similar.