• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:02
CEST 06:02
KST 13:02
  • 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
[ASL21] Ro24 Preview Pt2: News Flash8[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy13ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research7Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool49Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
Aligulac acquired by REPLAYMAN.com/Stego Research Weekly Cups (March 23-29): herO takes triple Team Liquid Map Contest #22 - Presented by Monster Energy What mix of new & old maps do you want in the next ladder pool? (SC2) herO wins SC2 All-Star Invitational
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Season 4 announced for March-April StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
Mutation # 519 Inner Power The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat
Brood War
General
Behind the scenes footage of ASL21 Group E BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ Build Order Practice Maps Pros React To: SoulKey vs Ample
Tourneys
[ASL21] Ro24 Group F Azhi's Colosseum - Foreign KCM [ASL21] Ro24 Group E [ASL21] Ro24 Group D
Strategy
Fighting Spirit mining rates What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Starcraft Tabletop Miniature Game General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 13690 users

The Big Programming Thread - Page 222

Forum Index > General Forum
Post a Reply
Prev 1 220 221 222 223 224 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.
Fyodor
Profile Blog Joined September 2010
Canada971 Posts
December 20 2012 12:55 GMT
#4421
On December 20 2012 21:50 icystorage wrote:
i actually answered some incompletely.

i was like
'the main difference about c and c++ is mainly about c++ being OOP'
'how?'
boom. stumped.
yeah i got the 'final' one correct tho i first answered to make it abstract and he said it was wrong (i was about to bang my head on the desk) then i said convert it to final.

yeah he also asked me the difference between array and ArrayList

fuck me, you must be kicking yourself.
llllllllllllllllllllllllllllllllllllllllllll
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
December 20 2012 12:56 GMT
#4422
i actually felt very dumb after that
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
AmericanUmlaut
Profile Blog Joined November 2010
Germany2594 Posts
Last Edited: 2012-12-20 13:00:14
December 20 2012 12:56 GMT
#4423
On December 20 2012 21:50 icystorage wrote:
i actually answered some incompletely.

i was like
'the main difference about c and c++ is mainly about c++ being OOP'
'how?'
boom. stumped.
yeah i got the 'final' one correct tho i first answered to make it abstract and he said it was wrong (i was about to bang my head on the desk) then i said convert it to final.

yeah he also asked me the difference between array and ArrayList

Yeah, abstract is definitely the wrong answer there . That does the precise opposite of making a class uninheritable.

Seriously don't stress it, though. Everyone has flop interviews. You'll do better the next time. In the meantime, you should write up a nice little object-oriented C++ program and then translate it into C. I did that my senior year (I wanted to implement a multi-processor version of a program I'd written earlier and we couldn't find a C++ compiler that was compatible with the old 8-proc machine I was given) and I now have the fundamental differences between the two languages burned very permanently into my brain.

Edit to add: Something that helps me a lot is that I go to interviews to have fun. That's not very hard for me because I don't get nervous easily, I enjoy interviews, and I've never been in a position where I needed the job I was interviewing for, but if you can get into the mindset that you're just having a fun chat about a subject you're passionate and knowledgeable about, then you'll flub a lot less answers. By all means act professional and respectful, but if your state of mind is that of a supplicant begging for favor, you're not going to come off as confident in your abilities.
The frumious Bandersnatch
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
December 20 2012 13:01 GMT
#4424
yeah, that was a very nice eye opener for me to get back to the fundamentals and the basics. i was even surprised that i got asked about javascript, how to access an html textbox using javascript and i answer use getdocumentbyid where in fact it was actually getelementbyid, its like 2 years since i touched javascript, ive been using java and c# for years now. that really hit my confidence.

thanks i actually got a second interview tomorrow morning, im hoping i wont fuck up again.
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
b3n3tt3
Profile Joined January 2012
595 Posts
Last Edited: 2012-12-20 15:48:30
December 20 2012 15:46 GMT
#4425
assuming the string input for the calc problem is flawless, solve just by stacks

+ Show Spoiler +
stack it up in postorder format w/ respect to the hierarchy of operators (mdas). if the incoming value is an operator then instead of stacking, solve the last two numbers using the operator then stack the answer...


and if you still need to prune the string i think the number of operatos correspond somehow to the actual count of ur numerals, so that's one way of validating if some retarded input got in eg. 1++++++++++++++++++++++++++++++++++++++++1.

if the incoming value ended as an operator then most likely it's fucked. sorry im drunk atm
waxypants
Profile Blog Joined September 2009
United States479 Posts
December 21 2012 00:37 GMT
#4426
Bleh, how to do very language-specific stuff in interviews is dumb unless they can't afford to give you a learning period for some reason. Even so... I forget shit all the time and just Google it, no big deal. And I consider myself a pretty good programmer (better than most of my coworkers...). Although to admit my bias, my languages of choice are C and Python and I hate C++, so I forget a lot of the fancy OOP crap. However if I was forced to program with a highly OOP code-base, I would relearn it pretty quickly. I imagine most good programmers are the same.
tec27
Profile Blog Joined June 2004
United States3702 Posts
December 21 2012 04:12 GMT
#4427
On December 21 2012 09:37 waxypants wrote:
Bleh, how to do very language-specific stuff in interviews is dumb unless they can't afford to give you a learning period for some reason. Even so... I forget shit all the time and just Google it, no big deal. And I consider myself a pretty good programmer (better than most of my coworkers...). Although to admit my bias, my languages of choice are C and Python and I hate C++, so I forget a lot of the fancy OOP crap. However if I was forced to program with a highly OOP code-base, I would relearn it pretty quickly. I imagine most good programmers are the same.

Yeah, I think some interviewers lose track of what they're actually looking for. Then again, some jobs simply aren't that challenging so most of the skillset they need is simply knowing what X function is called in Y language. Overall though, I think people asking language trivia in interviews and not trying to evaluate how you think is a sign of a bad company that you don't want to work for.
Can you jam with the console cowboys in cyberspace?
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2012-12-21 08:20:30
December 21 2012 08:19 GMT
#4428
On December 21 2012 13:12 tec27 wrote:
Show nested quote +
On December 21 2012 09:37 waxypants wrote:
Bleh, how to do very language-specific stuff in interviews is dumb unless they can't afford to give you a learning period for some reason. Even so... I forget shit all the time and just Google it, no big deal. And I consider myself a pretty good programmer (better than most of my coworkers...). Although to admit my bias, my languages of choice are C and Python and I hate C++, so I forget a lot of the fancy OOP crap. However if I was forced to program with a highly OOP code-base, I would relearn it pretty quickly. I imagine most good programmers are the same.

Yeah, I think some interviewers lose track of what they're actually looking for. Then again, some jobs simply aren't that challenging so most of the skillset they need is simply knowing what X function is called in Y language. Overall though, I think people asking language trivia in interviews and not trying to evaluate how you think is a sign of a bad company that you don't want to work for.


I agree.
Those interview questions are plain stupid imho, they can be solved in 5s through googling (which even the best programmers do all the time) and they don't actually test how you approach and solve problems.
Any question that asks "What ...?" - like "What is the method name that does X?" or "What is the difference between X and Y?" or "What keyword makes a class uninheritable?" - are generally bad. Questions starting with "How ...?" or "Why ...?" - like "How would you solve problem X?" or "Why would you want to make a class uninheritable?" - are usually the good questions that end up actually revealing how good the programmer that you are interviewing is.

If a company asks you lots of bad questions, you will end up having lots of co-workers that are actually horrible programmers and working there will drain your soul until you are merely an empty shell.
Fyodor
Profile Blog Joined September 2010
Canada971 Posts
December 21 2012 08:29 GMT
#4429
On December 21 2012 17:19 Morfildur wrote:
Show nested quote +
On December 21 2012 13:12 tec27 wrote:
On December 21 2012 09:37 waxypants wrote:
Bleh, how to do very language-specific stuff in interviews is dumb unless they can't afford to give you a learning period for some reason. Even so... I forget shit all the time and just Google it, no big deal. And I consider myself a pretty good programmer (better than most of my coworkers...). Although to admit my bias, my languages of choice are C and Python and I hate C++, so I forget a lot of the fancy OOP crap. However if I was forced to program with a highly OOP code-base, I would relearn it pretty quickly. I imagine most good programmers are the same.

Yeah, I think some interviewers lose track of what they're actually looking for. Then again, some jobs simply aren't that challenging so most of the skillset they need is simply knowing what X function is called in Y language. Overall though, I think people asking language trivia in interviews and not trying to evaluate how you think is a sign of a bad company that you don't want to work for.


I agree.
Those interview questions are plain stupid imho, they can be solved in 5s through googling (which even the best programmers do all the time) and they don't actually test how you approach and solve problems.
Any question that asks "What ...?" - like "What is the method name that does X?" or "What is the difference between X and Y?" or "What keyword makes a class uninheritable?" - are generally bad. Questions starting with "How ...?" or "Why ...?" - like "How would you solve problem X?" or "Why would you want to make a class uninheritable?" - are usually the good questions that end up actually revealing how good the programmer that you are interviewing is.

If a company asks you lots of bad questions, you will end up having lots of co-workers that are actually horrible programmers and working there will drain your soul until you are merely an empty shell.

Or you end up with a monopoly on intellectual/programming capital within the company... get noticed immediately and get promoted really quick so you can inspire newer better practices under your leadership.
llllllllllllllllllllllllllllllllllllllllllll
heishe
Profile Blog Joined June 2009
Germany2284 Posts
Last Edited: 2012-12-21 17:44:51
December 21 2012 09:06 GMT
#4430
Those questions are very good for interviewers. They don't directly test your problem solving skills, but they show how much experience you have. Consider this:

OOP concepts are not something that you can "quickly read up on". Yes you can look up how to create a class, how to do inheritance, etc., but that's completely irrelevant. If you don't have thorough experience working with object oriented systems, you're gonna suck at designing, implementing, and refactoring them. It takes years of experience with these systems before you're gonna be able to design a big system that doesn't completely suck.

And when you say in your application that you\re experienced with C++, and then don't even know immediately by heart these very basic syntax rules for using OOP, it's blatantly obvious that you don't have a clue about OOP because you barely worked with it, and thus it's a heavy indicator that you're going to suck for the company. Or you've lied to them about being experienced with C++ and all you've ever worked with is another OOP language, which isn't exactly good either since you're being dishonest from the very beginning.

Some one who is actually experience with OOP and thus a good choice for a company that looks for someone who is good at problem solving using OOP will answer these questions very fast because they're trivial. It's a filter for the worst candidates, so to speak.

The same rule basically applies to language specific tougher questions, e.g. questions about performance in C++. These kinds of questions probably get asked at places where you're going to need to be familiar with them, because they are not things that you can quickly read up on without an extensive learning period. If an interviewer asks you why a code section with lots of "new"s is bad and you don't immediately know the answer to it, or how to circumvent those problems caused, it's again blatantly obvious that you've never worked with high-performance systems, and thus are going to cause problems in fields of work where performance matters.

IMO the same thing even applies to the easier language-specific questions, e.g. those which target your knowledge about standard language libraries, e.g. the STL in C++. If an interviewer asks you to search for a value using a simple linear search in C++ and you don't know that std::find exists, or if he asks you to sort and you dont know that std::sort exists, it's again blatantly obvious that you don't have a lot of experience with the language. And even though those library things are actually things you could look up quickly and answer with literally 5 seconds of googling, that does not mean that you're going to be a smart programmer and look for standard library implementations for typical problems, especially when it comes to cases which can not be boiled down to just one function call, but which could be solved elegantly with the combination of a couple of existing standard library components. It also indicates that code that you touch won't be exactly succinct and might be harder to maintain.

At the end of the day, the company has to pick the candidate that seems most suited to them. Actually having deep knowledge of the language you're working with is an advantage that can save you and the company significant man-hours when implementing something. Of course language knowledge isn't everything, but it's one of the many things an interviewer should check, imo. And if there's another candidate who's as good as you in all other aspects, but on top of it actually has a lot of experience with the language that the company works with, they're the most logical choice for the company. Without those language specific questions, they wouldn't have that additional information and would have to make a blind pick, possibly picking you even though you're worse for the job than the other candidate.

Of course all of these things shouldn't apply to completely entry level positions, for fresh BAs or even less, or for jobs which are not about programming and more about architectural design (e.g. business software) or algorithmic design (e.g. research), but for everything else it's imo pretty sensible to include those things as basic standard questions.
If you value your soul, never look into the eye of a horse. Your soul will forever be lost in the void of the horse.
Craton
Profile Blog Joined December 2009
United States17281 Posts
Last Edited: 2012-12-22 02:41:30
December 22 2012 02:40 GMT
#4431
On December 21 2012 17:19 Morfildur wrote:
Show nested quote +
On December 21 2012 13:12 tec27 wrote:
On December 21 2012 09:37 waxypants wrote:
Bleh, how to do very language-specific stuff in interviews is dumb unless they can't afford to give you a learning period for some reason. Even so... I forget shit all the time and just Google it, no big deal. And I consider myself a pretty good programmer (better than most of my coworkers...). Although to admit my bias, my languages of choice are C and Python and I hate C++, so I forget a lot of the fancy OOP crap. However if I was forced to program with a highly OOP code-base, I would relearn it pretty quickly. I imagine most good programmers are the same.

Yeah, I think some interviewers lose track of what they're actually looking for. Then again, some jobs simply aren't that challenging so most of the skillset they need is simply knowing what X function is called in Y language. Overall though, I think people asking language trivia in interviews and not trying to evaluate how you think is a sign of a bad company that you don't want to work for.


I agree.
Those interview questions are plain stupid imho, they can be solved in 5s through googling (which even the best programmers do all the time) and they don't actually test how you approach and solve problems.
Any question that asks "What ...?" - like "What is the method name that does X?" or "What is the difference between X and Y?" or "What keyword makes a class uninheritable?" - are generally bad. Questions starting with "How ...?" or "Why ...?" - like "How would you solve problem X?" or "Why would you want to make a class uninheritable?" - are usually the good questions that end up actually revealing how good the programmer that you are interviewing is.

If a company asks you lots of bad questions, you will end up having lots of co-workers that are actually horrible programmers and working there will drain your soul until you are merely an empty shell.

Not if you're hiring someone fresh out of schooling. If they're applying for a position that requires certain skills, they ought to have memorized enough of the basic methods, classes, etc. that they can rattle them off to answer those basic questions. There are plenty of people with degrees who know fuck all about any language, so this is a useful way to weed them out immediately.

The more general questions of "how would you go about solving this problem" is just the next step that tests one's critical thinking crossed with programming knowledge to see their ability to come up with elegant solutions and effective approaches, rather than trying to do "manual" tests for each case.

If you're hiring someone with a years of experience then I imagine you care less about specific methods because you have reason to believe they already are well-versed in that (by virtue of their years of experience) and instead care more about the high level way of going about the problem.

It doesn't hurt to ask both and you definitely want to be thorough if you're going to commit to having someone around for months or years.

Every applicant at my company is interviewed by multiple people from numerous backgrounds on a variety of subjects and since these interviews are often separately conducted (i.e. one immediately after the other) you can get repeat questions and the way the answers differ can be very telling; Consider if in a later interview the applicant has managed to think through the problem and come out with a much better answer. Being nervous in an interview is hardly a new thing and certainly nothing employers haven't seen before, but the ability to improve upon a solution is a useful skill. Incidentally I had 3 back-to-back in-person interviews and 1 or 2 phone interviews.
twitch.tv/cratonz
tec27
Profile Blog Joined June 2004
United States3702 Posts
December 22 2012 03:51 GMT
#4432
On December 22 2012 11:40 Craton wrote:
Show nested quote +
On December 21 2012 17:19 Morfildur wrote:
On December 21 2012 13:12 tec27 wrote:
On December 21 2012 09:37 waxypants wrote:
Bleh, how to do very language-specific stuff in interviews is dumb unless they can't afford to give you a learning period for some reason. Even so... I forget shit all the time and just Google it, no big deal. And I consider myself a pretty good programmer (better than most of my coworkers...). Although to admit my bias, my languages of choice are C and Python and I hate C++, so I forget a lot of the fancy OOP crap. However if I was forced to program with a highly OOP code-base, I would relearn it pretty quickly. I imagine most good programmers are the same.

Yeah, I think some interviewers lose track of what they're actually looking for. Then again, some jobs simply aren't that challenging so most of the skillset they need is simply knowing what X function is called in Y language. Overall though, I think people asking language trivia in interviews and not trying to evaluate how you think is a sign of a bad company that you don't want to work for.


I agree.
Those interview questions are plain stupid imho, they can be solved in 5s through googling (which even the best programmers do all the time) and they don't actually test how you approach and solve problems.
Any question that asks "What ...?" - like "What is the method name that does X?" or "What is the difference between X and Y?" or "What keyword makes a class uninheritable?" - are generally bad. Questions starting with "How ...?" or "Why ...?" - like "How would you solve problem X?" or "Why would you want to make a class uninheritable?" - are usually the good questions that end up actually revealing how good the programmer that you are interviewing is.

If a company asks you lots of bad questions, you will end up having lots of co-workers that are actually horrible programmers and working there will drain your soul until you are merely an empty shell.

Not if you're hiring someone fresh out of schooling. If they're applying for a position that requires certain skills, they ought to have memorized enough of the basic methods, classes, etc. that they can rattle them off to answer those basic questions. There are plenty of people with degrees who know fuck all about any language, so this is a useful way to weed them out immediately.

The more general questions of "how would you go about solving this problem" is just the next step that tests one's critical thinking crossed with programming knowledge to see their ability to come up with elegant solutions and effective approaches, rather than trying to do "manual" tests for each case.

If you're hiring someone with a years of experience then I imagine you care less about specific methods because you have reason to believe they already are well-versed in that (by virtue of their years of experience) and instead care more about the high level way of going about the problem.

It doesn't hurt to ask both and you definitely want to be thorough if you're going to commit to having someone around for months or years.

Every applicant at my company is interviewed by multiple people from numerous backgrounds on a variety of subjects and since these interviews are often separately conducted (i.e. one immediately after the other) you can get repeat questions and the way the answers differ can be very telling; Consider if in a later interview the applicant has managed to think through the problem and come out with a much better answer. Being nervous in an interview is hardly a new thing and certainly nothing employers haven't seen before, but the ability to improve upon a solution is a useful skill. Incidentally I had 3 back-to-back in-person interviews and 1 or 2 phone interviews.

A far more effective way to gauge someone's skills is to simply ask them to solve a problem in a language of their choosing. By limiting their language choice in the beginning you're weeding out candidates who could be valuable to your company for no real gain, and by letting them choose the language you're still weeding out people who don't know what they're doing. I value my co-workers' critical thinking abilities and would want any new ones to have those same abilities, so valuing memorization of a specific language's mechanics, libraries, naming, etc. is detrimental to my hiring goals.
Can you jam with the console cowboys in cyberspace?
heishe
Profile Blog Joined June 2009
Germany2284 Posts
December 23 2012 08:04 GMT
#4433
On December 22 2012 12:51 tec27 wrote:
Show nested quote +
On December 22 2012 11:40 Craton wrote:
On December 21 2012 17:19 Morfildur wrote:
On December 21 2012 13:12 tec27 wrote:
On December 21 2012 09:37 waxypants wrote:
Bleh, how to do very language-specific stuff in interviews is dumb unless they can't afford to give you a learning period for some reason. Even so... I forget shit all the time and just Google it, no big deal. And I consider myself a pretty good programmer (better than most of my coworkers...). Although to admit my bias, my languages of choice are C and Python and I hate C++, so I forget a lot of the fancy OOP crap. However if I was forced to program with a highly OOP code-base, I would relearn it pretty quickly. I imagine most good programmers are the same.

Yeah, I think some interviewers lose track of what they're actually looking for. Then again, some jobs simply aren't that challenging so most of the skillset they need is simply knowing what X function is called in Y language. Overall though, I think people asking language trivia in interviews and not trying to evaluate how you think is a sign of a bad company that you don't want to work for.


I agree.
Those interview questions are plain stupid imho, they can be solved in 5s through googling (which even the best programmers do all the time) and they don't actually test how you approach and solve problems.
Any question that asks "What ...?" - like "What is the method name that does X?" or "What is the difference between X and Y?" or "What keyword makes a class uninheritable?" - are generally bad. Questions starting with "How ...?" or "Why ...?" - like "How would you solve problem X?" or "Why would you want to make a class uninheritable?" - are usually the good questions that end up actually revealing how good the programmer that you are interviewing is.

If a company asks you lots of bad questions, you will end up having lots of co-workers that are actually horrible programmers and working there will drain your soul until you are merely an empty shell.

Not if you're hiring someone fresh out of schooling. If they're applying for a position that requires certain skills, they ought to have memorized enough of the basic methods, classes, etc. that they can rattle them off to answer those basic questions. There are plenty of people with degrees who know fuck all about any language, so this is a useful way to weed them out immediately.

The more general questions of "how would you go about solving this problem" is just the next step that tests one's critical thinking crossed with programming knowledge to see their ability to come up with elegant solutions and effective approaches, rather than trying to do "manual" tests for each case.

If you're hiring someone with a years of experience then I imagine you care less about specific methods because you have reason to believe they already are well-versed in that (by virtue of their years of experience) and instead care more about the high level way of going about the problem.

It doesn't hurt to ask both and you definitely want to be thorough if you're going to commit to having someone around for months or years.

Every applicant at my company is interviewed by multiple people from numerous backgrounds on a variety of subjects and since these interviews are often separately conducted (i.e. one immediately after the other) you can get repeat questions and the way the answers differ can be very telling; Consider if in a later interview the applicant has managed to think through the problem and come out with a much better answer. Being nervous in an interview is hardly a new thing and certainly nothing employers haven't seen before, but the ability to improve upon a solution is a useful skill. Incidentally I had 3 back-to-back in-person interviews and 1 or 2 phone interviews.

A far more effective way to gauge someone's skills is to simply ask them to solve a problem in a language of their choosing. By limiting their language choice in the beginning you're weeding out candidates who could be valuable to your company for no real gain, and by letting them choose the language you're still weeding out people who don't know what they're doing. I value my co-workers' critical thinking abilities and would want any new ones to have those same abilities, so valuing memorization of a specific language's mechanics, libraries, naming, etc. is detrimental to my hiring goals.


But you can ask the language questions in addition, so that out of two otherwise equally suited candidates you can pick the one with the better language specific skills for your company.
If you value your soul, never look into the eye of a horse. Your soul will forever be lost in the void of the horse.
LunaSea
Profile Joined October 2011
Luxembourg369 Posts
December 26 2012 14:27 GMT
#4434
For people that like programming I just posted this idea on TeamLiquid's "website feedback" section :

--> http://www.teamliquid.net/forum/viewmessage.php?topic_id=390219 !

Voice your opinion ! :D
"Your f*cking wrong, but I respect your opinion" --Day[9]
Craton
Profile Blog Joined December 2009
United States17281 Posts
December 26 2012 17:37 GMT
#4435
R1ch isn't the only one who works on TL, but he also is salaried at their HQ.

You don't necessarily want random devs doing things on a website and TL does not fit the model for an open source project.
twitch.tv/cratonz
LunaSea
Profile Joined October 2011
Luxembourg369 Posts
December 26 2012 19:05 GMT
#4436
On December 27 2012 02:37 Craton wrote:
R1ch isn't the only one who works on TL, but he also is salaried at their HQ.

You don't necessarily want random devs doing things on a website and TL does not fit the model for an open source project.


Yeah I agree with you but those things can be mostly avoided if you organize your team / community well. Read one of my posts on the thread I linked.
"Your f*cking wrong, but I respect your opinion" --Day[9]
Recognizable
Profile Blog Joined December 2011
Netherlands1552 Posts
Last Edited: 2012-12-26 20:24:53
December 26 2012 20:23 GMT
#4437
Damnit... I got bored of Learnpythonthehard way so I tried my hands on Project Euler. The first problem wasn't a problem(^.^) but the second problem I just can't figure out. I´ve been trying for hours to create a Fibonacci series in Python but I keep failing. Atleast I learned the while loop and how to get an element counting backwards from a list.
n = [1,2]
while len(n) < 100:
def function1(x):
z = x[-1] + x[-2]
n.append(z)
print function1(n)


Nothing happens :/
Perscienter
Profile Joined June 2010
957 Posts
Last Edited: 2012-12-26 20:39:17
December 26 2012 20:32 GMT
#4438
On December 27 2012 05:23 Recognizable wrote:
Damnit... I got bored of Learnpythonthehard way so I tried my hands on Project Euler. The first problem wasn't a problem(^.^) but the second problem I just can't figure out. I´ve been trying for hours to create a Fibonacci series in Python but I keep failing. Atleast I learned the while loop and how to get an element counting backwards from a list.
n = [1,2]
while len(n) < 100:
def function1(x):
z = x[-1] + x[-2]
n.append(z)
print function1(n)


Nothing happens :/

That code is awesome. :D

Nothing happens, because you don't call the function, thus it is never applied. The program will be stuck in the while-loop.

And please define functions in advance.

On the other hand, your function is working, I just tested it.

And please don't call functions in a print statement.
Recognizable
Profile Blog Joined December 2011
Netherlands1552 Posts
Last Edited: 2012-12-26 20:41:16
December 26 2012 20:37 GMT
#4439
On December 27 2012 05:32 Perscienter wrote:
Show nested quote +
On December 27 2012 05:23 Recognizable wrote:
Damnit... I got bored of Learnpythonthehard way so I tried my hands on Project Euler. The first problem wasn't a problem(^.^) but the second problem I just can't figure out. I´ve been trying for hours to create a Fibonacci series in Python but I keep failing. Atleast I learned the while loop and how to get an element counting backwards from a list.
n = [1,2]
while len(n) < 100:
def function1(x):
z = x[-1] + x[-2]
n.append(z)
print function1(n)


Nothing happens :/

That code is awesome. :D

Nothing happens, because you don't call the function, thus it is never applied. The program will be stuck in the while-loop.

And please define functions in advance.

On the other hand, your function is working, I just tested it.


Yeah, I just renamed it to "createFibonnaci" sorry for that.
So it works? Still doesn't do anything for me I already thought it was in an infinite loop. However I didn't understand why. I'm quite sure I am calling the function right? with "function1(n)"

And please don't call functions in a print statement.

Ok.
Perscienter
Profile Joined June 2010
957 Posts
Last Edited: 2012-12-26 20:47:04
December 26 2012 20:45 GMT
#4440
Use only lower case characters, underscores and numbers for function names.

A style guide for Python can be found here: http://www.python.org/dev/peps/pep-0008/

It covers many aspects of formatting and how to name stuff.

Calling is not renaming it. You define a function and you can call it. That's applying it. The code, which is included in your function is not applied until you call or apply the function. In your example, it would be done after the while loop, but can't reach the end of it, because n never reaches 100, since you don't call the function inside the while loop.

It will become very clear to you, I have no doubt.
Prev 1 220 221 222 223 224 1032 Next
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
PiGosaur Cup #66
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft454
RuFF_SC2 197
NeuroSwarm 157
PattyMac 16
StarCraft: Brood War
GuemChi 6187
-ZergGirl 79
Larva 58
scan(afreeca) 49
Leta 47
Noble 17
Icarus 5
League of Legends
JimRising 719
Counter-Strike
Stewie2K590
Super Smash Bros
C9.Mang0539
Other Games
summit1g8809
PiGStarcraft177
Maynarde85
Moletrap3
Organizations
Other Games
gamesdonequick1250
BasetradeTV36
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 66
• EnkiAlexander 62
• Berry_CruncH43
• CranKy Ducklings SOOP3
• sooper7s
• Migwel
• LaughNgamezSOOP
• IndyKCrew
• Kozan
• intothetv
• AfreecaTV YouTube
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1009
• Stunt331
Other Games
• Scarra1194
Upcoming Events
The PondCast
5h 58m
OSC
19h 58m
RSL Revival
1d 5h
TriGGeR vs Cure
ByuN vs Rogue
Replay Cast
1d 19h
RSL Revival
2 days
Maru vs MaxPax
BSL
2 days
RSL Revival
3 days
uThermal 2v2 Circuit
3 days
BSL
3 days
Afreeca Starleague
4 days
[ Show More ]
Replay Cast
4 days
Sparkling Tuna Cup
5 days
Liquipedia Results

Completed

Proleague 2026-03-31
WardiTV Winter 2026
NationLESS Cup

Ongoing

BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
CSL Season 20: Qualifier 2
RSL Revival: Season 4
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

Escore Tournament S2: W1
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
StarCraft2 Community Team League 2026 Spring
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 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.