• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:31
CEST 14:31
KST 21:31
  • 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
Tournament Spotlight: FEL Cracow 20257Power Rank - Esports World Cup 202577RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18
Community News
Google Play ASL (Season 20) Announced24BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10Weekly Cups (July 14-20): Final Check-up0Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8
StarCraft 2
General
Power Rank - Esports World Cup 2025 Tournament Spotlight: FEL Cracow 2025 #1: Maru - Greatest Players of All Time I offer completely free coaching services What tournaments are world championships?
Tourneys
FEL Cracov 2025 (July 27) - $10,000 live event Esports World Cup 2025 $25,000 Streamerzone StarCraft Pro Series announced $5,000 WardiTV Summer Championship 2025 WardiTV Mondays
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava
Brood War
General
Google Play ASL (Season 20) Announced [Update] ShieldBattery: 2025 Redesign Dewalt's Show Matches in China BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL20] Non-Korean Championship 4x BSL + 4x China CSL Xiamen International Invitational [CSLPRO] It's CSLAN Season! - Last Chance
Strategy
Simple Questions, Simple Answers [G] Mineral Boosting Does 1 second matter in StarCraft?
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile
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
US Politics Mega-thread UK Politics Mega-thread Stop Killing Games - European Citizens Initiative Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
[\m/] Heavy Metal Thread Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Eight Anniversary as a TL…
Mizenhauer
Customize Sidebar...

Website Feedback

Closed Threads



Active: 670 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 States17250 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
FEL
09:00
Cracow 2025
Clem vs Krystianer
uThermal vs SKillousLIVE!
Reynor vs MaNa
Lambo vs Gerald
RotterdaM1478
ComeBackTV 1459
IndyStarCraft 512
CranKy Ducklings188
WardiTV167
Rex111
3DClanTV 111
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 1478
IndyStarCraft 512
Rex 111
BRAT_OK 54
ProTech53
MindelVK 27
StarCraft: Brood War
Britney 45808
Horang2 8300
Hyuk 5706
EffOrt 1059
Hyun 987
Barracks 959
Soma 713
Mini 706
Rush 670
BeSt 669
[ Show more ]
Soulkey 645
Larva 630
firebathero 445
Stork 382
Last 265
Dewaltoss 85
ZerO 79
Sharp 60
Free 59
sorry 44
Sea.KH 36
Movie 34
sSak 30
Shinee 29
sas.Sziky 27
Noble 26
soO 24
zelot 16
Icarus 14
yabsab 14
ajuk12(nOOB) 12
Sacsri 11
Terrorterran 1
Dota 2
qojqva2193
XcaliburYe615
Counter-Strike
sgares300
oskar73
Heroes of the Storm
Khaldor275
Other Games
B2W.Neo1678
Beastyqt942
Hui .233
DeMusliM208
Fuzer 120
QueenE43
ZerO(Twitch)15
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Berry_CruncH349
• tFFMrPink 11
• intothetv
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3740
• WagamamaTV885
League of Legends
• Nemesis2159
• Jankos1246
Upcoming Events
BSL20 Non-Korean Champi…
1h 29m
BSL20 Non-Korean Champi…
5h 29m
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Sparkling Tuna Cup
1d 21h
WardiTV European League
2 days
Online Event
2 days
uThermal 2v2 Circuit
3 days
The PondCast
3 days
Replay Cast
4 days
Korean StarCraft League
5 days
CranKy Ducklings
5 days
[ Show More ]
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

CSLPRO Last Chance 2025
Esports World Cup 2025
Murky Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Non-Korean Championship
BSL 20 Team Wars
FEL Cracov 2025
CC Div. A S7
Underdog Cup #2
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

ASL Season 20: Qualifier #1
ASL Season 20: Qualifier #2
ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
HCC Europe
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
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.