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.
[11:31 pm]
Vrael -- :wob:
[08:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
Please log in to shout.


Members Online: Vrael, Loges