• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:26
CEST 07:26
KST 14:26
  • 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 Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed16Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
Esports World Cup 2025 - Brackets Revealed RSL Revival patreon money discussion thread Who will win EWC 2025? The GOAT ranking of GOAT rankings Server Blocker
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Soulkey Muta Micro Map? [ASL19] Finals Recap: Standing Tall
Tourneys
[Megathread] Daily Proleagues CSL Xiamen International Invitational 2025 ACS Season 2 Qualifier Cosmonarchy Pro Showmatches
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
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 Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Korean Music Discussion Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
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
Customize Sidebar...

Website Feedback

Closed Threads



Active: 608 users

The Big Programming Thread - Page 743

Forum Index > General Forum
Post a Reply
Prev 1 741 742 743 744 745 1031 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
July 20 2016 08:47 GMT
#14841
--- Nuked ---
Manit0u
Profile Blog Joined August 2004
Poland17249 Posts
July 20 2016 08:57 GMT
#14842
Browser JS can be fine if you're just doing some small work with it. As soon as you start using more than 200 lines of it then it becomes a shitfest.

Also, why would anyone use Java when you can use Scala which is like 10x better and gives you access to all of Java?
Time is precious. Waste it wisely.
RoomOfMush
Profile Joined March 2015
1296 Posts
July 20 2016 11:36 GMT
#14843
On July 20 2016 15:29 Manit0u wrote:
I've learned something funny today: Java and JavaScript, the two languages that have probably the most job offerings in the world are the two languages I hate working with the most...

No matter how hard I try to convince myself to just let go and dive into them I can't help but be repelled by them

I must say I find it quite odd since I don't really mind working with any other language I know (and that includes PHP) but J and JS somehow elicit a strongly aversive reaction in me.

I just hope I'm not alone in this one

I like java. Its not perfect, there are plenty of things I would love to see changed (and I know its never going to happen) but overall its a solid language with many advantages. I much prefer it over C#, C++ and C. I like Javas simplicity and openess.


On July 20 2016 15:36 TheEmulator wrote:
Never worked with Java but I hate JS so much. From what I've seen I'd hate Java too

They have absolutely nothing in common. JS is just called that to cash in on the success of java but its a completely different language.
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
Last Edited: 2016-07-20 12:19:07
July 20 2016 12:18 GMT
#14844
On July 20 2016 17:57 Manit0u wrote:
Browser JS can be fine if you're just doing some small work with it. As soon as you start using more than 200 lines of it then it becomes a shitfest.

Also, why would anyone use Java when you can use Scala which is like 10x better and gives you access to all of Java?

Scala is a wonderful little thing and I should learn it asap.

EDIT: 10x better? Even preproduction Kotlin is 10x better, Scala is much better than 10x.
"windows bash is a steaming heap of shit" tofucake
tofucake
Profile Blog Joined October 2009
Hyrule19045 Posts
July 20 2016 12:38 GMT
#14845
ES6 is a huge step in the right direction for JS, even if it's still bleh

But I enjoy using it wayyyyy more than Java. Java is dumb like wordpress
Liquipediaasante sana squash banana
shz
Profile Blog Joined October 2010
Germany2687 Posts
July 20 2016 14:18 GMT
#14846
Did you guys try Kotlin yet? I'm still a Java / everything noob but it seems to be more fun doing Android with it.
Liquipedia
-Zoda-
Profile Blog Joined April 2011
France3578 Posts
July 20 2016 14:21 GMT
#14847
On July 18 2016 10:09 ShoCkeyy wrote:

Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u.

Oh yeah ? Can you elaborate ?
In a similar sort of lightweight framework, Mercury seems interesting as well, but its documentation seems to be lacking compared to Mithril. Once I have time and a project idea I'll have to try one of these.

On the topic of Java huh, I can 't say I hate it but it's not very enjoyable imo. Way too verbose and rigid imo.
♪ 最初はi つなぐdo それ つまりlife 常に移動 ♪ - IGN: Uhryks
RoomOfMush
Profile Joined March 2015
1296 Posts
July 20 2016 15:09 GMT
#14848
On July 20 2016 23:21 -Zoda- wrote:
Show nested quote +
On July 18 2016 10:09 ShoCkeyy wrote:

Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u.

On the topic of Java huh, I can 't say I hate it but it's not very enjoyable imo. Way too verbose and rigid imo.

Then better dont try C#. If you think java is verbose you are not going to have a good time with C# at all.
Fwmeh
Profile Joined April 2008
1286 Posts
July 20 2016 16:10 GMT
#14849
On July 21 2016 00:09 RoomOfMush wrote:
Show nested quote +
On July 20 2016 23:21 -Zoda- wrote:
On July 18 2016 10:09 ShoCkeyy wrote:

Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u.

On the topic of Java huh, I can 't say I hate it but it's not very enjoyable imo. Way too verbose and rigid imo.

