|
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. |
On January 27 2015 12:30 phar wrote: Also bear in mind that Google doesn't really do Haskell, so might not be relevant (could leave on, but don't expect to do an interview in Haskell).
Not sure if I'm wrong here:
What might be interesting about mentioning Haskell is that it could say something about the person's C++ skills. There's being able to use C++, and then there's the kind of scary C++ that's going inside the code of for example Boost. The way you have to think while doing that C++ meta-programming and while writing Haskell might be related?
|
I dunno, my C++ skills are not good.
If you read the Google C++ style guide, there is indication that while what you say may be generally true of Haskell & C++ programming, it might not be true for C++ at Google:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Boost
Specifically in the 'Cons' section:
Cons:
Some Boost libraries encourage coding practices which can hamper readability, such as metaprogramming and other advanced template techniques, and an excessively "functional" style of programming.
But, again, my C++ is rusty as hell, so I don't really know.
|
|
|
|
I'm proficient in none of them rofl
|
On January 28 2015 01:31 Liebig wrote:I'm proficient in none of them rofl Hmm, what do you program in? To me this list and the article didn't come as much of a surprise at all so that's why I was wondering why Manit0u found it interesting. Glad Scala is gaining ground, but it's still far from being mainstream. It's so powerful though, holy shit, you can't go back to Java after tasting t3h Scala...
|
On January 28 2015 01:43 ZenithM wrote:Hmm, what do you program in? To me this list and the article didn't come as much of a surprise at all so that's why I was wondering why Manit0u found it interesting. Glad Scala is gaining ground, but it's still far from being mainstream. It's so powerful though, holy shit, you can't go back to Java after tasting t3h Scala... Mainly OCaml and Coq.
|
On January 28 2015 02:37 Liebig wrote:Show nested quote +On January 28 2015 01:43 ZenithM wrote:On January 28 2015 01:31 Liebig wrote:I'm proficient in none of them rofl Hmm, what do you program in? To me this list and the article didn't come as much of a surprise at all so that's why I was wondering why Manit0u found it interesting. Glad Scala is gaining ground, but it's still far from being mainstream. It's so powerful though, holy shit, you can't go back to Java after tasting t3h Scala... Mainly OCaml and Coq. Haha nice. "Cocorico!" as they say. You're probably from a similar educational background as mine ;D. I can't really picture someone dabbling in Coq in their free time, it's not something "natural" to stumble upon.
|
Welp, good choices studying Java, Javascript (+css/html ofc), and PHP. I guess.
|
On January 28 2015 02:51 Faust852 wrote: Welp, good choices studying Java, Javascript (+css/html ofc), and PHP. I guess.
Java is poorly supported compared to C#, but it's my first language, so it helps to learn e.g. C#/C++.
|
It would be interesting to see how much that list has changed since it was posted a year ago.
|
On January 28 2015 01:43 ZenithM wrote:Glad Scala is gaining ground, but it's still far from being mainstream. It's so powerful though, holy shit, you can't go back to Java after tasting t3h Scala... I used Scala for an AI assignment recently. You're definitely right. Even in cases where I basically treated it like Java, it still was way clearer to read and more pleasant to use. You can do the same thing with so much less code. I definitely can see myself using it way more in the future.
On January 28 2015 02:51 ZenithM wrote:Show nested quote +On January 28 2015 02:37 Liebig wrote:On January 28 2015 01:43 ZenithM wrote:On January 28 2015 01:31 Liebig wrote:I'm proficient in none of them rofl Hmm, what do you program in? To me this list and the article didn't come as much of a surprise at all so that's why I was wondering why Manit0u found it interesting. Glad Scala is gaining ground, but it's still far from being mainstream. It's so powerful though, holy shit, you can't go back to Java after tasting t3h Scala... Mainly OCaml and Coq. Haha nice. "Cocorico!" as they say. You're probably from a similar educational background as mine ;D. I can't really picture someone dabbling in Coq in their free time, it's not something "natural" to stumble upon. Yeah, it isn't exactly what I'd call a super fun language/system for people just mess with due to the kinda constrained nature of it. However, I did actually like it a lot when I used it in a class. It was puzzle-like in nature and that made it interesting and in a weird way kinda fun.
|
On January 28 2015 02:51 ZenithM wrote:Show nested quote +On January 28 2015 02:37 Liebig wrote:On January 28 2015 01:43 ZenithM wrote:On January 28 2015 01:31 Liebig wrote:I'm proficient in none of them rofl Hmm, what do you program in? To me this list and the article didn't come as much of a surprise at all so that's why I was wondering why Manit0u found it interesting. Glad Scala is gaining ground, but it's still far from being mainstream. It's so powerful though, holy shit, you can't go back to Java after tasting t3h Scala... Mainly OCaml and Coq. Haha nice. "Cocorico!" as they say. You're probably from a similar educational background as mine ;D. I can't really picture someone dabbling in Coq in their free time, it's not something "natural" to stumble upon. I did prépa + ENS :o I'm probably going to start a phd related to Coq in a year or so, but yeah, prolly few people will ever play with Coq without some academic background But I find it kinda like a game where a theorem is your enemy and you try to kill it by proving it with tactics and such :o
On the other hand, I have obviously touched mainstream languages like C, Java and such during my undergrads, but never used them again since then and I hope I never will :o
|
Opinions on this?
if (++i > 10) {...
versus
i += 1; if (i > 10) {...
some guys on ocn can't understand why the second one is better code...
|
The first one hurts my soul. It feels like two completely different things are being mixed when they shouldn't be.
|
First one is "clever" code. It's bad.
I even dislike this version:
++i; if(i > 10) { ...
|
btw is there a difference between ++i and i++?
|
On January 28 2015 07:13 solidbebe wrote: btw is there a difference between ++i and i++?
++i updates i, then does whatever, while i++ does whatever, then updates i
i = 9
++i == 9 is FALSE, because i incremented before checking the equality i++ == 9 is TRUE, because the original value was used in the equality before getting incremented
in both instances i is 10 after the increment
|
ahh thanks for the explanation
|
|
|
|