This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 »
423
Java has loads of extra stuff, too.
I don't understand why having the ability to do stuff is worse than having too much that is forcibly included.
In C++, I can code terribly and make a class for every group of functions, but it's not forced. In Java, you're forced to.
In C++, I can create a base object class that all other classes inherit, but I don't have to. In Java, it's done automatically, whether or not that you need it.
I don't understand why having the ability to do stuff is worse than having too much that is forcibly included.
In C++, I can code terribly and make a class for every group of functions, but it's not forced. In Java, you're forced to.
In C++, I can create a base object class that all other classes inherit, but I don't have to. In Java, it's done automatically, whether or not that you need it.
424
Announcements / Re: Tentative Todo
« on: June 03, 2010, 03:43:07 pm »
Also, as a completely random thought: the number of points on the circle should be settable in points per pixel, not 0-64. Unless that's how it's already done.
425
Proposals / Re: Recursion
« on: June 03, 2010, 02:58:26 pm »I believe that the definiton of "infinite" implies "never ending"unless it's intended like many parts of a kernel or a device driver.that is the programmer's fault and they are an idiot if that happens...like if it's in an infinite loop.No, most compiler writers just think that disallowing void main() is stupid.Meaning that the program never fails ever
426
C++ can be used exactly like Java. Object can be used to access any type, which can be coded in C. It's just that C doesn't force you to use it. Same thing with length and jagged arrays and other random, useless features that Java has. You can do them in C++, but they're not forced.
How is C++ bloated? It's "more bloated" than C, yes, but Java is far more bloated than either. I don't quite understand your logic, here.
"Bloated" would mean "has more features than reasonable" in my opinion, and as far as Java goes, a lot more features are default than necessary. Yes, it has several extra, useful functions that aren't in the C++ standard libraries, but the default functions that Java automatically uses are way too much.
How is C++ bloated? It's "more bloated" than C, yes, but Java is far more bloated than either. I don't quite understand your logic, here.
"Bloated" would mean "has more features than reasonable" in my opinion, and as far as Java goes, a lot more features are default than necessary. Yes, it has several extra, useful functions that aren't in the C++ standard libraries, but the default functions that Java automatically uses are way too much.
427
Announcements / Re: Tentative Todo
« on: June 03, 2010, 02:35:16 pm »
But a parabolic curve isn't the same as a circular curve. :/
428
Proposals / Re: Recursion
« on: June 02, 2010, 08:15:28 pm »that is the programmer's fault and they are an idiot if that happens...like if it's in an infinite loop.No, most compiler writers just think that disallowing void main() is stupid.Meaning that the program never fails ever
429
Yes, they're both useful. No, they're not simple.What's not simple about them? The pointer is where the variable is in memory. The reference is that variable, not its value. Yeah, there are a few operators to convert between them that don't make much sense, but you can still learn what they do.
430
Proposals / Re: Recursion
« on: June 02, 2010, 06:02:39 pm »No, most compiler writers just think that disallowing void main() is stupid.Meaning that the program never fails ever
432
Announcements / Re: Graduation
« on: May 31, 2010, 10:24:19 am »
Please don't specify the packages using Ubuntu's annoying names.
Dependencies:
gcc, gcc-libs (also g++ if it's separate, which it isn't in every distribution in the entire universe except ubuntu)
libgl, mesa (including development files)
zlib (including development files)
codeblocks or make
subversion
openjre6 or openjdk6 (jdk and jre are ideal)
And for the PKGBUILD that I made:
Dependencies:
gcc, gcc-libs (also g++ if it's separate, which it isn't in every distribution in the entire universe except ubuntu)
libgl, mesa (including development files)
zlib (including development files)
codeblocks or make
subversion
openjre6 or openjdk6 (jdk and jre are ideal)
And for the PKGBUILD that I made:
Code: [Select]
pkgname=enigma-dev
pkgver=249
pkgrel=1
pkgdesc="An open-source alternative to YoYoGame's Game Maker, written in C++."
arch=('i686' 'x86_64')
url="http://enigma-dev.org"
license=('GPL')
depends=('libgl' 'mesa' 'zlib' 'gcc' 'gcc-libs' 'make' 'jre')
makedepends=('pkgconfig' 'subversion' 'make')
sources=()
md5sums=()
_svntrunk=https://enigma-dev.svn.sourceforge.net/svnroot/enigma-dev/
_svnmod=enigma-dev
build() {
svn co $_svntrunk
mkdir $startdir/pkg/opt
mkdir $startdir/pkg/opt/enigma
cp -r $startdir/src/$_svnmod/trunk -T $startdir/pkg/opt/enigma
cd $startdir/pkg/opt/enigma/CompilerSource
rm -rf $(find $startdir/pkg | grep 'svn$')
rm -rf '$startdir/pkg/opt/enigma/CompilerSource/.eobjs'
mkdir $startdir/pkg/usr
mkdir $startdir/pkg/usr/share
mkdir $startdir/pkg/usr/share/pixmaps
mkdir $startdir/pkg/usr/share/applications
cp $startdir/pkg/opt/enigma/enigma.png $startdir/pkg/usr/share/pixmaps
cp $startdir/pkg/opt/enigma/enigma.desktop $startdir/pkg/usr/share/applications
make linux || return 1
}
433
Announcements / Re: Install script - Ubuntu
« on: May 23, 2010, 08:34:21 pm »Ah, I guess not.Unless they ran the script from within the shell.isn't that uh, automatic?Replace the sudo calls with one call to sudo su; or combine the install parameters.
youk now, there was only one sudo, right?
if he were to replace it with sudo su then he would also have to add exit at the end, essentially, to drop out of the administrative shell so as to keep the idiotic users less idiotic.
the shell is automatically exited upon ending the script
434
Announcements / Re: Install script - Ubuntu
« on: May 23, 2010, 06:55:09 pm »isn't that uh, automatic?Replace the sudo calls with one call to sudo su; or combine the install parameters.
youk now, there was only one sudo, right?
if he were to replace it with sudo su then he would also have to add exit at the end, essentially, to drop out of the administrative shell so as to keep the idiotic users less idiotic.
the shell is automatically exited upon ending the script
435
Proposals / Re: Documenting stuff in a more centralized location
« on: May 23, 2010, 08:29:32 am »And we could go for days on the aliases. Don't bother.then what about wiki syntaxsin(x)
sin(x)
see also [[cos]]
An alias of [[cos]](pi/2-x)
cos(x)
An alias of [[sin]](pi/2-x)