[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/dpt/ - Daily Programming Thread
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 25
File: timetocode.webm (2 MB, 1152x648) Image search: [Google]
timetocode.webm
2 MB, 1152x648
This is /dpt/, the best subreddit of /g/

Umaru-chan edition, the best of all editions.

In this thread:
r/programming
r/compsci
r/ReverseEngineering
r/softwaredevelopment

code of conduct:
no racism
no insult
no sexual harassment
no gender discrimination

wat r u working on, anon-chan ?
>>
>>53628171
1st for webdev
>>
>>53628205
Ugh
>>
>>53628205
tfw no webdev bf
>>
>>53628171
>no racism
>no insult
>no sexual harassment
>no gender discrimination

Let's see...
I would fuck in the ass every dumb nigger bitch who claims she is 'programming' in php.
>>
>>53628214
london?
>>
>>53628214
tfw no graphic designer gf
>>
File: 1458504867725.gif (1 MB, 256x192) Image search: [Google]
1458504867725.gif
1 MB, 256x192
>>53628205
>Webdev
>Programming
>>
>>53628171
>code of conduct
you should have never left reddit desu senpai

can someone give a c++programmer a good reason to use c?
>>
>>53628251
https://copy.sh/v86/
A javascript x86 emulator to run windows 98 or linux in a web browser

>b-but webdev is not programming.
>>
>>53628289
web dev is fucking pathetic compared to real programming fucking faggot and a web app isn't special just because its run in a browser, actually it's far shittier than a real program
>>
>>53627199
underrated post
>>
>>53628234
Don't forget transphobia, bro.

>I would fuck in the ass every dumb nigger bitch who claims "she" is "programming" in php.
>>
Reminder not to bully Nim.

Supreme quality meme language:
http://nim-lang.org/
>>
Please do not use an anime image next time.
>>
C++ never stops surprising me.
I just realized you could name a function parameter one way on the header and a different way on the source file.
>>
File: 1454165958215.gif (537 KB, 480x270) Image search: [Google]
1454165958215.gif
537 KB, 480x270
>>53628317
It doesn't matter what language you use.
>>
>>53628289
>it barely runs a ~20 years old application which has 66 mhz cpu requirement
yeah, great 'development' there buddy. now run your 'install_wordpress.sh' and develop some webs
>>
>>53628426
that comes from C. and you don't need to name your parameters in definitions.
>>
$ sudo ./install.sh 
install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'rust-std-i686-unknown-linux-gnu'
install: installing component 'rust-docs'
install: installing component 'cargo'

Rust is ready to roll.


What should I do now? What's the best way to learn Rust?
>>
What would a regexp look like to replace the following strings:
"something" => 'something'
"something's something" => 'something\'s something'
"something's something's something's" => 'something\'s something\'s something\'s'
>>
>>53628171
>code of conduct:
>no racism
>no insult
>no sexual harassment
>no gender discrimination

Where do you think you are, fuckface? This isn't leddit
>>
>>53628457
you mean declarations
>>
>>53628458
sudo  ./usr/local/lib/rustlib/uninstall.sh
>>
>>53628493
yeah, my bad
>>
>>53628440
yes it does and so what if someone made an x86 emulator in javascript, SO FUCKING WHAT YOU WANT A COOKIE OR SOMETHING BITCH ASS SHIT TARD
>>
>>53628505
lol
>>
>>53628458
Are there so many system programmers around the world? I mean, I kinda like Rust but I don't get why one would learn it, such a pain to program in...
I learned the basics but never had the occasion to use it in a real project. Anyway, I used this https://doc.rust-lang.org/book/, pretty good iirc
>>
>>53628586
no one uses rust anon.
>>
>Java is shit
>Why is java shit?
>No real reason I am just a bad /g/ programmer who can't program
>>
>>53628610
this
>>
>>53628605
B-but they costantly circlejerk on it on HN!
>>
>>53628458
Are you a batshit insane tranny? If no, why the fuck would you learn rust?
>>
>>53628363
Hello fellow nimfriend!
>>
>>53628458
$ sudo ./uninstall.sh
>>
>>53628610
its stupid reference system is enough to call java shit. even if you ignore other 5000 reasons.

at /dpt/, I learned that it is impossible to prove why java is bad to java programmers. they are so accustomed to it, its lack of features, and bad design decisions is normal to them
>>
>>53628505
fuck beat me to it. 'auto refresh' isn't on at work.
>>
>Umaru edition
jeez could you keep up with the fresh stuff you fucking nigger
>>
>>53628458
https://www.rust-lang.org/conduct.html

Ask yourself: do I really want this?
>>
>>53628622
HN is basically /dpt/ where people also wears suits and use kind words. People are no smarter than /dpt/ but still they all have opinions.
>>
>>53628669
ok retard
>>
>>53628669
>stupid reference system
>lack of features
>bad design decisions

Look at all these meme accusations none of which are true. If Java is so poorly designed why is it a good language for people to understand? Checkmate
>>
>>53628685
fuck off back to /b/, don't post traps just because it's "funny", fuck off it's not funny and you're just wasting your time and energy on being le epic trolemeister
>>
Hey java fags, I heard that you guys still can't write a integer swap method in 2016. is that true?
>>
>>53628702
>don't post traps
fuck you on about?
>>
>>53628708
epic
>>
>>53628708
This doesn't make a language bad seriously noprogrammer get out
>>
>>53628622
People here also circlejerk about C but that doesn't mean that C is used anywhere outside of a few niches.
>>
>>53628719
lel, you get out and take your shitty language with you
>>
>>53628694
Pajeets aren't people.
>>
>>53628709
there is at least one anon (probably >>53628708) who posts shit just to try to get a reaction out of people. imo the umaru/subreddit/coc is fine at this point because even though it's supposed to be cancer it's still infinitely better than the trap shit
>>
What is the most masculine language and why is it writing your own language on a xilinx chip using bitstreams of synthesizable verilog?
>>
>>53628748
C++
>>
>>53628732
>>53628733
There is literally nothing wrong about Java stop being mean
>>
>>53628740
lol
I'm just saying that umaru is old news
but youre right that it is better than traps
>>
>circlejerking about languages
Literally who gives a shit, if you don't like Java don't use it.
>>
>>53628761
they're just trolling. if they weren't trolling they'd be literally retarded for thinking that it's an issue to not have an int swap function
>>
>>53628782
lack of pass-by-reference is definitely an issue anon.
>>
>>53628812
I bet Java programmers can out program all of you even in your own preferred language
>>
>>53628765
Shitting on Java gives me purpose.
>>
>>53628812
no it isn't, especially not for a high-level language
>>
Friendly reminder Go is great.
>>
>>53628828
>out program
heh, grow up kid.
>>53628839
Especially for a high-level language which lacks pointer support.

But as I said >>53628669
>they are so accustomed to it, its lack of features, and bad design decisions is normal to them
>>
>>53628860
aggresive reminder that you should rethink your definition of "great"
>>
>>53628833
>>53628873
ok retard thanks for sharing your hot opinions
>>
>>53628873
You are the one who needs to grow up thinking a programming language is bad for no real reasons
>>
>>53628317
I'm developing web apps at the moment, integration type work for companies to integrate their crm and POS systems with the Xero accounting package.

Is this programming? It sure feels like programming. I guess I won't know if it is or not until some bellend on 4chan let's me know.
>>
>>53628887
Friendly reminder your favourite language is shit.
>>
>>53628905
fag
>>
>>53628906
>C++ is shit
Yeah, no.
>>
>>53628924
Why's that then?
>>
>>53628812
>>53628873
You are retarded
If you think you require pointer support in a high level language you have failed as a programmer
>>
>>53628947
>you think you require pointer support in a high level language
what part of my posts says this anon?
>>
c# is disgusting compared to cpp, .I. C# :DD:D
>>
>>53628979
>lack of pass-by-reference is definitely an issue anon.
>Especially for a high-level language which lacks pointer support.

Neither of these things are an issue at all.
>>
Post your favorite swap functions /dpt/

void swap(int &a, int &b){
int temp = a;
a = b;
b = temp;
}
>>
FUCK C# ITS SO SHIT, WORSE THAN PHP!!!!!!!!!!!!!1
>>
>>53629041
a,b = b,a
>>
>>53628171
WOOOOOO!! UMARU-CHAN~ \(^-^)/
>>
>>53628991
I'm a .NET developer, it isn't the C# language that I love but the tooling! Hands down visual studio is a great IDE and the tools and libraries available for me to use are second to none!

Example is entity framework, visual studio online and it's new scripted build system etc etc.
>>
>>53629041
a, b = b, a
>>
>>53629094
kill yourself
>>
>>53629097
Inb4shill

I legitimately agree with your entire post.
>>
>>53629049
But why? It's beautiful!
>>
>>53629041
C
void f(int *a, int *b){
int c = *a;
*a = *b;
*b = c;
}
>>
File: CashMoney.jpg (58 KB, 500x364) Image search: [Google]
CashMoney.jpg
58 KB, 500x364
>>53629113
Why so mean anon-chan?
>>
>>53629118
I meant everything I said, however I really only post that cause it's funny to watch the faggots who are overly possessive about their said chosen favourite language go nuts!
>>
>>53629159
cuz umaru is old news
move on
>>
>>53629189
B-But I love Umaru ;-;
>>
>>53629209
Too fucking bad, your choice is horrible and you should kill yourself or realise the mistake and get the fuck out of it as far as possible
>>
File: 1411166746173.gif (3 MB, 264x240) Image search: [Google]
1411166746173.gif
3 MB, 264x240
>>53629248
Hahaha good one anon. You should become a comedian
>>
>>53629285
Not a joke.
>>
>>53629299
y-you too
>>
Rate my bubblesort!

void swap(unsigned *a, unsigned *b)
{
register unsigned tmp = *a;
*a = *b;
*b = tmp;
}

int compare(unsigned a, unsigned b)
{
return (int) a - b;
}

int is_sorted(unsigned *arr, unsigned size)
{
int sorted = 1;
unsigned i;
for (i = 0; i < size - 1; i++)
{
int state = compare(arr[i], arr[i+1]);
if (state > 0)
return 0;
}
return sorted;
}

void bubblesort(unsigned *arr, unsigned size)
{
while (!is_sorted(arr, size))
{
unsigned i; /* --> */
for (i = 0; i < size - 1; i++)
{
int state = compare(arr[i], arr[i+1]);
if (state > 0)
swap(arr+i, arr+i+1);
else
continue;
}
}
}
>>
>>53628171
HITLER
I
T
L
E
R
>>
DID
I
D
>>
>>53629459
9/11
>>
2147483647 is the cutest number in programming.
>>
>>53629502
Care to elaborate?
>>
>>53629551
>Euler ascertained that 2^31 − 1 = 2147483647 is a prime number; and this is the greatest at present known to be such, and, consequently, the last of the above perfect numbers [i.e., 230(231 − 1)], which depends upon this, is the greatest perfect number known at present, and probably the greatest that ever will be discovered; for as they are merely curious, without being useful, it is not likely that any person will attempt to find one beyond it.
>>
Fixed point values:

Should a "transform" variable store the matrix or should it have the "position, rotation, scale" values for a function to use.
>>
>>53629502
>tfw the number stuck to me because it was Runescape's max cash number
>>
File: 1439927750908.gif (504 KB, 492x386) Image search: [Google]
1439927750908.gif
504 KB, 492x386
A
>I wrote 25 lines of code today

B
>I wrote 25 lines of programming today

If you think B is correct, literally kill yourself my man :^)

