Posted by Rhonda Tipton on October 7, 2007
I was asked the other day how to comment in HTML. I know HTML, but I hardly ever comment in it. So I thought I would post the syntax for commenting in several programming languages.
C#
// This is a comment
/* Multiple
line comment */
/// <summary>XML comments on single line</summary>
/** <summary>XML comments on multiple lines</summary> */
VB.NET
‘ This is a comment
REM This is a comment
”’ <summary>This is an XML comment</summary>
HTML
TRANSACT SQL
select “hello” – this is a comment
/* This is a muti-line comment */
RUBY
# This is a comment
=begin
This is a multi-
line comment
=end
VFP
* This is a comment
USE customer && This is an inline comment
–
Posted in Misc Development | No Comments »
Posted by Rhonda Tipton on August 5, 2007
CodeKeep is a great resource for code snippets. The site contains over 3000 public snippets for C#, VBNET, ASPNET, CSS, TSQL as well as many other languages. There are feeds for each language that you can subscribe to. You can also use their site to store private snippets for your own use. CodeKeep also has an add-in for VS 2003 and 2005. I have not tried them yet, but plan on it in the future.
CodeKeep Snippet Repository
CodeKeep Feeds
CodeKeep Add-ins
Posted in Misc Development, Recommendations | No Comments »
Posted by Rhonda Tipton on April 30, 2007
Posted in Misc Development | No Comments »
Posted by Rhonda Tipton on March 11, 2007
There has been a lot said over the past few weeks about how most programmers can’t program and the use of the FizzBuzz test to measure competance.
Basically, a FizzBuzz test consists of writing a program that prints the numbers from 1 to 100. For multiples of three print “Fizz” instead of the number, for the multiples of five print “Buzz” and for numbers which are multiples of both three and five print “FizzBuzz”.
I consider myself an intermediate to senior (II/III) developer in Visual FoxPro as I have been a FoxPro developer for over eight years. I am trying to learn .NET (C#), so in that arena I consider myself entry level.
My times for the FizzBuzz test are below.
Visual FoxPro = 2 - 2.5 minutes
C# = 4 - 6 minutes
VB.NET = 4 - 6 minutes
I had to make it through the syntax differences for the .NET versions.
I feel that I am a good developer; however, when it comes to the pressure of someone standing over you waiting for you to code something, it is not as easy for some people. This is where I need to improve - especially, if I ever need to look for a new position.
[-Related Topics-]
Using FizzBuzz to Find Developers
Why Can’t Programmers.. Program?
Measuring Programmer Competence via FizzBuzz
Posted in Misc Development | No Comments »