Go Back   UG Community @ Ultimate-Guitar.Com > UG Community > The Pit
User Name  
Password
Search:

View Poll Results: Your programming language?
C 25 28.41%
C++ 45 51.14%
C# 20 22.73%
Python 32 36.36%
Perl 12 13.64%
Lisp 11 12.50%
Haskell 12 13.64%
Idris 11 12.50%
Java 40 45.45%
Ruby 14 15.91%
Multiple Choice Poll. Voters: 88. You may not vote on this poll

Reply
Old 12-05-2012, 01:34 PM   #41
Eastwinn
you'd prefer an astronaut
 
Eastwinn's Avatar
 
Join Date: Dec 2008
Location: Getafe, Spain
Quote:
Originally Posted by CoreysMonster
I'm considering writing my own 2D engine for my bachelor project, but 3D is just too much work for me right now. In my experience all commercial engines are in C++, why would you recommend C?


i like the challenge
Eastwinn is offline   Reply With Quote
Old 12-05-2012, 01:37 PM   #42
eGraham
¬cool
 
eGraham's Avatar
 
Join Date: Oct 2008
Quote:
Originally Posted by crazysam23_Atax
Java is also very much a cross platform language. Your smartphone? Probably programmed with Java. Your PC? Has some Java. Your Mac? Same as your PC. Etc.? HAS JAVA. By extension, languages like C also are somewhat cross platform. I gotta say, Object Oriented is one of the better programming concepts out there.

How dare you imply that I'd buy a Mac

But yes, its universal nature is one of the biggest things I appreciate about Java.
__________________
Quote:
Originally Posted by Trowzaa
I wish I was American.
eGraham is offline   Reply With Quote
Old 12-05-2012, 01:42 PM   #43
crazysam23_Atax
Feuergesicht
 
crazysam23_Atax's Avatar
 
Join Date: Oct 2009
Quote:
Originally Posted by eGraham
How dare you imply that I'd buy a Mac



*ahem* I apologize, my dear man!
__________________
Tunes?

Bandcamp

Now working on my upcoming EP "Discarnate". See the expected track list on my bandcamp.



Terry Prachett is funnier than you! Discworld
crazysam23_Atax is offline   Reply With Quote
Old 12-05-2012, 01:45 PM   #44
CoreysMonster
Banned
 
CoreysMonster's Avatar
 
Join Date: Apr 2005
Location: Germany
Quote:
Originally Posted by Eastwinn
i like the challenge

You're a twisted man, Eastwinn.

A twisted, twisted man.
CoreysMonster is offline   Reply With Quote
Old 12-05-2012, 02:04 PM   #45
Hebriqui
Paid for being an idiot
 
Hebriqui's Avatar
 
Join Date: Nov 2010
Location: Your bed. (。◕‿‿◕。)
I've started on python, and it's great. It's really really fast and actually used a lot by mathematicians and astronomers to analyze great amounts of data at a time.
__________________
Quote:
Originally Posted by PsiGuy60
Banned because f*ck you Hebriqui.
I'd been going for a month or so.


Quote:
Originally Posted by Peres.T.Peanut
oh **** you
Hebriqui is offline   Reply With Quote
Old 12-05-2012, 02:40 PM   #46
conor-figgy
Lighting Designer
 
conor-figgy's Avatar
 
Join Date: Jul 2009
Quote:
Originally Posted by Hebriqui
I've started on python, and it's great. It's really really fast and actually used a lot by mathematicians and astronomers to analyze great amounts of data at a time.


Oh really? I was told that we (physicists) mainly use C++ by my mini-lab demonstrator... I'm working towards a major in astronomy. Not that it makes a huge difference but it's nice to know what my (hopefully eventual) peers use in general.
conor-figgy is offline   Reply With Quote
Old 12-05-2012, 02:48 PM   #47
Skynyrd890
Unregistered User
 
Skynyrd890's Avatar
 
Join Date: Sep 2007
C# or Python.

Python only because it's so simple, it's like a toy.
__________________
Quote:
Originally Posted by Dreadnought
Bitch idiot children
Skynyrd890 is offline   Reply With Quote
Old 12-05-2012, 03:00 PM   #48
Adam...?
A user of some sort
 
