Author Topic: C# or Python  (Read 1443 times)

0 Members and 1 Guest are viewing this topic.

Offline FlzedZ

  • Serf
  • *
  • Posts: 29
  • Cookies: 1
    • View Profile
C# or Python
« on: August 23, 2014, 03:40:19 pm »
Oh no, another "what language" topic.
I've read your Which Language To Start With and Road to a Programming Life and I've not seen C#.
Main reasons I want to learn one of them (before jumping on others)
* make video games
* make hacking software (and learn hacking and forensics)
* web dev
So, I know both are fine for web (C# -> asp.net); what about the other 2 points?
« Last Edit: August 23, 2014, 03:41:11 pm by FlzedZ »

Offline Teddy

  • /dev/null
  • *
  • Posts: 12
  • Cookies: 8
    • View Profile
Re: C# or Python
« Reply #1 on: August 23, 2014, 03:54:18 pm »
Considering that you are just starting to talk over developing software it shouldn't really matter which one you pic.

In generell:
Video games, which render 3d images and so on are mainly coded in C++ simply because of the needed speed and so on.
hacking Software: Both should be fine if we are talking about the 101 scripts you are going to need for a support. However I could imagine that python development is faster there..

BTW have you considered to start with Haskell. You would have the support of Ryan Gosling there:

http://haskellryangosling.tumblr.com/



Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: C# or Python
« Reply #2 on: August 23, 2014, 04:39:27 pm »
Well these are two completely different languages. Python is a scripting and interpreted language while C# is a programming and compiled language. C# generally only runs on Windows while for Python all the computer needs is an interpreter for its OS.

I am a Java developer mainly, and I love C# because it's so similar and has a bunch of things I think Java should have (operation overloads, class extensions, and many more).
I generally only use Python for quick maintenance scripts, but I once used it to make an artificial neural network which is obviously a much bigger project.

It all comes down to preference. I'm assuming that this will be your first language from what you've said in the OP, so I would recommend Python out of those two. Don't become a Pydick and only write Python. Once you've got a handle on it learn some other, more advanced languages.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline FlzedZ

  • Serf
  • *
  • Posts: 29
  • Cookies: 1
    • View Profile
Re: C# or Python
« Reply #3 on: August 23, 2014, 05:02:30 pm »
I'm assuming that this will be your first language from what you've said in the OP
I've studied PHP, HTML (not a language, ok), C, C++
But I've never touched any OOP, thing class, inheritance and so on

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: C# or Python
« Reply #4 on: August 23, 2014, 05:04:45 pm »
Well if you really studied C++, you have touched OOP.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline FlzedZ

  • Serf
  • *
  • Posts: 29
  • Cookies: 1
    • View Profile
Re: C# or Python
« Reply #5 on: August 23, 2014, 05:08:52 pm »
Well if you really studied C++, you have touched OOP.
Haven't studied classes and other stuff, so not that much

Offline TheBlackShadow

  • /dev/null
  • *
  • Posts: 9
  • Cookies: 0
  • Software - Programming - Hacking LOVER
    • View Profile
Re: C# or Python
« Reply #6 on: August 23, 2014, 05:57:50 pm »
I'm a C# Developer, so I strongly recommend you to learn this powerful programming language. You'll be able to do a lot of things (including Windows apps, Web apps, and so on). If you never used OOP, C# will gives you a lot of features easy to learn. But you have to do some things before creating mallicious software. Good luck.
- - - Hacking is not a crime - - -


Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: C# or Python
« Reply #7 on: August 23, 2014, 06:10:07 pm »
Haven't studied classes and other stuff, so not that much

So really you haven't studied C++. If you don't even know about the classes in the language, you can't really say that you studied it.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline FlzedZ

  • Serf
  • *
  • Posts: 29
  • Cookies: 1
    • View Profile
Re: C# or Python
« Reply #8 on: August 23, 2014, 08:42:55 pm »
So really you haven't studied C++. If you don't even know about the classes in the language, you can't really say that you studied it.
I left it before getting into classes.

Offline Schalla

  • VIP
  • Peasant
  • *
  • Posts: 81
  • Cookies: 29
    • View Profile
Re: C# or Python
« Reply #9 on: August 24, 2014, 12:16:56 am »
That is impossible, since every C++ introduction starts with the principle of objects/classes. This is like the basic introduction, before even starting with anything else.

Offline FlzedZ

  • Serf
  • *
  • Posts: 29
  • Cookies: 1
    • View Profile
Re: C# or Python
« Reply #10 on: August 24, 2014, 01:27:07 am »
That is impossible, since every C++ introduction starts with the principle of objects/classes. This is like the basic introduction, before even starting with anything else.
Well, do you want to do something about it? I've started with other topics and I've never moved into classes. I didn't start with classes. My studying trip didn't start with classes nor OOP.

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: C# or Python
« Reply #11 on: August 24, 2014, 02:27:32 am »
Well, do you want to do something about it? I've started with other topics and I've never moved into classes. I didn't start with classes. My studying trip didn't start with classes nor OOP.

One does not use an OOP language without OOP. Sure, maybe you wrote a couple elementary programs in C++, but that doesn't mean you know it. I suggest going back and actually learning the language before going on to others.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline FlzedZ

  • Serf
  • *
  • Posts: 29
  • Cookies: 1
    • View Profile
Re: C# or Python
« Reply #12 on: August 24, 2014, 11:49:58 am »
One does not use an OOP language without OOP. Sure, maybe you wrote a couple elementary programs in C++, but that doesn't mean you know it. I suggest going back and actually learning the language before going on to others.
In fact I've never said "I KNOW C++". If you read my post, I said "I've studied C++".
You can study how to make a search engine like Google without touching a code; "how does it work? maths inside of a search engine?" and you never actually reach the code part because you leave the project.

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: C# or Python
« Reply #13 on: August 24, 2014, 04:21:02 pm »
IMO coding games you cannot get by with just C++. Knowing python on the side will help very much.

Offline FlzedZ

  • Serf
  • *
  • Posts: 29
  • Cookies: 1
    • View Profile
Re: C# or Python
« Reply #14 on: August 24, 2014, 09:50:09 pm »
IMO coding games you cannot get by with just C++. Knowing python on the side will help very much.
Ok, but instead of C++, I'm going with C# right now