• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:21
CET 17:21
KST 01:21
  • 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
RSL Revival - 2025 Season Finals Preview7RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3
StarCraft 2
General
RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Tenacious Turtle Tussle 2025 RSL Offline Finals Dates + Ticket Sales! Sparkling Tuna Cup - Weekly Open Tournament StarCraft2.fi 15th Anniversary Cup
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle Let's talk about Metropolis
Tourneys
[ASL20] Grand Finals [BSL21] RO8 - Day 2 - Sunday 21:00 CET [BSL21] RO8 - Day 1 - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Fighting Spirit mining rates Current Meta
Other Games
General Games
Dawn of War IV Path of Exile Stormgate/Frost Giant Megathread Awesome Games Done Quick 2026! Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine US Politics Mega-thread YouTube Thread European Politico-economics QA Mega-thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
How Sleep Deprivation Affect…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1449 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 States17274 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
WardiTV 2025
13:00
Seeding Matches
SHIN vs herO
Clem vs herO
Clem vs ShoWTimELIVE!
WardiTV1543
ComeBackTV 1085
TaKeTV 408
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
BRAT_OK 65
MindelVK 47
Railgan 38
DivinesiaTV 20
StarCraft: Brood War
Britney 31933
Calm 3227
Bisu 1241
Jaedong 789
Horang2 759
Stork 538
Hyuk 421
actioN 180
Last 165
EffOrt 157
[ Show more ]
Hyun 117
Sharp 103
Zeus 91
Killer 53
Mong 44
Aegong 40
scan(afreeca) 36
zelot 32
Movie 25
ajuk12(nOOB) 14
Noble 9
Dota 2
Gorgc6052
singsing4295
qojqva2468
syndereN368
XcaliburYe188
LuMiX1
Counter-Strike
fl0m3428
allub235
oskar104
Heroes of the Storm
Khaldor557
Liquid`Hasu371
Other Games
FrodaN2992
B2W.Neo995
Beastyqt752
Mlord597
ceh9593
Fuzer 205
KnowMe111
XaKoH 92
ArmadaUGS68
Mew2King38
OptimusSC22
Organizations
Other Games
EGCTV1361
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• HeavenSC 21
• poizon28 20
• Adnapsc2 19
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis3112
Other Games
• Scarra1275
Upcoming Events
IPSL
3h 40m
Sziky vs JDConan
BSL 21
3h 40m
Tech vs Cross
Bonyth vs eOnzErG
Replay Cast
16h 40m
Wardi Open
19h 40m
Monday Night Weeklies
1d
Sparkling Tuna Cup
1d 17h
Replay Cast
3 days
The PondCast
3 days
CranKy Ducklings
5 days
SC Evo League
5 days
[ Show More ]
BSL 21
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Revival: Season 3
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
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 © 2025 TLnet. All Rights Reserved.