Staredit Network > Forums > Technology & Computers > Topic: Learning to program
Learning to program
Sep 7 2011, 11:19 pm
By: Jack
Pages: < 1 2 3
 

Sep 10 2011, 12:41 am shmeeps Post #41



Quote from Apos
  • Java was slow in 1995, this is 2011. I have yet to see actual benchmarks done correctly.
  • Java has one of the best documentation. Via Javadoc (Saves lot of time later) and the official documentation. If you can't bother searching, don't bother learning.
  • If something unexpected happens in your program, this can sometimes lead to very big security issues. It is a good practice to have some sort of escape plan (Especial with a program that can be ran on multiple platforms.).
  • Just because there is garbage collection in Java doesn't mean you don't flush and close. On the other side, the Garbage First is pretty amazing.
  • Cross platform is a reason in itself to use a programming language. As time goes by, more and more people use different OS with different hardware. It becomes a programmer's nightmare to be able to provide a program that works for everyone.
  • Java 8?
  • In a command line program, no. Java will run about as fast as a C or C++ program. It's when you start to add in graphical pieces that you see C languages shine, especially C#, since it can do any JIT optimization that Java can do, but it can bring it down to Assembly, if needed. Furthermore, any advanced graphics, such as some form of 3D graphics (DIrectX, OpenGL, which he said he was interested in), will blow Java away in terms of an equivalent implementation. Compare Minecraft's (Java) memory and CPU footprint to even a semi-modern game, and you'll see the difference. My laptop can run HL2 with little difficulty, but can't run any "full-fledged" Java 3D game well at are. Using Minecraft as an example, I can't render past the "very-near" setting without massive lag. Stuff
  • I don't consider a wall of text to be good documentation. Compare Java documentation to the PHP documentation (which is complete with user comments), or even the MSDN documentation for any Visual Studio language. Everything is neatly organized so that you see only what you wish to see, instead of having to crawl through a mile of tables to find what you want.
  • Yes, but it's also good to not make these mistakes in the first place. Learning good fundamentals about security is better than relying on a language to do it for you.
  • Auto garbage collection will never compare to a tailored garbage collector, such as a combination of Smart Pointers and Memory Pools, among the many other advanced techniques unavailable to Java.
  • Cross platform is not a good reason to choose a language, especially performance critical programs. The only exception I would have to this would be an enterprise-level program, however, in this case, an internal program would usually be run on the same system throughout the company. A commercial application is a different story.
  • Java 7*. Typo.




None.

Sep 10 2011, 1:25 am Roy Post #42

An artist's depiction of an Extended Unit Death

Quote from Lanthanide
If you say "do waterfall" to a beginner, they'll get the idea that they need to do some design up front before they start coding, but you should do that no matter what process you're following and that by itself is not "waterfall."
That's kinda why I suggested it. I feel that design is important regardless of the scope of the project, and what someone will take from waterfall is to do design before coding.

If you tell someone to do any methodology, they'll most likely just take the main focuses of it: "XP" will mean pair programming and TDD, "Scrum" will mean sprints and stand-ups, "RAD" will mean use a bunch of auto-generating software, etc. Apparently a lot of businesses that say they are running under a specific methodology really aren't.

Anyway, if you really are interested in involving coding in your profession, you need to understand design. If you're just learning to make fun little programs, it's not as important. On that note, Java dominates the Android market, and Objective-C dominates the iPhone market.




Options
Pages: < 1 2 3
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
[2026-9-23. : 2:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
[2026-9-23. : 2:29 am]
Symmetry -- But can AI beat my custom maps?
[2026-9-22. : 12:32 pm]
Oh_Man -- yea APM vs eAPM
[2026-9-22. : 8:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[2026-9-22. : 8:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
Please log in to shout.


Members Online: Roy, dgdsfsf