• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:05
CEST 06:05
KST 13:05
  • 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
Serral wins HomeStory Cup 2914Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
ZeroSpace Early Access is Now Live!14Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters2Balance hotfix patch 5.0.16b (July 16)83Reynor: GSL Loss Wasn't About Preparation Format16[IPSL] Spring 2026 Grand Finals - This Weekend!18
StarCraft 2
General
Balance hotfix patch 5.0.16b (July 16) Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters How would you feel about frequent/monthly balance patches for SC2? Clem: "I don't have that much hope in Blizzard" [D] Wireframe Casting Removed
Tourneys
RSL Revival: Season 6 - Qualifiers and Main Event Master Swan Open (Global Bronze-Master 2) WardiTV Summer Cup 2026 GSL CK #5 Race War HomeStory Cup 29
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
Mutation # 535 Assembly of Vengeance The PondCast: SC2 News & Results Mutation # 534 Burning Evacuation Mutation # 533 Die Together
Brood War
General
Animated Gateway BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion HORROR STARCRAFT MOVIE How Famous was FlaSh before his Debut?
Tourneys
[Megathread] Daily Proleagues [IPSL] Spring 2026 Grand Finals - This Weekend! Escore Tournament - Season 3 Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers PvT advise for noobs Fighting Spirit mining rates Creating a full chart of Zerg builds
Other Games
General Games
ZeroSpace Early Access is Now Live! Path of Exile General RTS Discussion Thread ZeroSpace at Steam NextFest - Last free demo Nintendo Switch Thread
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank NeO.D_StephenKing vs This Guy From 1 Million Dance TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Artificial Intelligence Thread Russo-Ukrainian War Thread How to buy a book - shipping from Korea to Europe The Games Industry And ATVI
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Anime Discussion Thread Series you have seen recently... Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023 McBoner: A hockey love story
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
Northern Ireland Global Starcraft The Automated Ban List
Blogs
Hello guys!
LIN1s
Role of Gaming on Mental Hea…
TrAiDoS
ASL S22 English Commentary…
namkraft
Poker (part 2)
Nebuchad
An Exploration of th…
waywardstrategy
ramps on octagon
StaticNine
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8224 users

The Big Programming Thread - Page 551

Forum Index > General Forum
Post a Reply
Prev 1 549 550 551 552 553 1032 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.
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
November 27 2014 00:08 GMT
#11001
I do angular and what rotodyne said
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
Ben...
Profile Joined January 2011
Canada3485 Posts
November 27 2014 03:33 GMT
#11002
On November 27 2014 07:15 Xyik wrote:
Show nested quote +
On November 26 2014 13:13 FFGenerations wrote:
you guys used the java Play Framework for web app dev? i think it might be a good choice for me instead of php laveral or something...

+ give me experience in java/something new that is in industry
+ tutor knows java
+ seems to have benefits of php like faster development/iteration
- finding hosting for java application is supposed to be harder than for php ? could host on google app engine but not sure what the limitations of that would entail
- ???

when you use a framework like this... your database is part of the model of the model view controller? so you dont use an external database like phpmyadmin or sqlserver? you use use model in the framework and the data is stored in some directory there? sure ive asked this before -_-


I've tried Play! before and the documentation not only sucked back when I used it, it's impossible to google for help because Play! is not SEO friendly. Most of the tutorials you'll find will be for development in Scala.

There's a place here looking to hire CS grads in spring and they specialize in Scala and Play and do what sounds like some interesting stuff with both. I've looked at Play a bit. It seems really neat. I was teaching myself scala but that got sidelined by school. My goal is to learn some of both over the break and apply there in a couple months.
"Cliiiiiiiiiiiiiiiiide" -Tastosis
CatNzHat
Profile Blog Joined February 2011
United States1599 Posts
November 27 2014 04:47 GMT
#11003
I've done some angular work, prefer ember/react though now. I prefer the way ember handles routing, and react's JSX templating engine is pretty cool. Back end is rails, for context.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
November 27 2014 07:48 GMT
#11004
On November 27 2014 04:35 nunez wrote:
rofl.
curse the lonely life of the template metaprogrammer...

:3

doing concurrency in c++ stuff, so want to use more c11 stuff ;-;

