• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:38
CEST 17:38
KST 00:38
  • 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
Team Liquid Map Contest #22: Results and Winners6Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview5[ASL21] Finals Preview: Two Legacies21
Community News
Douyu Cup 2026: $20,000 Legends Event (June 26-28)8[BSL22] Non-Korean Championship from 13 to 28 June4Weekly Cups (May 25-31): Clem doubles, 2v2 circuit heads toward finale0StarCraft II 5.0.16 PTR Patch Notes may 26th153Weekly Cups (May 18-24): MaxPax wins doubles0
StarCraft 2
General
High level ptr replays? where can I find them? StarCraft II 5.0.16 PTR Patch Notes may 26th Team Liquid Map Contest #22: Results and Winners TL Poll: How do you feel about the 5.0.16 PTR balance changes? TL.net Map Contest #22 - Voting & Ladder Map Selection
Tourneys
Douyu Cup 2026: $20,000 Legends Event (June 26-28) Maestros of The Game 2 announcement and schedule ! Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) GSL Code S Season 2 (2026)
Strategy
[G] Having the right mentality to improve
Custom Maps
[D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 529 Opportunities Unleashed Mutation # 528 Infection Detected Welcome to the External Content forum
Brood War
General
Quality of life changes in BW that you will like ? [BSL22] Non-Korean Championship from 13 to 28 June BGH Auto Balance -> http://bghmmr.eu/ vespene.gg — BW replays in browser The Korean Terminology Thread
Tourneys
[Megathread] Daily Proleagues [ASL21] Grand Finals [BSL22] Grand Finals - Sunday 21:00 CEST Escore Tournament StarCraft Season 2
Strategy
Creating a full chart of Zerg builds Relatively freeroll strategies Why doesn't anyone use restoration? Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread PC Games Sales Thread ZeroSpace Megathread Summer Games Done Quick 2026!
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Trading/Investing Thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club!
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion [Manga] One Piece
Sports
2024 - 2026 Football Thread Cricket [SPORT] TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
How Streaming Impacts Game P…
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
Why RTS gamers make better f…
gosubay
ramps on octagon
StaticNine
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6599 users

The Big Programming Thread - Page 629

Forum Index > General Forum
Post a Reply
Prev 1 627 628 629 630 631 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.
phar
Profile Joined August 2011
United States1080 Posts
May 09 2015 19:35 GMT
#12561
App engine should have free tier everywhere. I dunno if app engine is 100% free anymore, but it should be either that or close to it.

I think Compute Engine gets you a more standard programming environment, instead of being constrained to app engine apis (limit you to blobstore, megastore, etc with their custom api). Whatever floats your boat though, if it's just to play around, then nothing wrong with app engine.


I think AWS also has a free tier, could check that out.
Who after all is today speaking about the destruction of the Armenians?
zatic
Profile Blog Joined September 2007
Zurich15365 Posts
May 10 2015 10:16 GMT
#12562
On May 10 2015 04:35 phar wrote:
App engine should have free tier everywhere. I dunno if app engine is 100% free anymore, but it should be either that or close to it.

It does, but only for business users. You can't order it from a European billing address without providing a VAT number. At least as far as I can tell, haven't tried all EU counties. That's why I was asking.
ModeratorI know Teamliquid is known as a massive building
phar
Profile Joined August 2011
United States1080 Posts
May 10 2015 17:25 GMT
#12563
Interesting, I thought that the VAT number was optional if you were in Europe (it would just change your accounting structure, and make it a bit more of a hassle for you).

First guess I'd have at this point is to start hosting in US (which will suck latency-wise), and then figure out how to get it moved:

http://stackoverflow.com/questions/19467532/hosting-the-application-in-europe-without-a-premier-account

I don't work on this stuff so I don't know how it's supposed to work - if you're stuck ping me via PM and I can try to find more.
Who after all is today speaking about the destruction of the Armenians?
Deathmanbob
Profile Joined December 2010
United States2356 Posts
May 10 2015 21:33 GMT
#12564
Hey all, I am pretty noob to this but had a few questions.
What is a good way to learn C? I have been just kind of dicking around with HTML, CSS, Java script, Ruby, and been playing around in Unity. I want to stop dicking around and actually learn this for real, and from what I have heard from people, that means learning C.

Is there a good book out there to learn this from? Thanks
No Artosis, you are robin
Ben...
Profile Joined January 2011
Canada3485 Posts
Last Edited: 2015-05-11 02:01:44
May 11 2015 01:59 GMT
#12565
On May 11 2015 06:33 Deathmanbob wrote:
Hey all, I am pretty noob to this but had a few questions.
What is a good way to learn C? I have been just kind of dicking around with HTML, CSS, Java script, Ruby, and been playing around in Unity. I want to stop dicking around and actually learn this for real, and from what I have heard from people, that means learning C.

Is there a good book out there to learn this from? Thanks

There's plenty of languages you can learn the basics in. When most people say to learn C, I imagine they probably more mean to learn an imperative language, like C, C++, C#, or Java. As a person who does a lot of C programming, I would maybe suggest starting with something a little more forgiving like C++ or C# (with C++ you can still do mostly C in terms of actual programming, but there's a few areas where things can be simplified so they are easier to understand when first learning the basics of programming like IO streams and new and std::strings). C is a bit of a tricky language to learn because you have to do a lot of the memory management yourself, which is simplified in C++ (thanks to new) and not something you have to worry about explicitly when starting in Java or C#.

