Tell me if you like programming. . .
Pages
Author | Topic: Tell me if you like programming. . . |
---|---|
Warrior
Member # 5091
|
written Wednesday, November 17 2004 08:25
Profile
I'll give you a few examples of how Javascript is useful. On Invision forums, there is a "Fast Reply" feature -- you hit a button, a little form pops out so that you can type a reply. If that was implemented with a roundtrip, it would take longer, especially considering the SQL queries, database connections, etc. GMail is another example. Its speed is already legendary. Why? Because for many operations, it doesn't query the server -- it does things locally with Javascript, only connecting to the server to save its status. Java applets are a messy way to handle things; they're entirely disjoint from the rest of the HTML document. Oh, and OpenOffice isn't written in Java. It has an optional Java VM included, but the application itself is primarily written in C++. If you're not using C++ as an OOP language, you aren't using C++ properly. Same with Python (but less so). As of April 2004, Pew research found that about 55% of adult Internet users have broadband access anywhere and about 40% have it at home. That's a good number, and it's been a few months since then. Even so, a conservative estimate still puts the number of sole broadband users at at least 40%. That is a substantial chunk of the market, and one that from anecdotal evidence I think won't shrink very much. You're getting down to the people who feel that their current dialup expenses are all they wish to pay. And, finally, maybe repeated POST requests are fine for YOU, but the server might think otherwise once you get a substantial user base. When you're getting a million+ pageviews a day, each request shaved off may be a significant drop in your load average and total traffic. Posts: 180 | Registered: Friday, October 15 2004 07:00 |
Warrior
Member # 3698
|
written Wednesday, November 17 2004 12:50
Profile
Homepage
Just for you guys to know. . . The "Java" choice includes Java variants. OK? (JavaScript, etc.) [ Wednesday, November 17, 2004 12:59: Message edited by: Tbg10101 ] -------------------- Hi. Why is the universe so BIG? Why am I human? How come hot dogs come in packages of 10 and buns 8? This will all be solved in time young padawan. Your quest for the ultimate Aztec manuer is coming to a climax. May the force be with you!!! ······························································ This is where I want you to click! Rate me! Ha Ha Check out my GF 1, 2 and 3 Helper! Ceck out some cool Mac OS X Apps that were made by me here! 10101 Software - You can take my iMac when you pry my cold, dead fingers off the wireless mouse! Posts: 179 | Registered: Tuesday, November 18 2003 08:00 |
Shock Trooper
Member # 5181
|
written Friday, November 19 2004 05:54
Profile
Homepage
quote:Whoa. I've used Invision forums for a while, but never saw that. Not bad (awkward if you're used to the other way, but not bad). Show me where I said it wouldn't take longer to do a lot of things. I said that the speed decrease isn't important. I've had broadband for going on five years and have little to no sympathy for 56Kers. :P quote:I haven't checked out GMail much--just got one the other day--but it's not bad. I don't care for the way it works, however; its UI irritates me. quote:But you can do more. It's like BoE versus BoA: BoE/JavaScript are easy and "clean," but not as powerful. quote:Okay, so that's why older versions of OpenOffice throw Java exceptions when using some functions from the program (like, y'know, saving--a bug still unfixed on some computers in more recent releases). quote:OOP is a lousy way to work if you're working alone. It's definitely better practice in projects with other people involved, sure--but I find it's easier to read structured code than OOP and the speed difference that is sometimes offered as a benefit don't seem to exist--either in OpenGL applications or data modification. When I do use OOP, I don't have a reason to super-segment everything. It's one issue I always had with Java--the idea that EVERYTHING should be encapsulated strikes me as wrong. quote:The price of cable and DSL are going down. That market is going to explode. quote:I've had pages max out at about ten thousand a day on an (ugh--this you can't blame me for!) average home computer running as a server on my school's T1. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
...b10010b...
Member # 869
|
written Friday, November 19 2004 12:19
Profile
Homepage
quote:Most of the time is taken in querying servers. Broadband doesn't make that significantly faster. quote:Possibly. The price of dialup is also going down, meaning that a lot of people who previously couldn't afford internet access at all will be taking up dialup. -------------------- My BoE Page Bandwagons are fun! Roots Hunted! Posts: 9973 | Registered: Saturday, March 30 2002 08:00 |
Law Bringer
Member # 2984
|
written Friday, November 19 2004 15:03
Profile
Homepage
Actually, that comparison doesn't work. Any designer (I don't qualify, but I've used both) will tell you that while BoA scripting may require a little more training, it is by far the "cleaner" tool, if by that you mean sensible structure, flexibility and adaptability. Look at a BoE town. You have 50 nodes that are ordered by an invisible, unchanging index, not in the order they call each other. After some editing, each node will call another one in an impenetrable net of references and jumps. How is that "easier" to handle than a BoA script, for anyone except someone designing an Ogre Territory? :P -------------------- The Encyclopaedia Ermariana <-- Now a Wiki! "Polaris leers down from the black vault, winking hideously like an insane watching eye which strives to convey some strange message, yet recalls nothing save that it once had a message to convey." --- HP Lovecraft. "I single Aran out due to his nasty temperament, and his superior intellect." --- SupaNik Posts: 8752 | Registered: Wednesday, May 14 2003 07:00 |
Master
Member # 4614
|
written Friday, November 19 2004 17:10
Profile
Homepage
100 nodes. -------------------- -ben4808 For those who love to spam: CSM Forums RIFQ Posts: 3360 | Registered: Friday, June 25 2004 07:00 |
Shock Trooper
Member # 5181
|
written Friday, November 19 2004 17:38
Profile
Homepage
quote:I dunno--and people STILL want a node editor. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Infiltrator
Member # 154
|
written Sunday, November 21 2004 08:14
Profile
I use '98. There should be QBasic there, too, and you might as well add HTML, XML, ECMAScript and CSS, although they're not exactly scripting or programming languages. -------------------- Inconsistently backward. SWOH. IM, PATF, ND. Posts: 612 | Registered: Saturday, October 13 2001 07:00 |
Warrior
Member # 3698
|
written Sunday, November 21 2004 08:38
Profile
Homepage
In REALBasic you can do XML . . . -------------------- Hi. Why is the universe so BIG? Why am I human? How come hot dogs come in packages of 10 and buns 8? This will all be solved in time young padawan. Your quest for the ultimate Aztec manuer is coming to a climax. May the force be with you!!! ······························································ This is where I want you to click! Rate me! Ha Ha Check out my GF 1, 2 and 3 Helper! Ceck out some cool Mac OS X Apps that were made by me here! 10101 Software - You can take my iMac when you pry my cold, dead fingers off the wireless mouse! Posts: 179 | Registered: Tuesday, November 18 2003 08:00 |
Apprentice
Member # 2509
|
written Sunday, November 21 2004 18:26
Profile
Are there any good online tutorials for programming using a macintosh? I'm on OS X and i really want to be able to write programs. Posts: 9 | Registered: Sunday, January 19 2003 08:00 |
Infiltrator
Member # 154
|
written Monday, November 22 2004 06:28
Profile
quote:Perhaps so, but it's just another statistic. Might as well ask people if they do it. Furthermore, Javascript is scripting, not programming, methinks. quote:How about gmail, for one. Unless I'm much mistaken, gmail uses Javascript libraries to load XML files dynamically from the server, removing the wasted time involved in loading repeated HTML information. I even made an XML powered web-based chatroom a while back; the speed difference was incredible (and that was on localhost). quote:Have you heard of the querystring? quote:I agree with you totally. Why the hell would you pay for a PHP-supporting server if Javascript is free and better? quote:It also manages to be slow as hell on my aged machines. Also, it is overkill to use on webpages, while it may have genuine standalone uses. quote:Perhaps, but the general point of 'easy' scripting is that it has some sort of downside (e.g. performance), raw flexibility (advanced memory handling?), etc. quote:No, that does not make PHP worse than JavaScript. It simply means that by comparison of what you need and how much each one costs (barring the fact that PHP is technically free), you find JavaScript more suitable. That does not make JavaScript globally better than PHP. quote:NO. NO. Java/ECMAScript is COMPLETELY different from Java. Heck, I doubt Java/ECMAScript even IS a Java variant. In fact, JavaScript's real name is ECMAScript - I believe the name was changed due to legal issues or something. JavaScript is just the common term. quote:That's pretty rediculous. JavaScript is generally equatable to the power of BoA scripting (keeping in mind that they were designed for different things). IIRC, programming languages include non-RAD (i.e. not realBASIC) tools that compile to executables. Scripting languages are languages that are RAD tools that compile to executables, or languages that require an interpreter (e.g. PHP). [ Monday, November 22, 2004 06:30: Message edited by: Lemon-Flavoured Oracle ] -------------------- Inconsistently backward. SWOH. IM, PATF, ND. Posts: 612 | Registered: Saturday, October 13 2001 07:00 |
Warrior
Member # 5091
|
written Monday, November 22 2004 08:35
Profile
> Perhaps so, but it's just another statistic. Might as well ask people if they do it.> > Furthermore, Javascript is scripting, not programming, methinks. What's the difference? You can make standalone applications with Javascript; it's just a case of getting the right libraries together. >Have you heard of the querystring? Yes. Let me refactor, then: a POST or a GET. They're both roundtrips. > Perhaps, but the general point of 'easy' > scripting is that it has some sort of downside > (e.g. performance), Really good optimizing JIT compilers for Java are as fast as C++. Sometimes, they're faster. > raw flexibility (advanced memory handling?) You mean pointer arithmetic? Please, it's 2004. Good practice uses as little pointer arithmetic as possible. With today's computers, mucking with unterminated raw data is foolish and atavistic. > NO. NO. Java/ECMAScript is COMPLETELY different > from Java. Heck, I doubt Java/ECMAScript even IS > a Java variant. It isn't. > In fact, JavaScript's real name is ECMAScript - > I believe the name was changed due to legal > issues or something. ECMAscript is the official scripting language of the ECMA standards body, more or less. Javascript is a superset of ECMAscript that includes the DOM and other extra functionality. > JavaScript is just the common term. It was and still is Javascript. > That's pretty rediculous. JavaScript is generally > equatable to the power of BoA scripting (keeping > in mind that they were designed for different > things). Um, Javascript has real string manipulation. It has arrays. It is a complete, capable programming language, and BoA is not. Seriously. As far as languages go, Javascript far outstrips Avernumscript. > IIRC, programming languages include non-RAD > (i.e. not realBASIC) tools that compile to > executables. Scripting languages are languages > that are RAD tools that compile to executables, > or languages that require an interpreter (e.g. > PHP). Wikipedia disagrees and so do I. My definition is that a programming language is a language used to develop standalone applications, while a scripting language is used as an extension language for a pre-existing application. An example is Lua in Baldur's Gate -- that's a scripting language. When used in browsers, Javascript is also a scripting language. When used standalone, it is a programming language. Programming tells the computer what to do; scripting tells an application what to do. Posts: 180 | Registered: Friday, October 15 2004 07:00 |
Shock Trooper
Member # 5181
|
written Monday, November 22 2004 09:27
Profile
Homepage
AUGH! Djur, no agreeing with me. It makes me feel icky. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Off With Their Heads
Member # 4045
|
written Monday, November 22 2004 18:01
Profile
Homepage
quote:Any thoughts on this? I'd like to start teaching myself C or C++, whichever I can manage, over Winter Break, which is coming up in a few weeks. Are there any specific books that anyone recommends (preferably cheap, say $30 or less) or online tutorials that are particularly useful? -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Master
Member # 4614
|
written Monday, November 22 2004 18:21
Profile
Homepage
I kinda like this one for C++. -------------------- -ben4808 For those who love to spam: CSM Forums RIFQ Posts: 3360 | Registered: Friday, June 25 2004 07:00 |
Shock Trooper
Member # 4557
|
written Monday, November 22 2004 18:33
Profile
I've personally never learned much from an online tutorial. I learned C++ primarily through one or two books. After I got the hang of the actual language I learned to use and add on to several libraries. The book I read was entitled "Learn C++ in 24 hours," and it did a very good job of teaching the basics in a short amount of time, although the title is misleading ( and morbidly cheesy ). It took me about two weeks to learn up till and including the full power of inheritance (except maybe multiple inheritance; I can't really remember). The only thing it left out was templating, which I learned through a class, and through screwing around with the STL. Also MSDN can at times be very helpful, once you know a language. Of course, these are just what I use(d). There have to be better resources out there. Posts: 264 | Registered: Wednesday, June 16 2004 07:00 |
Infiltrator
Member # 3040
|
written Monday, November 22 2004 18:35
Profile
I'm currently trying to teach myself Cocoa with Objective-C. Try Cocoadev, it seems very comprehensive. [ Monday, November 22, 2004 18:37: Message edited by: wz. arsenic ] -------------------- 5.0.1.0.0.0.0.1.0... Posts: 508 | Registered: Thursday, May 29 2003 07:00 |
Infiltrator
Member # 154
|
written Tuesday, November 23 2004 06:36
Profile
quote: -------------------- Inconsistently backward. SWOH. IM, PATF, ND. Posts: 612 | Registered: Saturday, October 13 2001 07:00 |
Warrior
Member # 5091
|
written Tuesday, November 23 2004 06:54
Profile
> Why would you want to, though, when there's > something more powerful like C around. "More powerful" has no innate meaning in programming languages. When it comes to raw logic, there's nothing that C can do that Javascript can't. The only thing that makes C more "powerful" is the fact that it's sort of a lingua franca -- most system libraries are written in it. However, most of those libraries can be bound to other languages. When you do that, you can then take advantage of the system-level access of C while garnering the benefits of a high-level, safe language. > Can you hook onto ("take over") other (Win32) applications in Java? > Come to think of it, can you do that in Linux variants. Yes, if a suitable automation system (COM, etc.) is present. Anything C can do, Java can do. Posts: 180 | Registered: Friday, October 15 2004 07:00 |
Infiltrator
Member # 154
|
written Tuesday, November 23 2004 10:37
Profile
If I'm supposed to listen to you, why don't I just do Visual Basic and be done with it. And I don't like Java's filename enforcement. [ Tuesday, November 23, 2004 10:38: Message edited by: Lemon-Flavoured Oracle ] -------------------- Inconsistently backward. SWOH. IM, PATF, ND. Posts: 612 | Registered: Saturday, October 13 2001 07:00 |
Shock Trooper
Member # 5181
|
written Tuesday, November 23 2004 12:45
Profile
Homepage
quote:Start with console programming. I recommend the Eclipse IDE (it may not be on Mac; it is on PC/Linux). Console programming will give you a feel for C++ (start with it, it's easier to work backwards to C in my experience). Then, when you're better at it, you can start in on GUIs. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Shock Trooper
Member # 5181
|
written Tuesday, November 23 2004 12:48
Profile
Homepage
quote:Let's go over this again--anything you can do in Java or C++, I can do in VB/RB (even if it'd make me feel icky to try). VB (and REALbasic, which is basically a cross-platform VB6), despite what you say, is a perfectly good language if you use it for the right things. It makes a lot of sense to use it for simple GUI-driven applications. But since it's not l33t, I'm sure you must automatically hate it. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Warrior
Member # 5091
|
written Tuesday, November 23 2004 13:47
Profile
quote:I don't even like Java. I'm just stating facts. Posts: 180 | Registered: Friday, October 15 2004 07:00 |
Infiltrator
Member # 3040
|
written Tuesday, November 23 2004 19:14
Profile
Anyone looking to learn programming for Mac OS X should definitely check out http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf I'm finding it very useful. -------------------- 5.0.1.0.0.0.0.1.0... Posts: 508 | Registered: Thursday, May 29 2003 07:00 |
Warrior
Member # 3698
|
written Wednesday, November 24 2004 15:28
Profile
Homepage
I dunno, I think that REALBasic is easier. You can make apps just as powerful in RB as in Obj. C. . . -------------------- Hi. Why is the universe so BIG? Why am I human? How come hot dogs come in packages of 10 and buns 8? This will all be solved in time young padawan. Your quest for the ultimate Aztec manuer is coming to a climax. May the force be with you!!! ······························································ This is where I want you to click! Rate me! Ha Ha Check out my GF 1, 2 and 3 Helper! Ceck out some cool Mac OS X Apps that were made by me here! 10101 Software - You can take my iMac when you pry my cold, dead fingers off the wireless mouse! Posts: 179 | Registered: Tuesday, November 18 2003 08:00 |