i wish there was a run time constant sized array in c++ that could be initialized in the constructor. std::array is close, but it's compile time, and i dont want vector because its mutable :/
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17798 Posts
November 27 2014 09:57 GMT
#11005
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...
Time is precious. Waste it wisely.
Biolunar
Profile Joined February 2012
Germany224 Posts
November 27 2014 10:23 GMT
#11006
On November 27 2014 16:48 Blisse wrote:
i wish there was a run time constant sized array in c++ that could be initialized in the constructor. std::array is close, but it's compile time, and i dont want vector because its mutable :/

Use std::unique_ptr. (Hint: unique_ptr is specialized for array types to call delete[] instead of delete)
What is best? To crush the Zerg, see them driven before you, and hear the lamentations of the Protoss.
waffelz
Profile Blog Joined June 2012
Germany711 Posts
November 27 2014 11:21 GMT
#11007
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


ahahahaha... I so can relate to that, I am just at this point ...
RIP "The big travis CS degree thread", taken from us too soon | Honourable forum princess, defended by Rebs-approved white knights
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
November 27 2014 11:44 GMT
#11008
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


I wouldn't give too much on that article. Apart from being fairly biased it's also extremely outdated with it's C# examples - which isn't surprising considering it's 8 years old and languages have developed a lot in that time.

The feeling of wanting feature X of language Y when you are developing Z is normal, no matter which language you use. All languages have a lot of features that other languages miss, because all languages specialize in different areas. While a specific feature might be useful, usually using the full language isn't, often due to missing libraries or other missing language features.

I do wish PHP had C# style lambda expressions and properties though


String.Join("\n", array.ConvertAll(x => x.Description).Where(x => x != '').ToArray());

ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2014-11-27 11:50:32
November 27 2014 11:49 GMT
#11009
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...

Worth noting that it's a very old post (2006). His comparison with C# doesn't hold anymore, C#'s handling of lambdas is elegant since C# 3.0, and Python is really not that much more powerful than C# imho. There are even constructs that are obviously more expressive in C# than in Python, like concurrency or asynchronous stuff.

I get the "demotivation" bit though. I can't fucking bear Java anymore (which is a way more stagnant language than C# ;D) now that I've tasted Scala.

Edit: Haha Morfildur sniped me baaad.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
November 27 2014 12:58 GMT
#11010
On November 27 2014 16:48 Blisse wrote:
Show nested quote +
On November 27 2014 04:35 nunez wrote:
rofl.
curse the lonely life of the template metaprogrammer...

:3

doing concurrency in c++ stuff, so want to use more c11 stuff ;-;

i wish there was a run time constant sized array in c++ that could be initialized in the constructor. std::array is close, but it's compile time, and i dont want vector because its mutable :/


dynarray is in the pipe, and hopefull will make it into the standard.
in the mean time maybe valarray can help.
or write a small wrapper around vector (it has a constructor that allows you to specify how many elements).
or (as i would have done) just use vector and be disciplined.
conspired against by a confederacy of dunces.
Manit0u
Profile Blog Joined August 2004
Poland17798 Posts
Last Edited: 2014-11-28 05:58:21
November 27 2014 14:01 GMT
#11011
On November 27 2014 20:44 Morfildur wrote:
Show nested quote +
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


I wouldn't give too much on that article. Apart from being fairly biased it's also extremely outdated with it's C# examples - which isn't surprising considering it's 8 years old and languages have developed a lot in that time.

The feeling of wanting feature X of language Y when you are developing Z is normal, no matter which language you use. All languages have a lot of features that other languages miss, because all languages specialize in different areas. While a specific feature might be useful, usually using the full language isn't, often due to missing libraries or other missing language features.

I do wish PHP had C# style lambda expressions and properties though


String.Join("\n", array.ConvertAll(x => x.Description).Where(x => x != '').ToArray());



In PHP you can do this:


implode("\n", array_filter($arr));


And in case of an array of objects:


implode("\n", array_map(function($obj) { if ($obj->description !== "") return $obj->description; }, $arr));


You can also do it with just one function and one lambda:


array_reduce($arr, function($str, $obj) { return ($obj->description !== "") ? $str . $obj->description . "\n" : $str; }, "");

Time is precious. Waste it wisely.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
November 27 2014 14:56 GMT
#11012
On November 27 2014 20:49 ZenithM wrote:
Show nested quote +
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...