However, if you do have the patience, C is a great language to start programming in because there is no magic to it. You have to handle almost everything yourself so you are forced to learn a lot of different concepts in programming. So if you think you are up for it, maybe give it a go but don't be afraid to go with a language that might be a bit more beginner friendly.

As for C books, Brian Kernighan and Dennis Ritchie's "The C Programming Language" is by far my favourite book I've read on C (It's also the go-to book for many other people. It's a classic for a reason). It's an older book and some of the programming techniques they use in it might seem weird in a modern context but I still think it's the best way to learn C. They go through almost everything you would need to know to do C programming, and teach you important general concepts in programming like how strings work and things like that. Study the examples. They might seem a bit obtuse at first but they are actually really good and you can extract lots of neat tricks from them.
"Cliiiiiiiiiiiiiiiiide" -Tastosis
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
Last Edited: 2015-05-11 20:27:28
May 11 2015 20:26 GMT
#12566
On May 11 2015 10:59 Ben... wrote:
Show nested quote +
On May 11 2015 06:33 Deathmanbob wrote:
Hey all, I am pretty noob to this but had a few questions.
What is a good way to learn C? I have been just kind of dicking around with HTML, CSS, Java script, Ruby, and been playing around in Unity. I want to stop dicking around and actually learn this for real, and from what I have heard from people, that means learning C.

Is there a good book out there to learn this from? Thanks

There's plenty of languages you can learn the basics in. When most people say to learn C, I imagine they probably more mean to learn an imperative language, like C, C++, C#, or Java.

That last bit doesn't make sense, with c# and java being pure OO langauges,

I think something like php would be alot better then c# or java, since you can code C like stuff in php. That is without types and pointers thou.

I think if you want to learn C the best way is just to do C. It will expose most low level stuff, if its usefull or not its debatble, however it made understanding datastructures alot easier for me.
The harder it becomes, the more you should focus on the basics.
ZenithM
Profile Joined February 2011
France15952 Posts
May 11 2015 20:33 GMT
#12567
PHP should never be a first language! Nor a second! Nor...wait a minute...
fmod
Profile Blog Joined November 2013
Cayman Islands330 Posts
May 11 2015 21:24 GMT
#12568
On May 11 2015 06:33 Deathmanbob wrote:
Hey all, I am pretty noob to this but had a few questions.
What is a good way to learn C? I have been just kind of dicking around with HTML, CSS, Java script, Ruby, and been playing around in Unity. I want to stop dicking around and actually learn this for real, and from what I have heard from people, that means learning C.

Is there a good book out there to learn this from? Thanks