Join Date: Sep 2008
Location: A bit to the left
The only programming language I'm familiar with at all is Python. It's been useful on the handful of occasions I've had to deal with giant text files containing DNA sequencing data.

Also, I guess it was kind of fun for getting my foot in the door for Project Euler.
__________________
There will probably be a signature here at some point.
Adam...? is offline   Reply With Quote
Old 12-05-2012, 03:07 PM   #49
Arby911
Finding the Pattern
 
Arby911's Avatar
 
Join Date: Jul 2010
As another poster has mentioned previously, English. I'll go a little further though. Spoken English.

What's that you say? There's currently no computer in existence that can accept spoken English and translate it into useful programs, beyond a few extremely limited applications?


Fine, I'll wait!
__________________
The man who holds to a belief because of tradition, or hides it because he fears he may be shown to be wrong, does not love the truth but manifests a coward’s faithfulness to his prejudices.
Arby911 is offline   Reply With Quote
Old 12-05-2012, 03:12 PM   #50
Godsmack_IV
UG's only somethinorather
 
Godsmack_IV's Avatar
 
Join Date: Jan 2007
Quote:
Originally Posted by conor-figgy
Oh really? I was told that we (physicists) mainly use C++ by my mini-lab demonstrator... I'm working towards a major in astronomy. Not that it makes a huge difference but it's nice to know what my (hopefully eventual) peers use in general.


The one's I've talked to say that both C++ and Python are their main goto languages. C++ is faster; it's commercial grade. Python is simple and easy to maintain. Suggest you start with Python and then learn C++ for use with bigger projects.
__________________
Godsmack_IV is offline   Reply With Quote
Old 12-05-2012, 03:15 PM   #51
eGraham
¬cool
 
eGraham's Avatar
 
Join Date: Oct 2008
Quote:
Originally Posted by Arby911
As another poster has mentioned previously, English. I'll go a little further though. Spoken English.

What's that you say? There's currently no computer in existence that can accept spoken English and translate it into useful programs, beyond a few extremely limited applications?


Fine, I'll wait!

That'll be the day.

Like now, you can speak of program languages in the context of English, like

"If they enter 3, then the answer is blue"

But instead you have to type a bunch of other shit.

Code:
if(userInput == 3){ System.out.print("The answer is blue."); } else System.out.print("This was a gay example."); }
__________________
Quote:
Originally Posted by Trowzaa
I wish I was American.
eGraham is offline   Reply With Quote
Old 12-05-2012, 03:33 PM   #52
Eastwinn
you'd prefer an astronaut
 
Eastwinn's Avatar
 
Join Date: Dec 2008
Location: Getafe, Spain
Quote:
Originally Posted by CoreysMonster
You're a twisted man, Eastwinn.

A twisted, twisted man.


after a year or two of c#, i now officially hate object oriented programming. i could just ignore the object oriented parts of c++ but they actually slow it down slightly, so why not use C, you know?

luckily programming is only a hobby of mine and it's limited to games, simulation, and computation, so my hate of oop doesn't hold me back a bit. if i decided i wanted to make a large application with a complex gui then i'd bite the bullet and use C# or Java.
Eastwinn is offline   Reply With Quote
Old 12-05-2012, 03:39 PM   #53
Godsmack_IV
UG's only somethinorather
 
Godsmack_IV's Avatar
 
Join Date: Jan 2007
Code:
#include <cstring> #include <iostream> using namespace std; void preference(char* p) { if ( !strcmp(p, "Javascript") ) { cout << "GTFO" << endl; } else cout << "You're alright in my books" << endl; } void input(char* p) { cout << "Hey guy, what's your preferred programming language?" << endl; cin >> p; } int main() { char* p; input(p); preference(p); }
__________________
Godsmack_IV is offline   Reply With Quote
Old 12-05-2012, 03:48 PM   #54
Wesbanez
Registered Abuser
 
Wesbanez's Avatar
 
Join Date: Aug 2007
Location: East Anglia, UK
Quote:
Originally Posted by Metallica1554
matlab :P



Haha somebody else did scientific programming at Uni? **** me I hated matlab.
Wesbanez is offline   Reply With Quote
Old 12-05-2012, 03:58 PM   #55
crazysam23_Atax
Feuergesicht
 
