|
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 July 29 2014 02:49 falconfan02 wrote: So after two semesters of Java I'm looking to get into android development a bit during the couple weeks I have off. However, I'm not sure what IDE I should be using these projects. I see IntelliJ IDEA often recommended, but I have the most experience in Eclipse, and the new Android Studio looks intriguing as well. What would you guys recommend? Does it really even matter which one I go with?
Android Studio > Eclipse, afaik no company uses IntelliJ in production.
Make sure you use Genymotion (http://www.genymotion.com/) for your emulator because default Android sucks.
|
On July 29 2014 02:56 Blisse wrote:Show nested quote +On July 29 2014 02:49 falconfan02 wrote: So after two semesters of Java I'm looking to get into android development a bit during the couple weeks I have off. However, I'm not sure what IDE I should be using these projects. I see IntelliJ IDEA often recommended, but I have the most experience in Eclipse, and the new Android Studio looks intriguing as well. What would you guys recommend? Does it really even matter which one I go with? Android Studio > Eclipse, afaik no company uses IntelliJ in production. Make sure you use Genymotion (http://www.genymotion.com/) for your emulator because default Android sucks.
If you're comfortable with one IDE, there is nothing wrong with continuing to use it. That said, I've gone through a disgusting number of toolchains, debuggers, and IDE's, and IntelliJ IDEA stands out as one of the easiest to use and learn, and funnest to play around with. I haven't used Android Studio, but its website says it's based off of IntelliJ, so maybe thats the way to go.
If you only have a few weeks though, you'll end up spending it learning a new IDE instead of actually making progress on your android dev project.
|
I am not sure how you guys are working, but I highy doubt he will use weeks to learn an IDE... What he does will be coding, and that never includes learning every tiny bit of functionality packed into the IDE. I mean he may if he finds this should be his focus, but for now he'll probably need 1 day to get the basics going and be good with it for what he will be doing.
|
On July 29 2014 03:55 Dekker wrote: I am not sure how you guys are working, but I highy doubt he will use weeks to learn an IDE... What he does will be coding, and that never includes learning every tiny bit of functionality packed into the IDE. I mean he may if he finds this should be his focus, but for now he'll probably need 1 day to get the basics going and be good with it for what he will be doing.
Actually, if he's been using one IDE and switches to the other one he may accidentally fuck up his project by doing things the way he is used to. It's not so much "learning a new IDE" as much as "un-learning the old one". Even now I often write ":wq" in NetBeans out of habit, or mess things up by using "shift + down/left/right-arrow" (creating new and switching between tabs in urxvt). Also, while it may not be hard to learn the basics, it might take a while to check how the IDE refactors code (if you want to change variable name and all references to it across the project for example).
On July 29 2014 02:10 Nesserev wrote:Show nested quote +On July 28 2014 23:18 darkness wrote:Thanks for recommending the Clean Code book to me in the past. It's really worth reading it.  If there are more "must read" books, please let me know. I also plan to read Code Complete in the future. Well, every language has its own 'Bibles' so to speak, for example, C++ has a lot of them: 'The C++ Programming Language' by Stroustrup 'Effective C++', 'More Effective C++', 'Effective STL' by Scott Meyers ... But specific topics also have their own bibles: Networks: Tanenbaum, ... Compilers: Dragon book, ... ... I guess you could say that Clean Code and Code Complete are the 'Bibles' on the topic of coding. You should see if there's a 'Bible' that is seen by the community as the standard reference for a topic. Sorry, I can't give any more recommendations... not fully awake yet... need to sleep more...
+1 on Clean Code and Code Complete. I'd also add Elements of Programming Style by Kernighan and Plauger and Design Patterns: Elements of Reusable Object-Oriented Software by Gamma, Helm, Johnson and Vlissides to the list.
|
On July 29 2014 02:49 falconfan02 wrote: So after two semesters of Java I'm looking to get into android development a bit during the couple weeks I have off. However, I'm not sure what IDE I should be using these projects. I see IntelliJ IDEA often recommended, but I have the most experience in Eclipse, and the new Android Studio looks intriguing as well. What would you guys recommend? Does it really even matter which one I go with? Eclipse is the largest supported IDE for Android development, there are a lot of tools for it from google and independent developers and open source projects.
I'd recommend starting with Eclipse, and then once you get to know your way around the various tools and hit the paint points with them you will know what to google for and can see if there are packages for other IDEs you would like to have.
|
Didn't google move from Eclipse to IntelliJ IDEA?
|
On July 29 2014 05:31 Zocat wrote: Didn't google move from Eclipse to IntelliJ IDEA?
Google partnered with JetBrains who makes IntelliJ products and released Android Studio.
|
On July 29 2014 05:42 Blisse wrote:Show nested quote +On July 29 2014 05:31 Zocat wrote: Didn't google move from Eclipse to IntelliJ IDEA? Google partnered with JetBrains who makes IntelliJ products and released Android Studio.
Android Studio is definitely the future, but it is still in beta. The new gradle build system is in effect as well. Hearing it from people at the Android Developer Conference, if you already have invested stake in ADT (Eclipse) then it makes sense to stay with it. If you don't, then it's probably best to try out Android Studio because that's where things are moving.
|
^for android maybe yea, I dunno.
On July 29 2014 05:31 Zocat wrote: Didn't google move from Eclipse to IntelliJ IDEA? For the rest of google, Eclipse is very much alive and kicking, to the extent that eclipse can be alive and kicking on that scale of codebase. Definitely still more popular than intellij.
At some point between the greyscreens and inability to keep up with ram reqs, eclipse starts failing.
|
Really appreciate all the advice guys. I don't think my knowledge and experience in eclipse is thorough enough to warrant sticking with it no matter what, and even though I'm sure it's a viable option, I think I'm gonna go with Android Studio. After doing some more reading I agree with berated, it does seem like Google is pushing things in its direction, so I might as well go ahead and start learning now. Glad I found this thread, I'll check back in once whatever little project I decide to do starts moving along.
|
On July 29 2014 12:01 phar wrote:^for android maybe yea, I dunno. Show nested quote +On July 29 2014 05:31 Zocat wrote: Didn't google move from Eclipse to IntelliJ IDEA? For the rest of google, Eclipse is very much alive and kicking, to the extent that eclipse can be alive and kicking on that scale of codebase. Definitely still more popular than intellij. At some point between the greyscreens and inability to keep up with ram reqs, eclipse starts failing.
I thought the question was only for android dev. I guess you are talking about non-android dev when you say for the rest of google?
How big are the projects you are building to get grey screening? Or is it just pure number of projects? I get a lot of flack from my colleagues, but I'm still on indigo for my dev. Combined with relentlessly closing projects that I'm not using, my eclipse runs really well.
As a tangent, I did think it was pretty comical that a couple months ago all of our maven builds started taking a lot longer, and every dev just chalked it up to eclipse and maven being slow. Turns out some bit9 security software was adding overhead on every new file made during compilation... ops vs dev struggle... it's real.
|
On July 29 2014 18:33 berated- wrote:Show nested quote +On July 29 2014 12:01 phar wrote:^for android maybe yea, I dunno. On July 29 2014 05:31 Zocat wrote: Didn't google move from Eclipse to IntelliJ IDEA? For the rest of google, Eclipse is very much alive and kicking, to the extent that eclipse can be alive and kicking on that scale of codebase. Definitely still more popular than intellij. At some point between the greyscreens and inability to keep up with ram reqs, eclipse starts failing. I thought the question was only for android dev. I guess you are talking about non-android dev when you say for the rest of google? How big are the projects you are building to get grey screening? Or is it just pure number of projects? I get a lot of flack from my colleagues, but I'm still on indigo for my dev. Combined with relentlessly closing projects that I'm not using, my eclipse runs really well. As a tangent, I did think it was pretty comical that a couple months ago all of our maven builds started taking a lot longer, and every dev just chalked it up to eclipse and maven being slow. Turns out some bit9 security software was adding overhead on every new file made during compilation... ops vs dev struggle... it's real.
I think it's less a problem with large projects and moreso that Eclipse just consumes an ungodly amount of resources so that people without amazingly high-end computers just have Eclipse freeze up and lag all the time. At least that was my experience. I've been okay using Eclipse on my gaming computer but my mid-tier laptop had no chance. I've had really large projects (2 minute compile) on mid-low end computers make life not fun at all. That's not a good combination and it's easy to see why people hate using Eclipse. It's a fault on both sides though a lot of times.
|
On July 29 2014 18:33 berated- wrote: How big are the projects you are building to get grey screening? Or is it just pure number of projects? I get a lot of flack from my colleagues, but I'm still on indigo for my dev. Combined with relentlessly closing projects that I'm not using, my eclipse runs really well.
Pretty damn big. We don't really compile too much code on local boxes because that would take too long (you can see talks on Blaze, it's pretty cool). But eclipse is still too much of a resource hog, and basic things like auto complete / intellisense stuff will cause it to grayscreen for inordinate amounts of time. At that point vim & cloud tools are the only option.
I think visualstudio would do better, but it would probably still get hosed at some point.
|
How should I start to learn functional programming? ATM I know nothing about it, and lambda for me is just a letter of alphabet.
I have working experience with C and C++, plus some minimal familiarity with ActionScript 3 and Python (but I never used their "functional part" - at least not knowingly).
I don't really care about any specific language, I just want to learn the paradigm and how/when to use it. Any book recommendations? Tips? Good starting language?
Thanks.
|
Java question.
Does anyone know if JTextField can listen to an event when the user stops typing? I've tried DocumentListener out but its event is triggered after a single character is added/deleted. I'm trying to get a double number from a text field, and parsing is kind of ridiculous if the event is after one character change.
Edit: JSpinner is a good solution.
|
any unity devs in this thread? i've been doing game development in C/C++ and AS3 (with PHP backend) but i'd like to learn unity and not sure how to start. i've just heard good things about it, especially for rapid prototyping of games, and apparently some upcoming native support for networking (which would be great for me because that is a weak area of mine), but i'm not sure how the licensing works and how good its cross-platform functionality is in actual practice.
|
On August 01 2014 01:47 dehydrogenaza wrote: How should I start to learn functional programming? ATM I know nothing about it, and lambda for me is just a letter of alphabet.
I have working experience with C and C++, plus some minimal familiarity with ActionScript 3 and Python (but I never used their "functional part" - at least not knowingly).
I don't really care about any specific language, I just want to learn the paradigm and how/when to use it. Any book recommendations? Tips? Good starting language?
Thanks. Haskell is the functional programming language. Real World Haskell is a good book that is available online for free. If I were you, that's where I would start (but that's probably because I fell in love with Haskell, after reading about it in this thread). However, Haskell has many concepts that are difficult to grasp, especially if you're unfamiliar with functional programming. You could start with a language from the ML family, like OCaml, which will teach you the concepts of functional programming, and has a syntax very similar to Haskell, but doesn't force on you things like purity, type classes, monadic IO, etc. I don't know of any good resources for these languages, but I guess Google could help here.
|
On August 01 2014 07:45 delHospital wrote:Show nested quote +On August 01 2014 01:47 dehydrogenaza wrote: How should I start to learn functional programming? ATM I know nothing about it, and lambda for me is just a letter of alphabet.
I have working experience with C and C++, plus some minimal familiarity with ActionScript 3 and Python (but I never used their "functional part" - at least not knowingly).
I don't really care about any specific language, I just want to learn the paradigm and how/when to use it. Any book recommendations? Tips? Good starting language?
Thanks. Haskell is the functional programming language. Real World Haskell is a good book that is available online for free. If I were you, that's where I would start (but that's probably because I fell in love with Haskell, after reading about it in this thread). However, Haskell has many concepts that are difficult to grasp, especially if you're unfamiliar with functional programming. You could start with a language from the ML family, like OCaml, which will teach you the concepts of functional programming, and has a syntax very similar to Haskell, but doesn't force on you things like purity, type classes, monadic IO, etc. I don't know of any good resources for these languages, but I guess Google could help here. Well, I'm not sure why you say Haskell is the functional programming language, as OCaml and Haskell have probably as many users in industry as each other. I wouldn't recommand RWH to start with for Haskell, but LYAH. Anyway, there is Real World OCaml for OCaml.
|
On August 01 2014 07:45 delHospital wrote:Show nested quote +On August 01 2014 01:47 dehydrogenaza wrote: How should I start to learn functional programming? ATM I know nothing about it, and lambda for me is just a letter of alphabet.
I have working experience with C and C++, plus some minimal familiarity with ActionScript 3 and Python (but I never used their "functional part" - at least not knowingly).
I don't really care about any specific language, I just want to learn the paradigm and how/when to use it. Any book recommendations? Tips? Good starting language?
Thanks. Haskell is the functional programming language. Real World Haskell is a good book that is available online for free. If I were you, that's where I would start (but that's probably because I fell in love with Haskell, after reading about it in this thread). However, Haskell has many concepts that are difficult to grasp, especially if you're unfamiliar with functional programming. You could start with a language from the ML family, like OCaml, which will teach you the concepts of functional programming, and has a syntax very similar to Haskell, but doesn't force on you things like purity, type classes, monadic IO, etc. I don't know of any good resources for these languages, but I guess Google could help here. Another great, free haskell resource is Learn You A Haskell For Great Good. I used it exclusively to learn the language for a high level languages class. It was much better than most other resources I've found. The author doesn't overcomplicate functional programming, something a lot of other authors are guilty of.
Functional programming is not all that difficult, but it can be made obscenely confusing if not taught well. My high level languages prof was certainly guilty of doing so, as are a couple of other books I've read on functional programming and functional languages.
|
On August 01 2014 08:40 Liebig wrote:Show nested quote +On August 01 2014 07:45 delHospital wrote:On August 01 2014 01:47 dehydrogenaza wrote: How should I start to learn functional programming? ATM I know nothing about it, and lambda for me is just a letter of alphabet.
I have working experience with C and C++, plus some minimal familiarity with ActionScript 3 and Python (but I never used their "functional part" - at least not knowingly).
I don't really care about any specific language, I just want to learn the paradigm and how/when to use it. Any book recommendations? Tips? Good starting language?
Thanks. Haskell is the functional programming language. Real World Haskell is a good book that is available online for free. If I were you, that's where I would start (but that's probably because I fell in love with Haskell, after reading about it in this thread). However, Haskell has many concepts that are difficult to grasp, especially if you're unfamiliar with functional programming. You could start with a language from the ML family, like OCaml, which will teach you the concepts of functional programming, and has a syntax very similar to Haskell, but doesn't force on you things like purity, type classes, monadic IO, etc. I don't know of any good resources for these languages, but I guess Google could help here. Well, I'm not sure why you say Haskell is the functional programming language, as OCaml and Haskell have probably as many users in industry as each other. I wouldn't recommand RWH to start with for Haskell, but LYAH. Anyway, there is Real World OCaml for OCaml. Erlang might be used in the industry even more, but Haskell is "the most functional" of them all. Type classes, monads, features from many GHC extensions (e.g. arrows) -- these things weren't even borrowed from anywhere, they were all first implemented for Haskell. Even if you don't consider these things to have much to do with the functional programming paradigm itself, you can ask yourself a simple question: how many other languages are purely functional? There's not many languages as dedicated to functional programming as Haskell, and those few do not enjoy anywhere near its level of popularity.
Obviously you don't have to agree with my "Haskell is the functional programming language", but that's what I meant when I wrote that.
And I agree, LYaHfGG is also a good start, forgot about that.
|
|
|
|
|
|