Never read it myself, but most people recommend K&R C (2nd edition). I can also recommend using linux/unix if you want to use C, so you can learn about makefiles and the basics of compiling, linking etc. These are important skills for any serious programmer (and you said you are for real!). In practice, just knowing the language C is not enough - it's almost equally as important to learn to use the compilers / tools for any real work.
I don't particularly like you.
Ben...
Profile Joined January 2011
Canada3485 Posts
Last Edited: 2015-05-11 22:43:22
May 11 2015 22:33 GMT
#12569
On May 12 2015 05:33 ZenithM wrote:
PHP should never be a first language! Nor a second! Nor...wait a minute...

PHP is a language you should only learn when being paid to do so.

On May 12 2015 05:26 sabas123 wrote:
That last bit doesn't make sense, with c# and java being pure OO langauges,

They may be ideal for object oriented programming but it is rather trivial to treat either in a simple fashion for doing bare bones basic learning (i.e.: for basic learning you just create a class and do all of your work within it. In most programming classes structures and classes/objects are introduced fairly early so the whole OO issue isn't a big deal for long).
"Cliiiiiiiiiiiiiiiiide" -Tastosis
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
May 12 2015 00:30 GMT
#12570
On May 12 2015 05:33 ZenithM wrote:
PHP should never be a first language! Nor a second! Nor...wait a minute...


Why not? If I want to get a website for myself, then even though I don't know PHP, it seems like C syntax so it's easier to pick up.
Manit0u
Profile Blog Joined August 2004
Poland17765 Posts
Last Edited: 2015-05-12 01:09:59
May 12 2015 01:07 GMT
#12571
I don't know why all of a sudden hate for PHP? Here are some arguments for it:

1. Wide range of options - you can do it the imperative way, pure OOP and with latest iterations you can even do functional programming in it. You get a lot of potential here and can expand your repertoire as you go along (and not be forced into one particular mode). As you get more experienced you can mix and match the styles to better suit your needs. It's also pretty powerful this way since you can use the best paradigm for the job at hand. Sure, PHP used to suck but right now it's getting cleaner, slicker, faster and more powerful with each iteration (going from PHP 5.3 to 5.4 can give your apps up to 40% performance boost).

2. Very good documentation and plenty of resources - PHP is very well documented. There's also plenty of people doing it so you get access to tons of resources online, stackoverflow questions and what not. Worst thing you can do when learning programming is trying to go for some niche, obscure language where you have to figure everything out yourself, documentation is lacking or incomplete etc.

3. Plenty of work - you can actually pick and choose even if you're not a senior developer in PHP. I'm not the most experienced programmer around but I know that if I lost my job for any reason (not liking the atmosphere at the company for example) I can get a new one within a week tops. Hell, I'm receiving 2-3 job offers each day and I don't even live in the most populated area/very big city. There's a reason why the vast majority of the web runs on PHP (82% according to the recent survey). Sure, you can learn some cool language like Ruby, but finding a job will be a lot harder.

Of course, if you don't want to do web-based apps (back-office stuff included) then PHP is a lot less appealing. Sure, you can do some fancy scripts instead of using one of the compiled languages (or even Python), but it won't be the same.

Personally I find nothing wrong with starting to learn programming with PHP (even though I've started with C myself).
Time is precious. Waste it wisely.
Rotodyne
Profile Blog Joined July 2005
United States2263 Posts
May 12 2015 01:50 GMT
#12572
Hahah my last post was about people hating on other languages, I didn't bother to read if anyone responded. But look what we have here. Poor PHP I like it
I can only play starcraft when I am shit canned. IPXZERG is a god.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2015-05-12 07:07:08
May 12 2015 06:55 GMT
#12573
I mean, you can have opinions on languages, it's not forbidden I would think and it's all the more reason to voice them when people are asking for recommendations. The reason the web runs on PHP is the same most of the other non-web programs runs on Java, that is: not objectively good reasons, but reasons dictated by history :D
Today you can start programming with more modern, more expressive and more market-attractive languages than PHP, PHP is a recommendation you would have made 10 years ago, today it just perpetuates languages that should just be left alone. Hell, even advising for Javascript is better.

Also, a fun thing to do when someone says "Said language sucks" is to look-up "said language sucks" on google and quickly see at a glance what comes out of it. There are good articles on why PHP "isn't all that great".
Manit0u
Profile Blog Joined August 2004
Poland17765 Posts
May 12 2015 10:34 GMT
#12574
On May 12 2015 15:55 ZenithM wrote:
There are good articles on why PHP "isn't all that great".


There are good articles on why ANY programming language "isn't all that great"

But seriously, PHP development is a mess and thanks to that it kind of blows if you don't know what you're doing (and sometimes it blows even if you do). I guess there's a positive side to that too, since in order to write good code in PHP you have to:
a) know the language, it's pitfalls and specs
b) think about what you're actually doing in order to not screw up (this involves writing shorter, simpler and better code in general - the way to avoid errors)
Time is precious. Waste it wisely.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2015-05-12 12:45:06
May 12 2015 12:22 GMT
#12575
Yes, but you can read the articles and see for yourself if you want to bother tackling this or that specific difficulty of the language or you're better off with other difficulties that you can bear :D
I guess it already requires kind of a broad view on what programming languages are though...

