• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:34
CEST 20:34
KST 03:34
  • 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
Code S RO8 Preview: herO, Zoun, Bunny, Classic7Code S RO8 Preview: Rogue, GuMiho, Solar, Maru3BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL47
Community News
BGE Stara Zagora 2025 - Replay Pack2Weekly Cups (June 2-8): herO doubles down1[BSL20] ProLeague: Bracket Stage & Dates9GSL Ro4 and Finals moved to Sunday June 15th13Weekly Cups (May 27-June 1): ByuN goes back-to-back0
StarCraft 2
General
Jim claims he and Firefly were involved in match-fixing The SCII GOAT: A statistical Evaluation Code S RO8 Preview: herO, Zoun, Bunny, Classic DreamHack Dallas 2025 - Official Replay Pack BGE Stara Zagora 2025 - Replay Pack
Tourneys
[GSL 2025] Code S: Season 2 - Ro8 - Group A [GSL 2025] Code S: Season 2 - Ro8 - Group B RSL: Revival, a new crowdfunded tournament series SOOPer7s Showmatches 2025 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
BGH auto balance -> http://bghmmr.eu/ FlaSh Witnesses SCV Pull Off the Impossible vs Shu BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest Will foreigners ever be able to challenge Koreans?
Tourneys
[Megathread] Daily Proleagues [ASL19] Grand Finals [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET NA Team League 6/8/2025
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Beyond All Reason What do you want from future RTS games?
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread UK Politics Mega-thread Russo-Ukrainian War Thread Vape Nation Thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
TeamLiquid Health and Fitness Initiative For 2023 2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
A Better Routine For Progame…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 17033 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 States17242 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 26m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 580
IndyStarCraft 123
UpATreeSC 61
JuggernautJason60
MindelVK 55
StarCraft: Brood War
Sea 2808
Rain 1399
Hyuk 672
Soulkey 136
HiyA 44
hero 32
Dewaltoss 30
TY 25
scan(afreeca) 25
Yoon 17
[ Show more ]
Nal_rA 13
zelot 3
Dota 2
Gorgc7692
League of Legends
Dendi1393
Counter-Strike
fl0m6752
olofmeister2562
Foxcn10
Heroes of the Storm
Liquid`Hasu271
Khaldor135
Other Games
FrodaN839
C9.Mang0748
tarik_tv662
Mlord506
B2W.Neo249
Grubby135
elazer129
Mew2King98
Organizations
Dota 2
PGL Dota 2 - Main Stream4083
Other Games
BasetradeTV79
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• Adnapsc2 22
• intothetv
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• IndyKCrew
StarCraft: Brood War
• HerbMon 26
• Rasowy 9
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3576
• masondota21056
League of Legends
• Jankos2189
• TFBlade1412
Other Games
• imaqtpie950
• Shiphtur347
Upcoming Events
OSC
2h 26m
ArT vs ReBellioN
HonMonO vs Ziomek
Shameless vs LunaSea
MilkiCow vs GgMaChine
Moja vs HiGhDrA
Jumy vs TBD
Demi vs NightPhoenix
Solar vs Cham
Replay Cast
5h 26m
OSC
5h 26m
WardiTV Invitational
16h 26m
HiGhDrA vs Nicoract
MaNa vs HiGhDrA
HiGhDrA vs Reynor
Nicoract vs Reynor
MaNa vs Nicoract
MaNa vs Reynor
MaxPax vs Spirit
Krystianer vs Spirit
OSC
18h 26m
Korean StarCraft League
1d 8h
SOOP
1d 14h
sOs vs Percival
CranKy Ducklings
1d 15h
WardiTV Invitational
1d 16h
Cheesadelphia
1d 20h
[ Show More ]
CSO Cup
1d 22h
GSL Code S
2 days
Rogue vs herO
Classic vs GuMiho
Sparkling Tuna Cup
2 days
Replay Cast
3 days
Wardi Open
3 days
Replay Cast
4 days
Replay Cast
4 days
RSL Revival
4 days
Cure vs Percival
ByuN vs Spirit
RSL Revival
5 days
herO vs sOs
Zoun vs Clem
Replay Cast
6 days
The PondCast
6 days
RSL Revival
6 days
Serral vs SHIN
Solar vs Cham
Liquipedia Results

Completed

CSL Season 17: Qualifier 2
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.