• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:45
CEST 09:45
KST 16:45
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists16[ASL21] Ro16 Preview Pt1: Fresh Flow9[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0
Community News
2026 GSL Season 1 Qualifiers14Maestros of the Game 2 announced82026 GSL Tour plans announced14Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid24
StarCraft 2
General
Maestros of the Game 2 announced Team Liquid Map Contest #22 - The Finalists MaNa leaves Team Liquid 2026 GSL Tour plans announced Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool
Tourneys
2026 GSL Season 1 Qualifiers Sparkling Tuna Cup - Weekly Open Tournament GSL CK: More events planned pending crowdfunding RSL Revival: Season 5 - Qualifiers and Main Event Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 522 Flip My Base The PondCast: SC2 News & Results Mutation # 521 Memorable Boss Mutation # 520 Moving Fees
Brood War
General
ASL21 General Discussion Pros React To: ASL S21, Ro.16 Group C BGH Auto Balance -> http://bghmmr.eu/ [TOOL] Starcraft Chat Translator Data needed
Tourneys
[ASL21] Ro16 Group C [ASL21] Ro16 Group D [Megathread] Daily Proleagues [ASL21] Ro16 Group B
Strategy
Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend? Fighting Spirit mining rates
Other Games
General Games
Diablo IV Nintendo Switch Thread Dawn of War IV Starcraft Tabletop Miniature Game General RTS Discussion Thread
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2340 users

Java or C#?

Blogs > pQylling
Post a Reply
1 2 3 Next All
pQylling
Profile Blog Joined September 2010
Denmark139 Posts
July 03 2011 22:45 GMT
#1
To all the nerds out there who actually know something about this and are willing to help.

I want to pick up a scripting language and I'm torn between starting with Java or C#. I have done quite a bit of "work" in C++, but I don't know how much will translate to the scripting language except for the general programming stuff like design and mindset.

I'm tilting a bit towards C# since it has pointers which i know how to use from C++, but i believe Java is used a lot more since it's truly cross platform (correct me if I'm wrong).

Help and/or advice much appreciated.
Thanks TL!

*****
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
July 03 2011 22:50 GMT
#2
Any. Really depends on what you are going to do...

Also, if you know OO, you know Java/C#/C++, it is just a matter of learning the syntax.
"When the geyser died, a probe came out" - SirJolt
skauert
Profile Blog Joined June 2011
Norway6 Posts
July 03 2011 22:57 GMT
#3
C# is generally managed. If you want to use pointers, you have to enable "unsafe code", which in my experience there is rarely any point (forgive the pun) in doing.

I am also confused by your use of words. If you are looking for a *scripting* language, I don't know if C# and Java would be your best bets. They're both mainly used as programming languages like C++.

C# and Java both have a plethora of things to offer you. Java has the obvious advantage of being cross-platform. As fabiano said, it really depends on what you are going to do. Working to eventually pick up both is probably the best idea, since most of the theory you will learn is applicable to almost any programming language. Learning syntax is a matter of a day or two.

For a detailed list of differences, you should probably check out various online resources. A quick google search pointed me to this page: http://en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Java
AntiLegend
Profile Joined September 2010
Germany247 Posts
July 03 2011 23:01 GMT
#4
both c# and java are not what you would call a scripting language.

if you really meant scripting language, then check out Perl, Python or Ruby. if you meant something else and still want to choose between C# and Java, I'd go for C#, since Visual Studio > Eclipse
fanta[Rn]
Profile Blog Joined October 2004
Japan2465 Posts
Last Edited: 2011-07-03 23:10:06
July 03 2011 23:07 GMT
#5
I'd go with Java, i prefer the online resources of Java more than of C# (well hm that's probably not such a fair comparission as I've only picked up C# yersterday lol).

If you know Java, you'll be able to write meaningful code in C# right away. There's hardly any difference although I must say the differences that there are, are quite neat (<3 structs, ref/out, get;set;)

But as AntiLegend has pointed, if you want a scripting language you should look to something else. I hear Python is pretty popular (I've only done perl and php and they're both kinda meh.)

Edit: VS is a nice IDE and probably better than Eclipse but I'm missing auto imports, auto generate setter/getter, auto generate equals and hashcode etc or do I just don't know how to do those in VS?
berated-
Profile Blog Joined February 2007
United States1134 Posts
July 03 2011 23:21 GMT
#6
On July 04 2011 08:01 AntiLegend wrote:
both c# and java are not what you would call a scripting language.

if you really meant scripting language, then check out Perl, Python or Ruby. if you meant something else and still want to choose between C# and Java, I'd go for C#, since Visual Studio > Eclipse


You were so on target until you had to go after eclipse... instant fail...

Anyway I still agree -- if op is really after a scripting language then I wouldn't go with java or c# either. I am a java programmer so I can't speak as intelligently about the c# side but I would __not__ pick up java if I wanted to run a script. While powerful, java is a pretty verbose.

I've only got to play with it a little bit but python seems like a really slick language. Don't do perl... you'll thank me later.
Aetherial
Profile Joined August 2010
Australia917 Posts
July 03 2011 23:25 GMT
#7
I wouldn't say Java is used a lot more, both are popular programming languages. I'm a professional developer in a financial services company and we mostly use c#, with some Java. I am a little biased towards c# as that is where I spend most of my time. What I can say is that the .NET / C# ecosystem is developing faster due to strong direction by Microsoft, and Java has fallen behind due to the mess that Oracle has brought about.

At the end of the day it depends what you want to do, but if you want to develop purely in the Windows space then I would say go c# for sure.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
July 03 2011 23:26 GMT
#8
Do neither and go with Python.

I'm familiar with both Java and Python. For any kind of solo / small-scale project or any type of quick prototyping, I'd pick Python. Java just makes you do too much housekeeping, building up the scaffolding only to take it down again when you change your mind.

Python is much slower though, so if speed is an issue, stick to the compiled languages (although there are modules in Python that bring scripts up to C speed).
Ars longa, vita brevis, principia aeturna.
rabidch
Profile Joined January 2010
United States20289 Posts
July 03 2011 23:40 GMT
#9
try both. they're syntactically similar languages also to C++ so it's not too hard to play with them
LiquidDota StaffOnly a true king can play the King.
DeckOneBell
Profile Blog Joined May 2010
United States526 Posts
July 03 2011 23:46 GMT
#10
On July 04 2011 08:26 StRyKeR wrote:
Do neither and go with Python.

I'm familiar with both Java and Python. For any kind of solo / small-scale project or any type of quick prototyping, I'd pick Python. Java just makes you do too much housekeeping, building up the scaffolding only to take it down again when you change your mind.

Python is much slower though, so if speed is an issue, stick to the compiled languages (although there are modules in Python that bring scripts up to C speed).


Seriously, scripting, Python. It's user-friendly, forces you to use whitespace (tabs) and is pretty damn easy.

print "Hello World!"

Is hello world in python.

If you just want to get into high level languages, both Java and C# are good to learn. They're pretty similar, you'd pick either up quickly.

joban
Profile Joined September 2010
179 Posts
Last Edited: 2011-07-03 23:50:29
July 03 2011 23:48 GMT
#11
Generally learn C if you want to learn bottom up, and the processes behind how coding works.

If you want to get up and running right away, just learn a higher level language like ruby or python. You won't get a deep level understanding, but they're generally more pleasant to jump into. Stay away from php.

Overall, just get really good at one language and understand it- it'll generally be pretty easy to jump to other languages if you're any good.
xarthaz
Profile Blog Joined August 2010
1704 Posts
July 04 2011 00:01 GMT
#12
java is pretty bad for writing client programs for windows - no win32 support is bad. so yeah, C# is the way to go, hands down.
Aah thats the stuff..
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
July 04 2011 00:05 GMT
#13
On July 04 2011 08:01 AntiLegend wrote:
both c# and java are not what you would call a scripting language.

if you really meant scripting language, then check out Perl, Python or Ruby. if you meant something else and still want to choose between C# and Java, I'd go for C#, since Visual Studio > Eclipse

are you serious sir?

Anyway, I'd recommend Java anyday since it's more used than most programming languages right now.
"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
Craton
Profile Blog Joined December 2009
United States17281 Posts
July 04 2011 00:07 GMT
#14
I prefer C# solely because I hate Eclipse with a passion. You'll find both are used a lot, it just depends on what you do and where you work. The syntax for both is pretty similar. If you absolutely had to pick just one, Java is probably the better choice.
twitch.tv/cratonz
AcrossFiveJulys
Profile Blog Joined September 2005
United States3612 Posts
July 04 2011 00:07 GMT
#15
Go for Scala! It runs on the JVM so it gets the speed benefits of java but has cool things like type inference that make it feel like a scripting language.
joban
Profile Joined September 2010
179 Posts
July 04 2011 00:08 GMT
#16
I agree, Eclipse sucks

I don't like ide's in general, though
prOxi.swAMi
Profile Blog Joined November 2004
Australia3091 Posts
July 04 2011 00:23 GMT
#17
I prefer C#, I'm a bit of a fanboy when it comes to .NET

I'm competent with both, but tbh I much much much prefer working within Visual Studio compared to Eclipse or any other Java IDE
Oh no
HowitZer
Profile Joined February 2003
United States1610 Posts
July 04 2011 00:25 GMT
#18
Java and C# are the opposite of scripting languages. They need to be compiled and linked. I'd say the most complete scripting language is Python.
Human teleportation, molecular decimation, breakdown and reformation is inherently purging. It makes a man acute.
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
July 04 2011 00:27 GMT
#19
I hate eclipse because every time I try to debug something new, I waste 8 hours trying to figure out how to do it.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
fanta[Rn]
Profile Blog Joined October 2004
Japan2465 Posts
July 04 2011 00:36 GMT
#20
go with haskell, hello world is "Hello World" as simple as that
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 2h 15m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
ToSsGirL 277
Pusan 186
Aegong 158
Backho 86
910 52
Dewaltoss 44
JulyZerg 39
soO 35
yabsab 33
SilentControl 19
Dota 2
NeuroSwarm127
League of Legends
JimRising 620
Counter-Strike
shoxiejesuss743
Super Smash Bros
Mew2King162
Other Games
summit1g7319
singsing826
ceh9447
C9.Mang0411
WinterStarcraft365
Happy44
Trikslyr14
Organizations
Dota 2
PGL Dota 2 - Main Stream9077
Other Games
gamesdonequick711
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH275
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt805
• TFBlade706
Upcoming Events
The PondCast
2h 15m
KCM Race Survival
2h 15m
WardiTV Map Contest Tou…
3h 15m
Gerald vs herO
Clem vs Cure
ByuN vs Solar
Rogue vs MaxPax
ShoWTimE vs TBD
OSC
7h 15m
CranKy Ducklings
16h 15m
Escore
1d 2h
RSL Revival
1d 9h
Replay Cast
1d 16h
WardiTV Map Contest Tou…
2 days
Universe Titan Cup
2 days
Rogue vs Percival
[ Show More ]
Ladder Legends
2 days
uThermal 2v2 Circuit
2 days
BSL
2 days
Sparkling Tuna Cup
3 days
WardiTV Map Contest Tou…
3 days
Ladder Legends
3 days
BSL
3 days
Replay Cast
3 days
Replay Cast
4 days
Wardi Open
4 days
Afreeca Starleague
4 days
Soma vs hero
Monday Night Weeklies
4 days
Replay Cast
4 days
Afreeca Starleague
5 days
Leta vs YSC
Replay Cast
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-04-22
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
StarCraft2 Community Team League 2026 Spring
WardiTV TLMC #16
Nations Cup 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026

Upcoming

Escore Tournament S2: W4
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
2026 GSL S1
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.