• Welcome to Valhalla Legends Archive.
 

Re: Welcome

Started by K, October 20, 2003, 01:57 PM

Previous topic - Next topic

K

Quote3) If you post anything that is C or C++ specific, prepend your topic's subject with [C], [C++], [C#]respectively.

Why would C# posts belong in a C/C++ forum?  

Adron

Excellent question. .NET should be its own forum since it's neither VB nor C++!

K

Although I don't think there are enough posters here who use .NET to warrant that; when there's a good amount of .NET topics in the General Programming Forum, you could try setting up a .NET-specific forum.

CupHead

It's a C variant, now quit whining.

Tuberload

I think it's a Java variant.
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

iago

Yes, it's a ripoff of Java which has nothing to do with C.  Just because it's named C# doesn't mean it has to do with C or C++, just like because you're called Cuphead doesn't mean you have a cup on your shoulders.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


CupHead

First of all, that has to be about the dumbest analogy I've ever read.  Deserving of the annals of idiocy.  Secondly, if you weren't spending your time being a complete twit, you'd know that JScript is .NET's "ripoff of Java".  The syntax of C# is related more closely to C++ than it is to Java despite its horrifying amounts of namespace usage.  I suggest you check both out so that you can give informed opinions in the future.

Adron

Either way, all the .NET languages are more closely related to each other than to other languages. Questions asked about how to do things in a .NET language will have similar answers in other .NET languages.

K

QuoteIt's a C variant, now quit whining.

It is syntactically similar to C++ which is syntactically similar to java.  Unfortunantly, the similarity ends there, because the libraries are different.  C#: .NET.  C/C++: Standard Library / STL.  saying C# : C++ :: C++ : C is completely wrong.
Consider:
Q: How do I do console IO?

A: (C#)

using System;

namespace HelloWorldProject
{
    public class MyFirstClass
    {
         public static void main(string[] args)
         {
                Console.Write("Enter Your Name: ");
                string sName = Console.ReadLine();
                Console.WriteLine("Hello " + sName);
                return;
         }
    }
}


A: (C++)

#include <iostream>
#include <string>
using std::cout;
using std::cin;
using std::endl;
using std::string;

int main(int argc, char* argv[])
{
    string sName;
    cout << "Enter Your Name: " << endl;
    getline(cin, sName);
    cout << "Hello " << sName << endl;

    return 0;
}


PS: C# is much more similar to Java than JScript .NET.  JScript kind of reminds me of a cross between java and pascal.

//JScript:
function AddIntegers(a : int, b : int) : int
{
  var result : int;
   
  result = a + b;
  return result;
}

CupHead

What the hell is going on in that tiny little head of yours, K?  Obviously all .NET languages use the .NET framework and the .NET CLR.  You can't possibly be dumb enough to think we were comparing anything other than syntax, can you?

Adron

We're obviously not comparing syntax, because very few people ask questions about the syntax of C++. Most questions deal with how to do this and that, and the answer will depend on the runtime. Thus, all the .NET languages belong together :)

CupHead

Feel free to make a .NET forum and move all of the appropriate topics.

Adron

I don't know .NET well enough to moderate such a forum appropriately. My strong languages are assembler, C++ and somewhat VB. .NET is almost completely unknown to me.

CupHead

Then perhaps suggesting such a forum was a little premature?   ::)

Arta

This whole thread is retarded.