• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:25
CEST 22:25
KST 05:25
  • 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
[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 244
Community News
StarCraft open world shooter announced at BlizzCon31Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10Official StarCraft website teases new content ahead of BlizzCon?158Stellar Fest TWO the Moon (Dec 16-20)9Weekly Cups (August 24-30): Patches' balance mod takes over3
StarCraft 2
General
StarCraft open world shooter announced at BlizzCon Balance hotfix patch 5.0.16b (July 16) Team Liquid Map Contest #22: Results and Winners Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism SC4ALL: II Winner will earn a spot at HSC 30!
Tourneys
RSL goes to London! 2026 Offline Finals Nov 21-22 KSL Week #92 IntoTheTV X SOOP SC2 League : Weekly & Monthly 2026 GSTL Announcement Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 542 The Ascended Mutation # 541 Binary Choice The PondCast: SC2 News & Results Mutation # 540 Dodge This
Brood War
General
Official StarCraft website teases new content ahead of BlizzCon? Broodwar Prediction Market BGH Auto Balance -> http://bghmmr.eu/ Practice Partners (Official) [D] Brainstorming a balance patch for Brood war
Tourneys
[ASL22] Ro16 Group A [ASL22] Ro16 Group B Escore Tournament - Season 3 Small VOD Thread 2.0
Strategy
Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation Game Theory for Starcraft
Other Games
General Games
Diablo IV Nintendo Switch Thread EVE Corporation [Maplestory Hardcore] Let's Play~!! General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread UK Politics Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread Russo-Ukrainian War Thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Diablo Animated Series on Netflix Movie Discussion!
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Virtual Romance, Real-Life C…
TrAiDoS
Regacy Esports:Our Goa…
regacyesports
Dreaming of BW patches (mod…
c3rberUs
LOCKPICKING NOOB
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8277 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
Poland17843 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
Poland17843 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
Poland17843 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
AI Arena Tournament
17:00
Swiss - Round 1
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 790
Tasteless 520
CosmosSc2 59
StarCraft: Brood War
Britney 17239
Artosis 652
Dewaltoss 116
HiyA 73
Mong 52
NaDa 12
Noble 7
Dota 2
monkeys_forever154
canceldota58
LuMiX1
League of Legends
Doublelift3357
JimRising 454
Counter-Strike
fl0m3312
Super Smash Bros
C9.Mang0136
hungrybox123
Chillindude13
Heroes of the Storm
Liquid`Hasu1327
Trikslyr69
Other Games
Grubby8559
summit1g5595
B2W.Neo1286
Mlord457
XaKoH 171
QueenE51
Organizations
Heroes of the Storm
Heroes of the Storm3732
StarCraft 2
StarCraft1303
Other Games
EGCTV1150
StarCraft: Brood War
Afreeca ASL 522
Other Games
BasetradeTV247
angryscii24
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 107
• Adnapsc2 12
• IndyKCrew
• AfreecaTV YouTube
• intothetv
• Migwel
• Kozan
StarCraft: Brood War
• Airneanach34
• FirePhoenix14
• Pr0nogo 4
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2709
Other Games
• imaqtpie885
• Shiphtur178
Upcoming Events
OSC
5m
davetesta0
Sparkling Tuna Cup
13h 35m
WardiTV Invitational
14h 35m
ByuN vs Percival
Cure vs Classic
Shopify Rebellion Sundays
18h 35m
Spirit vs Mixu
Clem vs TBD
RSL Revival
19h 35m
Serral vs Rogue
BlizzCon
22h 5m
IdrA vs MC
Replay Cast
1d 3h
Afreeca Starleague
1d 13h
Light vs JyJ
Soulkey vs hero
WardiTV Weekly
1d 14h
Monday Night Weeklies
1d 19h
[ Show More ]
Afreeca Starleague
2 days
Snow vs Shinee
Shine vs EffOrt
GSL
2 days
PiGosaur Cup
3 days
The PondCast
3 days
Kung Fu Cup
3 days
Replay Cast
4 days
KCM Race Survival
4 days
IntoTheTV X SOOP
4 days
Replay Cast
5 days
IntoTheTV X SOOP
5 days
Replay Cast
6 days
GSL
6 days
Liquipedia Results

Completed

Acropolis #5 - TRS
PiG Sty Festival 8.0
Big Dog Cup 2026 Div 1

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
RSL Revival: Season 6
Calamity Invitational
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026

Upcoming

Blizzard Classic Cup 2026
Acropolis #5 - GSA
Acropolis #5 - GSB
Acropolis #5 - GSC
SC4ALL II: Brood War
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Blizzard Classic Cup 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 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.