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.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Wing Zero