Jump to content

tbc

Member
  • Posts

    469
  • Joined

  • Last visited

Posts posted by tbc

  1.  

    C# is a higher level language than C++. It is NOT native, it uses the CLR therefore it is slower. Think of the CLR as being somewhat similar to the JVM. C# also has allot of "syntactic sugar", i.e. you can be more eloquent than you can in C++ - this can make it easier to make performance mistakes! A reason I suggest people start with a lower level language first, i.e. C++.

    .

     

     

    most of your post is correct, but this part is dead wrong.

     

    the single worst performance mistake a beginner can make is to write their own sorting algorithm rather then using the standard library

     

    the second worst performance issue is causing memory leaks.

     

     

    it's effectively impossible to cause a memory leak in c#.  in c++, even the most experienced c++ devs mess up a pointer or two.

     

    a beginner simply won't know enough to take advantage of c++'s lowlevel features and will cause more damage than good if they try to.

  2.  do NOT try to learn to make windows desktop programs in c++.

     

    you will have to deal with the win32 api, one of the hardest things in programming.

     

    you wouldn't be asking for advice here if you were ready for that beast.

  3. okay.....let's start this from the beginning.

     

     

    what is the simplest language to get a GUI hello world running in?

     

    the champ is undeniably html/css/JS/jQuery

     

    why?

     

    no compiling.  no GUI framework with complex element initialization

     

    they should NOT have to worry about visuals because all GUI generation code is unique to each language.  they should spend their time learning cross-language stuff (programming concepts ala foreach loops),  no platform can beat the web platform in this objective.

  4. I recommend trying Unity to start as a game maker,  it uses C#. 

    You don't make the game using programming language, but using a Game developing engine (like Unity, for example)

    This engines are made and can be modified, using a programming language, some of this are C, C++, C#, Java, etc. This are all high level languages which have their different pros and cons.

    You are being inaccurate with what do you think the languages are used for, C is a very old language, successor to B. C++ is a different language which can be considered a C extended version. Java came in later, as a C /C++ derivative, with a couple of differences.

    The main point, is that all these languages, are multi-purpose object oriented.

    To understand programming, start learning a language, using C as an starting point is always good, but to develop games, you need an engine, Unity is a good start :)

     

    C is NOT a high-level language.  it is actually the most low level language in common use today (besides assembly which is never really used in common practical applcations),

     

    C is NOT object-oriented.

     

    C is the worst language to learn without a dedicated mentor.  it is incredibly easy to screw up the most simplest thing.  a beginner shouldn't be spending time doing memory management.  that is only important when you're working professionally and need to optimize your product.

  5. I don't like the Sivlerstone SATA cables. You could also just use regular right angled ones i guess...? 

     

    NOT when you have one right behind the other.  one port will be fine, but that port will block the other one.

     

     

     

     

    also, what is that red coiled cable next to the silverstone one?  did you talk about it?  or is it just a regular cable you coiled?

  6. If you understand what you are copy pasting then yes it is fine, but that means you are not really learning anything new. If you copy paste something and have no idea how it works or why it works then there is 0 learning involved. If you research the modules you need to make something work, then put everything together in your own code (aka in your own words) then you learn a lot more. The main point is understand the code you are writing, and python is much easier for a starting language because of all it's similarities to the english language.

     

     

    cp is a replacement for typing when dealing with boilerplate code(a loop is boilerplate).  there is only one difference between them: typing takes longer.

     

    they have the exact same amount of learning potential: 0.

     

    you are not a better programmer because you memorized how to type a loop.

     

    how on earth can someone disagree with what i just said?

  7. You do not learn anything from copy pasting. If you check out all the different python tutorials on the internet, it is a step by step process to help people learn one step at a time. Have you gone to school? Do you learn everything in school from copy pasting stuff from wikipedia and handing that in to the teacher? Obvioisuly not.

     

    what on earth did you just say?.....

     

    the act of typing teaches nothing.

     

    it's the act of changing variables that makes you learn.  eg making a loop run 20 times instead of 10.

     

     

    memorizing syntax is the only reason for shorter syntax when learning.

     

    memorizing syntax is an alternative to copy/pasting.  like you JUST said, copypasta is NOT learning.

     

     

    i've done lab TA duties before,  trust me, everyone copy/pastes and there is nothing wrong with that for the above reasons.

  8. Dont listen to him lol ^^^

     

    Here is an example of how much more confusing javasript is over python. These two pieces of code do the same thing, list the numbers from 0 to 9. Which one looks easier to you?

     

     

    Javascript:

     

    function foo() {

        for (var i=0; i<10; i++) {

            console.log(i);

        }

    }

     

     

    Python:

     

    def foo():

        for i in range(10):

            print i

     

     

    Plus the python community has a ton of documentation for the language, and there are thousands of people who can help you if you have a problem.

     

     

    ctrl+c

    ctrl+v

     

    someone can post the equivalents in os x and linux.

     

     

    let's be frankly honest, your point isn't valid.  a beginner spends almost all of their time copying, not making original material.

  9. Yes I'm trolling on the internet, I think I've got bigger fish to fry than sit here and attempt to get a rise out of people. Don't try and pull the righteous card on me buddy. You have your opinion on the issue and I have mine. I haven't shown you any disrespect regarding yours and I expect you to show the same level of maturity and respect for me. If you cannot do that than don't comment because It means nothing to me if you cannot give it in a appropriate manner.

     

    derp...and not on my part either.

     

    but you realized your post was calling people out on the internet?

     

    it was almost literally: "come and get some"

     

     

    but let's be honest.  i'm just curious if you're sociopathic because that affects the arguments that you're more likely to be interested in.

  10. Why are so many people blaming the parenting of the children? Parenting doesn't teach everything for a child. I think many of the people on this site have gone against something their parents said or taught them, or they have at least bent their parents rules. The child's temperament also goes into play as well as other in the moment, biological and social factors.

     

    your biology is a result of your parents.

     

    your temperament is part genetics (your parents) and your anger management is based on the amount of authority and training during your fundamental years (0-4) and again from ~8 - ~14

     

    of course, social factors play a part, but the counterpoint to that is: "why doesn't everyone else do it?"

  11. I used to be really arrogant about child behavour when I had no children. I would say to my self " control your damn kids" as another persons children either tore up my house or the store I was in. The day my boys where born, I learned patience. I would get so angry when my boys would not stop crying when they where 2-3 month old, at the time it drove me wild. It wasn't till this time that keeping a set routine and the simple things, made life easier for them, and made them happier.

     

    As they got older, they stared getting into things, child proofing the house was more important than ever. Now they are at the age where they need boundaires set and atheard to. I know in myself that I can not smack my children when I'm angry. I can't do it.

     

    Sorry but that u tube video is total crap. I don't to hear what 93% of other children are doing. Frankly I don't care. All the studies in the world can not prepare you for being a parent. They can't each you how to react to day to day stuff, and what you should do. One day your turn will come. You'll see. No parrent wants to smack their child, but they do. I would rather smack my child for running around the house, then have them in hospital needing stiches or worse from hitting corners of walls, tables etc. There are thouands of examples, and I won't list them all.

     

    Substance abuse?? really?? peer presure is the most common cause of that. I know. I've been there and out the other side. And I'm still helping others out of it. Thats a long road for stupid choice that each person makes.

     

    I know I'm doing the right thing when I get home from work, and my kids come running up to me screaming "DADDY!!!" and won't let go of me for a good 15-20 mins. Its kinda hard to walk round the house with a kids on each leg!!

     

     

    i'm just curious...when was the first time you were responsible for a toddler/baby.  at a minimum, changing diapers and bottle feeding.

  12. So, wheres all the ones saying...."video games never affect kids behavior" Funny how they all crawl under a rock when the facts come out.

     

    video games don't affect kids' behaviors.

     

    lazy parents who don't take care of their kids because they have people who give them excuses when they are found out DO affect childrens' behavior.

     

    people like you CREATE lazy parents because you give them an easy excuse.

     

    looks like you're the cause of violent child behavior.  go figure.

     

     

    but seriously...what the fuck is wrong with you?  someone almost dies and you go trolling on the internet?

     

     

     

    Has anyone ever considered how the military trains it's troops? They use the tool of media in training their troops for combat. They use simulators and military computer games to train. Now tell me what the difference between someone playing a game under the supervision of the military as opposed to someone playing the same genre of games, but in a private household. Given there are many aspects that go into training troops, not just simulators, but at the moment this discussion is about simulated combat....which is what a video game is. Now the troops that are trained perhaps don't start out with any inclination to kill, but through training both simulated and plactical they are become different people with different capabilities. The only difference is that they are aware of it, it isn't subtle.

     

    military uses REAL guns and it actively encourages it's soldiers to ignore earlier learned behaviors about restraining aggression (these behaviors cause hesitation and that gets solders + the rest of the squad killed/injured)

    the military uses simulations because:

    - soldiers can EFFECTIVELY (predicated on a good simulator of course) learn team tactics in a completely injury free environment

    - trainees requiring additional 'fitness training' can participate in squad training before completing the additional physical training (this is EXCEPTIONALLY important in expanding the base of candidates)

    - instructors/trainers can perform individual/group evaluations from abroad

    - injured soldiers can (at reduced effectiveness most likely) can perform their assigned role and not delay training for the rest of the fire team/squad

    - it is MUCH easier to use a computer to simulate a layout rather than building the 'target building' physically (obviously they will have a real course eventually, but they can get access to the VR version much earlier)

     

    the military doesn't use games to encourage aggression; that's what trainers, patriotism, and propaganda are for.  it uses VR for the purpose of overcoming PHYSICAL limitations, not psychological ones.

     

    as well, solders aren't training exclusively in simulators.  whereas, children don't ever have a 'live ammunition' component to their BF4 game.

     

     

    there is no concrete comparison between a soldier in a VR environment* and someone on their xbox/PC.

     

    *yes, we're not quite ubiquitous on VR equipment and soldiers have historically used controllers.  but they have NEVER ONLY trained on an xbox.

  13.  

    Just out of curiosity why do you hate python? It is a slow language, but it is great for a first language, it is so easy to learn (and very simple).

     

    syntax failure upon incorrect indentation.

     

    that means if someone's source control or editor modifies whitespacing.  it will break.  obviously the problem is fixable, but its an artificial problem that shouldn't be have been made in the first place.  as far as i know, it's the only modern language that requires proper indentation for scoping.

     

     

    errors (which will ALWAYS happen) that you can see are far preferable to others that you can't

  14. dear gawd python is a horrible language....

     

    but ya, general rule: 50% of your program will be checking the user's input

    seriously. don't take it literally, just be aware that user input is a huge component of all non-trivial programs.

     

    the next 'assignment' is to make the calculator accept the 'exit' string to close the program.  this tests the student in a few ways:

     

    1.  change the initial input variable to something more generic (like a string) rather than hard coding it to a numeric type

    2.  converting data from one type to another

    3.  teaches the student to not use infinite loops

  15. no, i'm talking about how IE by default always tries to stop scripts from running.  i mean....if i go to a site, i kinda want it to actually do stuff for me.

     

    firefox running scripts is a good thing because the browser is doing what it's supposed to do: making sites work.

     

     

    firefox's true strength is in it's customizability because it's IMPOSSIBLE for a single layout to appease everyone.

×