I get the "demotivation" bit though. I can't fucking bear Java anymore (which is a way more stagnant language than C# ;D)

java feels like your explaining programming to a child, you have to say everything about 3 times for it to do the simpelist things
The harder it becomes, the more you should focus on the basics.
Ben...
Profile Joined January 2011
Canada3485 Posts
November 27 2014 16:06 GMT
#11013
On November 27 2014 23:56 sabas123 wrote:
Show nested quote +
On November 27 2014 20:49 ZenithM wrote:
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...

I get the "demotivation" bit though. I can't fucking bear Java anymore (which is a way more stagnant language than C# ;D)

java feels like your explaining programming to a child, you have to say everything about 3 times for it to do the simpelist things

That's an apt way of describing it. It's so tedious. I haven't had to write any since spring and just the thought of having to write it again gives me a bit of a headache. The verboseness of java is something I really do dislike.
"Cliiiiiiiiiiiiiiiiide" -Tastosis
mostevil
Profile Joined February 2011
United Kingdom611 Posts
November 27 2014 16:25 GMT
#11014
On November 27 2014 20:44 Morfildur wrote:
Show nested quote +
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


I wouldn't give too much on that article. Apart from being fairly biased it's also extremely outdated with it's C# examples - which isn't surprising considering it's 8 years old and languages have developed a lot in that time.

The feeling of wanting feature X of language Y when you are developing Z is normal, no matter which language you use. All languages have a lot of features that other languages miss, because all languages specialize in different areas. While a specific feature might be useful, usually using the full language isn't, often due to missing libraries or other missing language features.

I do wish PHP had C# style lambda expressions and properties though


String.Join("\n", array.ConvertAll(x => x.Description).Where(x => x != '').ToArray());


I really need to start using lambdas at some point. Legacy OS' of my customers have me trapped at older versions of .NET. They still don't look natural to me yet, it's a weird ass syntax in a world that mostly looks like c.
我的媽和她的瘋狂的外甥都
berated-
Profile Blog Joined February 2007
United States1134 Posts
November 27 2014 16:58 GMT
#11015
On November 28 2014 01:06 Ben... wrote:
Show nested quote +
On November 27 2014 23:56 sabas123 wrote:
On November 27 2014 20:49 ZenithM wrote:
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...

I get the "demotivation" bit though. I can't fucking bear Java anymore (which is a way more stagnant language than C# ;D)

java feels like your explaining programming to a child, you have to say everything about 3 times for it to do the simpelist things

That's an apt way of describing it. It's so tedious. I haven't had to write any since spring and just the thought of having to write it again gives me a bit of a headache. The verboseness of java is something I really do dislike.