Don't be a faggot who calls yourself a programmer
>>
I am trying to interact with folders using a win forms application, but I'm stuck.
Coming from Android I can't seem to find where the main logic is stored.
Has anybody here some book or resources to develop on Win10?
>>
>>53629664
I wouldn't call myself a coder or a programmer! Personally I call myself a software engineer, because building good software at the end of the day generally requires an engineering approach!
>>
>>53629671
Search for c# environment special folders
>>
>>53629718
Thanks. That helps!
>>
Why would I ever use c++ if I can get smart pointers in C by using a library and implement namespaces with macros?
>>
>>53628586
>>53628626
>>53628688
Reeee. Have you ever tried it? It is great.
And there are no trannies in the community. They exist only in communities where you can complain and extort money doing nothing. They are too stupid to learn Rust, their maximum is Ruby and PHP.
>>
>>53629322
make swap without tmp.
>>
>>53629869
dis nigga knows what's up
Also Rust fucking rocks, it will be what C should have been (but couldn't have because there were lessons that needed to learnt regarding mm, threads and exceptions)
>>
i copied a sphere primitive algorithm and I made an atom!

>tfw you don't understand it at all
>>
>>53629918
Do you have any good resources for learning how to copy and paste?
>>
>>53629840

C libraries cannot replicate smart pointers because the C language does not have a notion of "do this automatically when this object goes out of scope".
>>
Harmful languages:
>C++
>D
>Go
>Perl
>Python
>PHP
>Ruby
>JavaScript
>C#
>Java
>Groovy
>Bash
>Scala
>Lua
>F#
>OCaml
>C
>Haskell
>Assembler
>Lisp
>Clojure
>Scheme
>Rust
>Go
>R
>Matlab
>Idris
>Coq
>Agda
>Ada
>Fortran
>Pascal
>Algol
>PL/1
>BCPL
>COBOL

This list is by no means exhaustive.
>>
We all know that if you're a guy, dressing as a girl will make you a better programmer.

Does it work the other way round too, i.e. if you're a girl, will dressing as a guy make you a better programmer?
>>
>>53630000
You have Go there twice and your list is not in alphabetical order.
>>
>>53629960
i only copy pasted the sphere drawing function because i'm not a math major tbqh family
http://www.cburch.com/cs/490/sched/feb8/

literally everyone else just tells you to use glutSolidSphere or some other equally gay shit
>>
>>53630046
I know. I decided that it merits two mentions.
>>
File: girl code.jpg (150 KB, 869x1776) Image search: [Google]
girl code.jpg
150 KB, 869x1776
>>53630037
no, coding is inherently feminine, see pic
>>
>>53630000

I see your list doesn't include basic.
>>
>>53630054
I'm just messing with you.
Keep at it!
>>
>>53630000
Quads don't lie, should we program only in machine code or is there an approved programming language?
>>
>>53628458
How about not sudo spamming. Bad practice. If you need to sudo then your permissions aren't correctly configured.
>>
>>53630064
probably because basic is the best language
>>
>>53630062
Wow.
>>
>>53630064
>This list is by no means exhaustive.
>>
>>53630062
pls be a troll image
>>
>>53630104

Precisely.

>>53630110

Even if it were, basic would not be included. Basic is the greatest of all time.
>>
>>53630064
Great, now I need to see my therapist in order to repress those memories again. Thanks, you jerk.
>>
>>53630062
note that when a and b are equal, it returns 5
>>
>>53630160
>>53630062
sometimes I love you guys, made my day nigger

>else if (a > b && b < a)

k
>>
>>53630160
Why does she even type cd with zsh?

>women
>>
>>53630197
Hey, don't tar us all with the same brush.
>>
>>53630126
Fair enough, actually the first program I wrote (years before even learning the basics of programming) was a program in BASIC that printed something like "Hello" plus an input on my mother's ancient calculator
>>
>>53630232
stop replying to the tripcunt, for the sake of this board
>>
File: gamergate girl code dpt.png (55 KB, 534x344) Image search: [Google]
gamergate girl code dpt.png
55 KB, 534x344
and finally
>>
>>53630160
>concatenate_strings("Hello", "world");
>those commands
imdying.
>>
>>53630253
B-but niggress lovers are my fetish!
>>
>>53630197
why she wouldnt? newfag here
>>
>>53630261
I just can't
>>
>>53630279
to be fair the bitch was probably trying to demonstrate ruby/rails functions to her fuckwit audience

I think this is the explanation, otherwise we are all really fucked when this generation of cunts gets into systems programming and starts programing the next generation of financial and nuclear systems
>>
>>53630261
>Using std namespace
>Simply prints "block" and doesn't do anything useful
>non-GamerGaters can make negative posts without being blocked
>One block is punctuated, the other isn't

Block
>>
What is "real" programming?
>>
>>53630295
user@host~ % /usr
user@host/usr % ~/
user@host~ % git/
user@host~/git %
>>
>>53630317
Or she wants to be a strong independent woman not limited by social gender constructs. so she hops on stream, pretends to program and makes bank doing nothing.
>>
>>53630232

The first program I ever wrote was on an IBM PC Convertible from 1986. It was an infinite loop of beeping sounds.

Good times.
>>
>>53630351
Go
>>
File: IT28-25.jpg (154 KB, 800x540) Image search: [Google]
IT28-25.jpg
154 KB, 800x540
>>53630261

I don't see any problem with this code my programming friends agree with me aswell, that is some fine quality code
>>
>>53629502
CODE (base 16)
>>
>>53630261
I don't understand what this code does.

If an assignment of Tweeter to Gamergater returns successfully, it prints block, otherwise it attempts to assign Tweet to Negative, and of that succeeds it prints block? He should really post his classes and that overloaded operator definition so I can figure this shit out
>>
>>53630378
>He
>his
>>
File: jcracket.png (514 KB, 1680x1050) Image search: [Google]
jcracket.png
514 KB, 1680x1050
>>53630351
>>
>>53630393
he's a man baby.
>>
>>53630405
le megatextures face.
>>
>>53630393

That is the joke, yes.
>>
>>53629664
"programming" is a verb
I wrote a 25 line program today
>>
>>53630415
>man
Oh, really? I thought Brianna was a woman. We shall have to ask Brianna for Brianna's pronouns.

>baby
I see no evidence of age play.
>>
>>53629285
kek what game is that from
>>
Functional programming...
What are the benefits again?
>>
>>53630764
No shared or mutable state
Can reason about
>>
File: CLgm1XqVEAAQRzT.jpg:large.jpg (80 KB, 1023x682) Image search: [Google]
CLgm1XqVEAAQRzT.jpg:large.jpg
80 KB, 1023x682
Ask your much beloved programming literate anything (r/AMA)

>>53628171
>wat r u working on, anon-chan ?
made a minimal irc client for r\dailyprogrammer 258 [hard]

>>53630062
>>53630160
>>53630261
>>53630317
please, don't bully.

>>53629322
improper types, outdated c, and not generic.

>>53628171
thank you for umaru chan.

>>53630000
>consider himself a programmer
>post an unsorted list
(ï¿¢_ï¿¢;)
>>
>>53630784

> No shared or mutable state

Uses moar memory.

> Can reason about

Doesn't make it that much easier to see what's going wrong in a series of function calls...
>>
File: c86.jpg (30 KB, 262x296) Image search: [Google]
c86.jpg
30 KB, 262x296
>>53630826
>Isis
>>
>>53630858
>Uses moar memory.
Who told you that?

>Doesn't make it that much easier to see what's going wrong in a series of function calls...
It does.
>>
File: kill.png (145 KB, 274x256) Image search: [Google]
kill.png
145 KB, 274x256
>rust
gcd.rs:13:26: 13:32 error: mismatched types:
expected `&mut &mut i32`,
found `&mut &mut i32`
>>
>>53630976
>>rust
>>
>>53630871

Which functional language are you using?
>>
>>53631004
None, why?
>>
>>53630826
She's been doing Enterprise for a month or less, I can tell.

There's still some life left in those eyes.
>>
>>53631033

How are you vouching for the benefits here?
>>
I am allowed to ask here questions I have for my dumb bash scripts, right? Sometimes I've been ignored, other times I've been given answers, either time I never got proper confirmation.

I'm updating my auto-transcode-then-make-torrent script to also account for an infinite and unknown amount of multiple discs. I have no idea how to do it, but here's some pseudocode on how I think it would happen:

c=1
read -p "keep entering shit, press enter again when you're done" disc
while [ ! $disc = "" ]; do
set that sucker as a variable like shit_"$c" or some shit
let c++
done
for i in shit_1 shit_2 and all that shit you just entered; do
cd shit_1
do shit and save it in $dir/shit_1
cd ..
done


can read even do something like that? If not, what do I do in its place? If so, how do I make read do that?
>>
File: paijo_vol1.png (1 MB, 800x1500) Image search: [Google]
paijo_vol1.png
1 MB, 800x1500
>japanese coding
>>
>>53631246
>what is a for loop?
stupid bitch
>>
File: 1456126537438.gif (987 KB, 229x176) Image search: [Google]
1456126537438.gif
987 KB, 229x176
>>53628171
>js,php,etc
>programming
>>
File: 1428645148972.png (87 KB, 591x346) Image search: [Google]
1428645148972.png
87 KB, 591x346
>>53631257

That's not the problem. Using moon in the actual code is the problem. Similar to this.
>>
>>53631220
2 things:
1. Can you be more clear about what you're trying to do instead of how you're trying to do it?

2. Use proper metasyntactic variables please.
>>
File: hackers.gif (330 KB, 427x188) Image search: [Google]
hackers.gif
330 KB, 427x188
>>53630160
well that's just your opinion. the documentation says otherwise ^_^
>>
>>53631246
http://lambda.bugyo.tk/cdr/mwl/
>>
>>53631246
>coding
>>
File: lap.webm (3 MB, 1280x720) Image search: [Google]
lap.webm
3 MB, 1280x720
improved the display of muh lap timing system
>>
>>53631378
right
Since we're dealing with an unknown amount of directories with unknown names, I want the user to enter each directory manually. The script will then change to each of these directories, do what has to be done, and save the result to a directory of the same name in a different location before moving onto the next one.
I'm sure the for loop for changing to each of the directories is right, but how do I do the entering of each directory manually then pressing enter when done?
>>
>>53631557
looks like a bomb

>repoted
>>
File: 256.jpg (29 KB, 367x451) Image search: [Google]
256.jpg
29 KB, 367x451
>>53630976
>rust
>>
>>53628677
C# is so fucking ugly and terrible

obviously it's a contrived code example with the tadpole operator but there are so many things that are disgusting about it

C# is literally a cargo-cult clone of java with massive feature-creep due to a load of dunning-kruger pythonesque "features" tacked onto it that you aren't even supposed to use

>many of the disadvantages of java
>many of the disadvantages of C++
>few of the advantages of java
>few of the advantages of C++
>>
How does Java store primitives and objects in memory?
>>
>>53631570
Can you just pipe the output ls into a while loop to get all of the directory names instead of entering them by hand?
>>
>>53631897

Oh look, it's you again.
>>
>>53631961
primitives in methods are on the stack

objects are on the heap (the heap in java is preallocated for efficient object instantiation)
>>
>>53631961

The JVM has several memory areas. There is a class area that stores the actual instructions and static members. There is also an object heap that stores the actual objects you create. There is a method call stack that stores local variables for method calls. Within a method call stack frame, there is a local variable array and operand stack. JVM instructions work either on local variables or the operand stack. Most instructions work on the stack. For example, an add instruction pops two items, adds them, and pushes the result. Local variables are stored in the local variable array and referenced by index. All local variables and stack items that are objects are references to the heap.
>>
>>53631968
the code in the pic is literally more cluttered and less elegant than the equivalent code in java
>>
Is ai a modern approach good for getting my feet wet?
>>
>>53632039
Read SICP.
>>
>>53632027

The code in the pic is an intentional joke.
>>
>>53632057
I'm just interested in getting started with ai. I can program decently
>>
>>53631968
>OSGTP
One Straight Guy Two Penises?
>>
>>53632106
>Enumerable.Range
>var
>new int()
>int?
>Console.WriteLine
it's a joke alright
>>
>>53632108
Have you read SICP?
>>
>>53632167
I know how to use Python and I can write recursive functions.
>>
>>53632177
certified reddit programmer
>>
>>53632177
You didn't answer my question. Moreover writing recursive functions does not require any kind of skill or knowledge. Same for programming in python. It does not equal to "I can program decently".
>>
>>53631965
ls would also include directories such as "Artwork" which wouldn't look nice.
Come to think of it I could just copy the entire album tree and find each flac file and convert it in the same directory before deleting the flac. But I'm not too good at using find. I can rewrite my entire thing to incorporate find instead of cd and for loops, but how would I do what I was originally doing?
>>
>>53629094
>>53629159
>>53629209
>>53629285
Cancerous faggot.
>>
>>53630865
That's an Egyptian name, rockchild.
>>
>>53632206
I don't think I really need to read SICP. It's for an outdated language and besides I already know how to program.
>>
>>53630826
I wish you would just kill yourself already.
>>
>>53632240
But seriously, in this day and age why would anyone name themself or their child Isis? It'd be like Mr and Mrs Qaeda naming their son Al.
>>
>>53628708
Why not?
>>
>>53632263
isis wasn't really a thing until the last few years

she's probably 18+ years old

hillary fucking clinton had a cat named isis
>>
>>53632242
1: You don't know how to program.
2: SICP is not about teaching you languages.
3: Scheme is actually more modern than Python.
4: Only fags place such a big importance to languages.
>>
>>53632135
>>Enumerable.Range
>>Console.WriteLine

There's nothing wrong with either of these. I suppose you think System.out.println is superior?
>>
>>53631557
Very cool.
Post some code which handles it?
>>
>>53632281
I do know how to program, I have a degree in software eng and a job in it. Do you?

Nowhere uses Scheme any more. Lots of places use Python.
>>
>>53628708
a=(b|0&(b=a));
>>
>>53632269
Jesus, your name brings back memories of ICQ and IRC.
>>
File: pajeet2.png (112 KB, 1000x1000) Image search: [Google]
pajeet2.png
112 KB, 1000x1000
>>53632305
>I have a degree in software eng
>software eng
Pic

>Do you?
I have a phd in Computer Science.

>Nowhere uses Scheme any more. Lots of places use Python.
See >>53632281, 2-4

>I do know how to program
Your posts from before suggest otherwise.
>>
>>53632287
it's ridiculous to use Enumerable.Range to loop from 1 through 100 when a normal for loop does it just fine. and having a DESIGNATED Console.WriteLine is fucking shit, you can use a PrintStream to output to System.out or some other PrintStream
>>
>>53632281
Original guy who asked about ai here(python dude is someone else). I meant to ask about ai recommendations more from a theoretical/math pov, if that clears it up.
>>
>>53632334
>Computer Science
So not Software Engineering, then. CS is useless for the real world.

I can use Java, C#, Python, Go. I can pick up any language quickly. You can probably only use a meme language.
>>
>>53632362
>I can pick up any language quickly
Considering the importance you seem to give to knowing languages, I would say no.
Also, see >>53632281 2-4.
>>
>>53632383
You're trying to sound superior on an anonymous image board. You gonna toss that on your resume too?
>>
Where's a pdf of scip
>>
>>53632383
2. If that's the case, then why does it deliberately use Scheme, and not a more useful language?
3. Scheme is a copy of Lisp, which was invented in the 1950s.
4. Languages matter. Job postings don't ask for "5 years experience but it doesn't matter what language". They ask for 5 years experience with Java, or Python, etc.
>>
>>53632407
You can get it for free online.
>>
>>53632428
>"where do I get X"
>"the internet"
>>
>>53632407
It's a meme used by retards to justify their wasted time
>>
>>53632407
>>53632440
It's freely available from the authors, you idiot. Don't assume that you won't be able to find it easily before asking.
>>
>SICP
>book written in 1979

is it really -that- useful these days. The book is over 30 years old.
>>
is there a legit crack for intellij idea? the latest 2016.1
>>
>>53632453
Nope. Try something for a more modern functional language such as Scala.
>>
>>53630430
Actually it's a gerund.
>>
>>53632453
Most of the widely-used languages are 30 years behind developments in computer science, so it's not so bad.
>>
>>53632462
Yeah, get the community edition. Fuck off, parasite.
>>
>>53632414
>2. If that's the case, then why does it deliberately use Scheme, and not a more useful language?
Because Scheme is one of the best languages for teaching. Simple as well as simple syntax with multiple necessary features that help teaching CS. Moreover, at the last chapters it describes the implementation of a Scheme interpreter something that would not be as easy to do in other languages.
Also define useful language and why should it use it instead.

>3. Scheme is a copy of Lisp, which was invented in the 1950s.
Still more modern than Python in terms of features. Your argument means nothing.
Also, Scheme was created in the 70s and has many difference with the original Lisp. The last Scheme standard was created in 2013.

>4. Languages matter. Job postings don't ask for "5 years experience but it doesn't matter what language". They ask for 5 years experience with Java, or Python, etc.
It matters only to Indian Pajeets like you.
>>
>>53632462
if you're a student you can get it for free
>>
>>53632486
epic
>>
>>53632464
Or don't get into the retarded functional circlejerk amd be a real C man
>>
>>53632453
>>book written in 1979
Wrong
>>
>>53632510
Just like all the other C men

Then you can get on a boat together and give each other your C men samples
>>
>>53632462
Yes and it's called Emacs.
Why would you use all these shitty IDEs if Emacs exists?
>>
>>53632492
2. Scheme is completely unintuitive.
(+ 2 3)
vs 2 + 3.

3. You're shifting the goalposts.

4. Take a look at any software job posting.
>>
>>53632524
I chuckled. Thanks man, was having a shitty night.
>>
>>53632462
i wouldn't even use it if i got it for free
>>
>>53632351
>and having a DESIGNATED Console.WriteLine is fucking shit

Static objects are clearly the superior option.
>>
>>53632574
Just use the operational monad with an ADT of console actions.
>>
>>53632541
>2. Scheme is completely unintuitive.
It uses superior prefix notation, good.
>ignored the other arguments

>3. You're shifting the goalposts.
Nope, its still more modern than python.

>4. Take a look at any software job posting.
It matters only to Indian Pajeets like you.
>>
>>53632574
yeah, objects clearly have no place in an object-oriented language

        PrintStream out = System.out;
out.println("foo");
try {
out = new PrintStream(new FileOutputStream("a motherfucking file, BITCH.txt"));
out.println("#REKT");
out.close();
}catch (FileNotFoundException e) {

}
>>
>>53632606
Does it bother you that all that time, money and effort you spent studying SICP was pointless? Nobody cares about it in the real world.
>>
>>53632631
>objects clearly have no place in an object-oriented language

Yeah, that's what I said.
>>
>>53632643
>money
SICP is free.

>effort
It was helpful when I first read it.
>>
>>53632657
with Console.WriteLine you have to make your own shitty wrapper class to output to different streams

the object-oriented approach is clearly more elegant versatile
>>
>>53632680
>with Console.WriteLine you have to make your own shitty wrapper class to output to different streams

No... you don't?
>>
>>53632667
You know, I feel a little bad about my last post. Still, must keep up appearances. You're a bad person for using Scheme. Definitely.
>>
Implement strlen() in your language of choice, you have two minutes
>>
GHC 8.0 STABLE FUCKING WHEN
>>
>>53632667
Time is money.
> was helpful when i read it
Yeah, it's not the key to learning fucking programming you condescending sad fuck
Thread replies: 255
Thread images: 25

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.