Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

oh hai

Name: vunderdong 2009-06-28 0:14

all i know is basic C++, java, and VB. Looking to take steps into HTML and further.

I have other classes I need to take right now, but I wanna do stuff that will help me program my own games and webpages in the future.

hate to noob up your board, but what do / read / download / practice next.

Name: Anonymous 2009-06-28 0:27

Name: Anonymous 2009-06-28 0:28

Learn Haskell. And if you're too stupid to learn Haskell, give up programming.

Name: Anonymous 2009-06-28 0:56

Practice your fibs and factorials. They are extremely important in the enterprise.

Name: Anonymous 2009-06-28 1:03

>>3
only if you're too stupid to learn prolog.

Name: Anonymous 2009-06-28 1:55

Step 1. Hit head off wall until you forget VB
Step 2. Read SICP
Step 3. ???
Step 4. Profit

Name: FrozenVoid 2009-06-28 2:17

>>5 People pick the language where they get most performance/productivity ratio (its C/C++ today)
When computer speeds leap forward more people will switch to Java/C# and only in distant future
 prolog,python,haskell and other miscellaneous languages will have a chance.
Its not only because they are slow, its also because they have very low productivity, despite claims of the opposite.
Consider, if i could write Haskell or Prolog programs in space of ~15-30 minutes like i do with C i would gladly switch.

_________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-28 2:18

>>2
/thread

Name: Anonymous 2009-06-28 2:22

>>7
I miss the old FV, he had better trolls ;_;

Name: Anonymous 2009-06-28 2:23

>>7
OP here
I always thought this was obvious.
we do i even want to know all the endless miscelanii of programming languages when C++ will get me to the same place faster and with fewer motions of my fingers?

Name: Anonymous 2009-06-28 2:26

>>9,10
DON'T SEE HIS POSTS!

Name: Anonymous 2009-06-28 2:27

>>2
also, can anyone tell me if i need programs or literature to supplement that, or should i just shoot through this bible and try and keep whatever i get in my head?

Name: Anonymous 2009-06-28 2:31

what's wrong with programing in C++???
too bulky?

Name: Anonymous 2009-06-28 2:33

>>13
It's C, with new features poorly tacked on.

Name: Anonymous 2009-06-28 2:37

>>11
Link please.

Name: Anonymous 2009-06-28 2:43

>>10
try doing this faster or with fewer motions of your fingers in sepples:
product([], 1).
product([H|T], X) :- product(T, Y), X is H * Y.

factorial(N, R) :- numlist(2, N, Ns), product(Ns, R).


and before you claim to have done it, try calculating 10000!.

Name: Anonymous 2009-06-28 2:51

>>14
you forgot that they also removed useful features to make room for some of their useless ones.
also, if you want to play around with macro bullshit, why not do it in a language that has first-class macros1?

____
1. http://4-ch.net/code/kareha.pl/1239718731/5

Name: FrozenVoid 2009-06-28 5:47

>>16 This is only a simple math routine, try writign a complete program like
http://frozenvoid.blogspot.com/2009/06/arbitrary-precision-factorial-with-gmp.html



_______________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-28 5:59

>>17
first-class macros
I don't think you understand the job of macros in Sepples.

Name: Anonymous 2009-06-28 7:47

>>18
that's not arbitrary precision. try calculating the factorial of ULONG_MAX + 1.
also, that's not sepples.

and here's a complete program:
#!/usr/bin/env -S pl -qs

product([], 1).
product([H|T], X) :- product(T, Y), X is H * Y.

factorial(N, R) :- numlist(2, N, Ns), product(Ns, R).

prolog :- current_prolog_flag(argv, L), forall((member(A, L), tokenize_atom(A, L2), length(L2,1), member(N, L2), integer(N), N >= 0), (factorial(N, F), format("~d! = ~d\n", [N, F]))).

Name: FrozenVoid 2009-06-28 8:56

>>20 "factorial of ULONG_MAX + 1." and how you would store/display it?
any int factorial about>100000 is huge waste of space.

_______________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Free Working Porn Passwords 2009-06-28 9:15

Free Working Porn Passwords - ALL UPDATED

WE HAVE THE LARGEST NUMBER OF HACKED XXX PASSWORDS, NOW OVER 350! HIGH QUALITY CONTENT!!
Download here:
http://showip.be/url/fe4

Name: Anonymous 2009-06-28 16:27

>>21
go away

Name: Anonymous 2009-06-28 16:44

>>21
i'd store it the same way as any other integer. and i wouldn't display it because i don't care what it is, i just need it to calculate some other (smaller) number that will be displayed.

Name: Anonymous 2009-06-28 17:11

module Main where
fact 0 = 1;fact x = (*) x $ fact $ x-1
main = readLn >>= print.fact

Name: Anonymous 2010-10-26 23:57


Don't change these.
Name: Email:
Entire Thread Thread List