In an enterprise environment it's something that I've come to love. Sure, if I'm trying to script or do something quick and dirty or only for myself, I agree that it's a bit overkill. However, when you have to maintain a project for many years and developers come in and out like a revolving door the verbosity of java is quite nice.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2014-11-27 17:15:09
November 27 2014 17:13 GMT
#11016
I'm going to go ahead and say it. Java is still super used not only because there are huge code bases in Java (obviously it's true), but because programmers are in general bad and Java is conveniently easily drilled into the masses (I'm not saying that it's taught quickly, but eventually everyone is able to piss some Java code). A really verbose and inflexible language at least forces bad programmers into routine procedures and strict patterns: "one class per file!", "type annotations everyfuckingwhere so you won't forget what your types are!", "No functions! Only methods!" (though it's starting to evolve a bit with Java 8).
The downside is, it forces good programmers to code like bad programmers.

It's not really something that can be changed too. There are nicer "mainstream" "for the masses" languages, like Python, which is both easy and expressive, but every programmer won't be able to code in Haskell, for example.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
November 27 2014 17:21 GMT
#11017
On November 27 2014 21:58 nunez wrote:
Show nested quote +
On November 27 2014 16:48 Blisse wrote:
On November 27 2014 04:35 nunez wrote:
rofl.
curse the lonely life of the template metaprogrammer...

:3

doing concurrency in c++ stuff, so want to use more c11 stuff ;-;

i wish there was a run time constant sized array in c++ that could be initialized in the constructor. std::array is close, but it's compile time, and i dont want vector because its mutable :/


dynarray is in the pipe, and hopefull will make it into the standard.
in the mean time maybe valarray can help.
or write a small wrapper around vector (it has a constructor that allows you to specify how many elements).
or (as i would have done) just use vector and be disciplined.


dynarray sounds like it!

i'm finding it's less about discipline and more about i shouldnt have to tell my brain how to interpret arrays as resizable or not, the compiler should do it for me
There is no one like you in the universe.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
Last Edited: 2014-11-27 17:41:54
November 27 2014 17:40 GMT
#11018
ah good.

i think making your assumptions explicit in code (f.ex that this container is not resizeable) is ~always a bonus.
dynarray also hopefully will have the added bonus of using stack allocation if the size is small enough.
but if that's not a concern, then vector is a safe bet: it's everyones favorite container.

dynarray will be a nice addition when the holy binary, GCC, selects it for ascension.
conspired against by a confederacy of dunces.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
November 27 2014 22:42 GMT
#11019
cant wait @_@

vectors are nasty
deques master race
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17798 Posts
Last Edited: 2014-11-28 06:01:08
November 28 2014 02:40 GMT
#11020
On November 28 2014 01:25 mostevil wrote:
Show nested quote +
On November 27 2014 20:44 Morfildur wrote:
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


I wouldn't give too much on that article. Apart from being fairly biased it's also extremely outdated with it's C# examples - which isn't surprising considering it's 8 years old and languages have developed a lot in that time.

The feeling of wanting feature X of language Y when you are developing Z is normal, no matter which language you use. All languages have a lot of features that other languages miss, because all languages specialize in different areas. While a specific feature might be useful, usually using the full language isn't, often due to missing libraries or other missing language features.

I do wish PHP had C# style lambda expressions and properties though


String.Join("\n", array.ConvertAll(x => x.Description).Where(x => x != '').ToArray());


I really need to start using lambdas at some point. Legacy OS' of my customers have me trapped at older versions of .NET. They still don't look natural to me yet, it's a weird ass syntax in a world that mostly looks like c.


I must say that I'm not a big fan of lambdas. Just like I'm not a big fan of chaining in PHP. It seems like trying to cram as much code as possible into one line which can make it less readable.

Don't get me wrong, I'm all for using anonymous functions and recursion when declaring "variables" but apart from that I think you start introducing too much clutter in imperative languages.
Time is precious. Waste it wisely.
Prev 1 549 550 551 552 553 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 5h 55m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft411
RuFF_SC2 161
Nina 83
FoxeR 64
StarCraft: Brood War
GuemChi 3631
Leta 232
Snow 118
ZergMaN 43
Bale 34
NaDa 17
Dota 2
febbydoto15
LuMiX1
League of Legends
JimRising 742
Trikslyr56
Counter-Strike
Coldzera 1250
minikerr59
Other Games
summit1g6451
WinterStarcraft627
ViBE184
Sick117
Organizations
Other Games
gamesdonequick1205
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 95
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo965
• Stunt368
Other Games
• Scarra1802
Upcoming Events
The PondCast
5h 55m
Kung Fu Cup
6h 55m
OSC
19h 55m
CrankTV Team League
1d 6h
Replay Cast
1d 19h
CrankTV Team League
2 days
Korean StarCraft League
2 days
Afreeca Starleague
2 days
RSL Revival
3 days
Serral vs SHIN
herO vs Solar
Online Event
3 days
[ Show More ]
Replay Cast
3 days
RSL Revival
4 days
Clem vs ByuN
Rogue vs Lambo
WardiTV Weekly
5 days
Sparkling Tuna Cup
6 days
PiGosaur Cup
6 days
Liquipedia Results

Completed

Proleague 2026-07-21
HSC XXIX
Eternal Conflict S2 E3

Ongoing

CSL 2026 Summer (S21)
KCM Race Survival 2026 Season 3
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
SCTL 2026 Spring
BLAST Bounty Summer Qual
Stake Ranked Episode 3
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

Upcoming

Escore Tournament S3: W4
ASL S22 SEASON OPEN Day 2
Escore Tournament S3: W5
CSLAN 4
Blizzard Classic Cup 2026
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
Light Tournament 2026
Eternal Conflict S2 Finale
ESL Pro League Season 24
Stake Ranked Episode 4
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 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.