Then better dont try C#. If you think java is verbose you are not going to have a good time with C# at all.


Not my experience at all. Do you have any concrete examples?
A parser for things is a function from strings to lists of pairs of things and strings
TheEmulator
Profile Blog Joined July 2010
28088 Posts
July 20 2016 18:05 GMT
#14850
On July 20 2016 20:36 RoomOfMush wrote:
Show nested quote +
On July 20 2016 15:29 Manit0u wrote:
I've learned something funny today: Java and JavaScript, the two languages that have probably the most job offerings in the world are the two languages I hate working with the most...

No matter how hard I try to convince myself to just let go and dive into them I can't help but be repelled by them

I must say I find it quite odd since I don't really mind working with any other language I know (and that includes PHP) but J and JS somehow elicit a strongly aversive reaction in me.

I just hope I'm not alone in this one

I like java. Its not perfect, there are plenty of things I would love to see changed (and I know its never going to happen) but overall its a solid language with many advantages. I much prefer it over C#, C++ and C. I like Javas simplicity and openess.


Show nested quote +
On July 20 2016 15:36 TheEmulator wrote:
Never worked with Java but I hate JS so much. From what I've seen I'd hate Java too

They have absolutely nothing in common. JS is just called that to cash in on the success of java but its a completely different language.

hmm, what part of my post implied that I think they have something in common? I
Administrator
Nyxisto
Profile Joined August 2010
Germany6287 Posts
Last Edited: 2016-07-20 19:02:10
July 20 2016 18:58 GMT
#14851
C# is great as a language imo but I'm not enjoying the windows eco system so It'd be great if there's full Linux support at some point, it's gotten a lot better though. As someone above pointed out Java is just horribly verbose. I had to do a lot of Java in college and had to either use Apache Commons or just copy the same things over and over again because I always forgot how the syntax for a BufferedReader works. It takes a bazillion lines of code to read in a textfile : (
RoomOfMush
Profile Joined March 2015
1296 Posts
Last Edited: 2016-07-20 19:31:32
July 20 2016 19:29 GMT
#14852
On July 21 2016 01:10 Fwmeh wrote:
Show nested quote +
On July 21 2016 00:09 RoomOfMush wrote:
On July 20 2016 23:21 -Zoda- wrote:
On July 18 2016 10:09 ShoCkeyy wrote:

Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u.

On the topic of Java huh, I can 't say I hate it but it's not very enjoyable imo. Way too verbose and rigid imo.

Then better dont try C#. If you think java is verbose you are not going to have a good time with C# at all.


Not my experience at all. Do you have any concrete examples?

I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?

Or the fact you need to write "override" in front of a method that overrides another. I can see how this might help some people understand the code better, but we've got IDE's for that without having to write anything. Besides, you can do the same thing in java with the optional @Overrides annotation if you want to have compile-time warnings.

Its many similar little things like that. C# just seems to have way more syntax keywords which you need to use at certain points for no obvious reason.

On July 21 2016 03:05 TheEmulator wrote:
Show nested quote +
On July 20 2016 20:36 RoomOfMush wrote:
On July 20 2016 15:29 Manit0u wrote:
I've learned something funny today: Java and JavaScript, the two languages that have probably the most job offerings in the world are the two languages I hate working with the most...

No matter how hard I try to convince myself to just let go and dive into them I can't help but be repelled by them

I must say I find it quite odd since I don't really mind working with any other language I know (and that includes PHP) but J and JS somehow elicit a strongly aversive reaction in me.

I just hope I'm not alone in this one

I like java. Its not perfect, there are plenty of things I would love to see changed (and I know its never going to happen) but overall its a solid language with many advantages. I much prefer it over C#, C++ and C. I like Javas simplicity and openess.


On July 20 2016 15:36 TheEmulator wrote:
Never worked with Java but I hate JS so much. From what I've seen I'd hate Java too

They have absolutely nothing in common. JS is just called that to cash in on the success of java but its a completely different language.

hmm, what part of my post implied that I think they have something in common? I

It seemed to me that way but I guess I misunderstood you.


On July 21 2016 03:58 Nyxisto wrote:
C# is great as a language imo but I'm not enjoying the windows eco system so It'd be great if there's full Linux support at some point, it's gotten a lot better though. As someone above pointed out Java is just horribly verbose. I had to do a lot of Java in college and had to either use Apache Commons or just copy the same things over and over again because I always forgot how the syntax for a BufferedReader works. It takes a bazillion lines of code to read in a textfile : (

Its actually quite simple:
		try {
Path filePath = new File("test.txt").toPath();
List<String> linesOfText = Files.readAllLines(filePath);
} catch (IOException e) {
e.printStackTrace();
}
Prillan
Profile Joined August 2011
Sweden350 Posts
Last Edited: 2016-07-20 21:30:12
July 20 2016 21:29 GMT
#14853
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


It really is a minor thing.