crazysam23_Atax's Avatar
 
Join Date: Oct 2009
Quote:
Originally Posted by Eastwinn
after a year or two of c#, i now officially hate object oriented programming. i could just ignore the object oriented parts of c++ but they actually slow it down slightly, so why not use C, you know?

luckily programming is only a hobby of mine and it's limited to games, simulation, and computation, so my hate of oop doesn't hold me back a bit. if i decided i wanted to make a large application with a complex gui then i'd bite the bullet and use C# or Java.

OH, FUCKING GUIs! I hate GUIs. They're so damn messy to program. Even a simple GUI can be hundreds of lines of code. My Object-Oriented Programming professor loves GUIs, and so he uses them extensively in our "labs" (which is basically where you have a program and have to either fix problems with a program). There's labs where like 3/4 of the main Java file is the GUI code. Then, you may have to edit that GUI code, which is always a bitch.


At least that's how it is in Java. I don't have experience with programming GUIs in any of the C languages.
__________________
Tunes?

Bandcamp

Now working on my upcoming EP "Discarnate". See the expected track list on my bandcamp.



Terry Prachett is funnier than you! Discworld
crazysam23_Atax is offline   Reply With Quote
Old 12-05-2012, 03:59 PM   #56
sfaune92
Used Register
 
Join Date: Oct 2008
Location: UK/NO
Quote:
Originally Posted by Metallica1554
matlab :P

Oh I hate that piece of shit...
__________________
ERROR 0x45: Signature not found
sfaune92 is offline   Reply With Quote
Old 12-05-2012, 04:04 PM   #57
conor-figgy
Lighting Designer
 
conor-figgy's Avatar
 
Join Date: Jul 2009
Quote:
Originally Posted by Godsmack_IV
The one's I've talked to say that both C++ and Python are their main goto languages. C++ is faster; it's commercial grade. Python is simple and easy to maintain. Suggest you start with Python and then learn C++ for use with bigger projects.


Already started with C++, it's what we were taught alongside our second year physics labs. Also, I'm taking intro to programming at the moment, C++ also.

edit: I've never used matlab extensively but I love using it for graphing the data from my lab reports.

edit2: Since we're talking about things we use in college, anyone here use LaTeX?

Last edited by conor-figgy : 12-05-2012 at 04:06 PM.
conor-figgy is offline   Reply With Quote
Old 12-05-2012, 04:10 PM   #58
J-Dawg158
UG's Resident Dhampyr
 
J-Dawg158's Avatar
 
Join Date: Nov 2008
C++

1. Because it's the only one I know
2.
__________________
I'm an
Engeneer
Enginear
Enginere

I'm Good at Math
J-Dawg158 is offline   Reply With Quote
Old 12-05-2012, 04:22 PM   #59
TheChaz
Scientist Salarian
 
TheChaz's Avatar
 
Join Date: Jun 2008
Location: California
Quote:
Originally Posted by J-Dawg158
C++

1. Because it's the only one I know
2.

Lol. Foxtrot ftw. Of course my local newspaper removed it from the funnies
TheChaz is offline   Reply With Quote
Old 12-05-2012, 04:27 PM   #60
Godsmack_IV
UG's only somethinorather
 
Godsmack_IV's Avatar
 
Join Date: Jan 2007
Quote:
Originally Posted by conor-figgy
Already started with C++, it's what we were taught alongside our second year physics labs. Also, I'm taking intro to programming at the moment, C++ also.


Python will be no problem for you then. It lets you skimp over a lot of the low-level stuff that C++ requires you to write. Dat convenience! The above C++ code I posted becomes...

Code:
p = input("Hey guy, what's your preferred programming language?") if p == "Javascript": print "GTFO" else: print "You're alright in my books"


Yeah, and whitespaces matter quite a bit in python

It's great for small scripts and learning a whole bunch of programming concepts quickly without having to get into low-level stuff.
__________________
Godsmack_IV is offline   Reply With Quote
Reply


Thread Tools Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -4. The time now is 04:05 AM.

Forum Archives / About / Terms of Use / Advertise / Contact / Ultimate-Guitar.Com © 2014
Powered by: vBulletin Version 3.0.9
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.