I don't resent PHP, it's ugly but it did help me get some small jobs done back in the day :D. It's just that I wouldn't recommend it. Like I wouldn't recommend Java, even though I teach it. I like C though, not the most expressive to start with but it really helps understanding the machine.
Manit0u
Profile Blog Joined August 2004
Poland17765 Posts
May 12 2015 14:46 GMT
#12576
On May 12 2015 21:22 ZenithM wrote:
Yes, but you can read the articles and see for yourself if you want to bother tackling this or that specific difficulty of the language or you're better off with other difficulties that you can bear :D
I guess it already requires kind of a broad view on what programming languages are though...

I don't resent PHP, it's ugly but it did help me get some small jobs done back in the day :D. It's just that I wouldn't recommend it. Like I wouldn't recommend Java, even though I teach it. I like C though, not the most expressive to start with but it really helps understanding the machine.


Let's take one such article as an example: http://whydoesitsuck.com/why-does-php-suck/

It's actually a decent article, well written, well structured and showing some of the really nasty stuff you can run into with PHP.

The problem I find with most of those "this and that ain't so good" articles, one above included, is that they can seriously discourage someone from trying to learn a language even though problems it lists are either easy to avoid or very niche (in over a year of working professionally with PHP I haven't used 90% of the functions listed as scary in the article for example). I still find such articles useful for people who actually know what's being talked about, since you can then avoid stupid and/or hard to track mistakes (like JS type system, variable hoisting or its abstract equality comparison algorithm). But for people unfamiliar with the language? I'd skip any and all "why is it not good" articles, they're mostly written by biased people anyway.
Time is precious. Waste it wisely.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
May 12 2015 14:57 GMT
#12577
The main reason why PHP is bad is that 0 == "x". If it had typesafe comparison as default instead of requiring permanent ===, it would be a lot less annoying to deal with. Oh, and scoping is bad as well with variables declared in a block being available outside of it.
It could use a bit of Perl's "use strict;"

It's a good language if you are looking for work. It's a bad language if you want to have fun programming stuff more advanced than your basic website.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
May 12 2015 15:07 GMT
#12578
On May 12 2015 23:57 Morfildur wrote:
It's a good language if you are looking for work. It's a bad language if you want to have fun programming stuff more advanced than your basic website.

I think saying its bad is alittle overboard, considering it can do so much.

but the inconsistancy in the names of php functions is.... insane.
The harder it becomes, the more you should focus on the basics.
ZenithM
Profile Joined February 2011
France15952 Posts
May 12 2015 16:34 GMT
#12579
Haha I gotta say, one of my main problems with PHP was with the comparison operators. It's not like you make typing mistakes often, but the simple thought that this problem is always there lying around is chilling :D.
Manit0u
Profile Blog Joined August 2004
Poland17765 Posts
Last Edited: 2015-05-12 19:20:50
May 12 2015 19:20 GMT
#12580
On May 13 2015 01:34 ZenithM wrote:
Haha I gotta say, one of my main problems with PHP was with the comparison operators. It's not like you make typing mistakes often, but the simple thought that this problem is always there lying around is chilling :D.


That's one of the reasons why modern frameworks enforce good coding style - typehints, strict comparisons etc.

Weak comparison operator "==" is actually useful sometimes, since there is no static typing in PHP you can use it (and it's really the only viable way for using it in my opinion) if you want to test a variable that might be undefined (null) without having to write a lot of separate tests for everything - if ($var != null) deals with 0, false, empty arrays, empty strings, non-objects as well as null in one go, but I guess you could also use empty($var) for that which is even better since it doesn't emit a notice level debug msg if the variable hasn't been defined
Time is precious. Waste it wisely.
Prev 1 627 628 629 630 631 1032 Next
Please log in or register to reply.
Live Events Refresh
uThermal 2v2 Circuit
15:00
Season Finals: Group Stage 2
RotterdaM626
TaKeTV 329
IndyStarCraft 157
SteadfastSC137
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Serral 2090
uThermal 1186
RotterdaM 626
mouzHeroMarine 196
IndyStarCraft 157
SteadfastSC 137
BRAT_OK 35
trigger 30
LamboSC2 28
Classic 25
sc2solar 13
SpiritSC2 8
StarCraft: Brood War
Britney 34876
Calm 6640
EffOrt 1378
Shuttle 1241
actioN 276
BeSt 257
Leta 133
Mind 112
hero 107
Zeus 95
[ Show more ]
ggaemo 67
Hyun 67
910 60
Barracks 55
Pusan 49
Movie 38
ToSsGirL 36
Rock 28
GoRush 20
Terrorterran 19
IntoTheRainbow 15
soO 15
Sacsri 13
NaDa 12
ajuk12(nOOB) 10
Dota 2
Dendi2148
syndereN481
LuMiX1
Counter-Strike
fl0m6977
Other Games
gofns38072
tarik_tv9182
singsing2999
Lowko765
B2W.Neo707
Mlord552
crisheroes261
Hui .234
SHIN 176
DeMusliM150
XaKoH 130
ArmadaUGS71
Mew2King53
KnowMe10
Organizations
Other Games
EGCTV792
BasetradeTV193
StarCraft 2
angryscii 17
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• Shameless 21
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• FirePhoenix8
• Michael_bg 8
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis3110
Other Games
• WagamamaTV544
• Shiphtur134
Upcoming Events
BSL22 NKC (BSL vs China)
3h 22m
eOnzErG vs Mihu
Messiah vs XuanXuan
Jaystar vs TerrOr
Dewalt vs Bonyth
eOnzErG vs XuanXuan
Mihu vs TerrOr
Messiah vs Bonyth
Sparkling Tuna Cup
18h 22m
uThermal 2v2 Circuit
23h 22m
BSL22 NKC (BSL vs China)
1d 3h
Jaystar vs Dewalt
eOnzErG vs TerrOr
XuanXuan vs Bonyth
Mihu vs Dewalt
Messiah vs Jaystar
eOnzErG vs Bonyth
TerrOr vs Dewalt
Wardi Open
1d 19h
OSC
2 days
Replay Cast
3 days
The PondCast
4 days
Replay Cast
5 days
OSC
5 days
[ Show More ]
CranKy Ducklings
5 days
Liquipedia Results

Completed

Acropolis #4 - GSB
2026 GSL S2
Heroes Pulsing #1

Ongoing

IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
CSCL: Masked Kings S4
YSL S3
BSL 22 Non-Korean Championship
SCTL 2026 Spring
Maestros of the Game 2
WardiTV Spring 2026
uThermal 2v2 2026 Main Event
Murky Cup 2026
Heroes Pulsing #2
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1

Upcoming

CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
Douyu Cup 2026
Heroes Pulsing #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
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.