On July 21 2016 04:29 RoomOfMush wrote:
Or the fact you need to write "override" in front of a method that overrides another. I can see how this might help some people understand the code better, but we've got IDE's for that without having to write anything. Besides, you can do the same thing in java with the optional @Overrides annotation if you want to have compile-time warnings.


It's not just there to tell the dev that the function is overridden. Without it the method just hides the old one, which is different from overriding it.

(This was true last time I wrote C#, which was version 3.0 I believe, they had just introduced lambda expressions.)
TheBB's sidekick, aligulac.com | "Reality is frequently inaccurate." - Douglas Adams
phar
Profile Joined August 2011
United States1080 Posts
Last Edited: 2016-07-21 07:08:52
July 21 2016 07:07 GMT
#14854
Not having an @Overrides makes it much more difficult to tell what's going on under the hood, if you're trying to read code. Hidden magic will burn you.

Proper java should have lint set up to require @Overrides


If you're writing any significant amount of Java you should also be using good libraries, e.g. Guava. Save yourself a lot of headache.
Who after all is today speaking about the destruction of the Armenians?
Manit0u
Profile Blog Joined August 2004
Poland17249 Posts
Last Edited: 2016-07-21 07:18:07
July 21 2016 07:16 GMT
#14855
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


The same in Scala:

// foreach
collection.foreach { /*doStuff*/ }

// for
for (obj <- collection) { /*doStuff*/ }


Syntax is syntax. Java's verbosity comes not from syntax but from incrediblyLongAndUnnecessarilySoClassAndMethodNames.

Also, XML (yuck!).
Time is precious. Waste it wisely.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
July 21 2016 07:50 GMT
#14856
On July 21 2016 16:16 Manit0u wrote:
Show nested quote +
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


The same in Scala:

// foreach
collection.foreach { /*doStuff*/ }

// for
for (obj <- collection) { /*doStuff*/ }


Syntax is syntax. Java's verbosity comes not from syntax but from incrediblyLongAndUnnecessarilySoClassAndMethodNames.

Also, XML (yuck!).


The same in actually modern C#
list.ForEach(item => item.DoStuff());

Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
July 21 2016 13:38 GMT
#14857
On July 21 2016 16:50 Morfildur wrote:
Show nested quote +
On July 21 2016 16:16 Manit0u wrote:
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


The same in Scala:

// foreach
collection.foreach { /*doStuff*/ }

// for
for (obj <- collection) { /*doStuff*/ }


Syntax is syntax. Java's verbosity comes not from syntax but from incrediblyLongAndUnnecessarilySoClassAndMethodNames.

Also, XML (yuck!).


The same in actually modern C#
list.ForEach(item => item.DoStuff());


The same in actually modern Java:
list.forEach(item -> item.doStuff());


"windows bash is a steaming heap of shit" tofucake
Manit0u
Profile Blog Joined August 2004
Poland17249 Posts
July 21 2016 15:00 GMT
#14858
This thread is the best on TL
Time is precious. Waste it wisely.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
July 21 2016 16:56 GMT
#14859
On July 21 2016 16:16 Manit0u wrote:
Show nested quote +
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


The same in Scala:

// foreach
collection.foreach { /*doStuff*/ }

// for
for (obj <- collection) { /*doStuff*/ }


Syntax is syntax. Java's verbosity comes not from syntax but from incrediblyLongAndUnnecessarilySoClassAndMethodNames.

Also, XML (yuck!).


Verbosity is good as long as it's not abused. You should really read Clean Code before you go further with this discussion.
Doodsmack
Profile Blog Joined August 2010
United States7224 Posts
July 21 2016 17:36 GMT
#14860
Are Microsoft SQL Server skills (including T-SQL obv) valuable and future-secure?
Prev 1 741 742 743 744 745 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 4h 34m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 289
StarCraft: Brood War
Sea 14961
PianO 85
ajuk12(nOOB) 18
LuMiX 1
Britney 0
Stormgate
NightEnD15
Dota 2
monkeys_forever772
League of Legends
JimRising 777
Counter-Strike
Stewie2K1490
Heroes of the Storm
Khaldor49
Other Games
summit1g12525
shahzam1365
WinterStarcraft412
ViBE217
ROOTCatZ44
Trikslyr27
Organizations
Other Games
gamesdonequick4572
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH260
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota2511
League of Legends
• Lourlo1372
• Stunt674
Upcoming Events
CranKy Ducklings
4h 34m
Epic.LAN
6h 34m
CSO Contender
11h 34m
Sparkling Tuna Cup
1d 4h
Online Event
1d 10h
Esports World Cup
3 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
4 days
Esports World Cup
5 days
Esports World Cup
6 days
Liquipedia Results

Completed

CSL Xiamen Invitational: ShowMatche
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CSL Xiamen Invitational
2025 ACS Season 2
Championship of Russia 2025
Underdog Cup #2
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
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
IEM Cologne 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.