[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture


View post   

File: 104 KB, 1024x768, ASSUMPTION.jpg [View same] [iqdb] [saucenao] [google]
1230982 No.1230982 [Reply] [Original]

I assume Ruby is /jp/'s official programming language...

>> No.1230999

Nope. Also, get rid of those toolbars, damn.

>> No.1231009

>>1230999
He's a newfag who doesn't know what spyware is.

>> No.1231010

Hell no, Ruby is a terrible language.

>> No.1231019

toy language.

>> No.1231024

Leave.

>> No.1231028

There's a reason why we call those TOOLbars.

>> No.1231031

>>1231028
oh ho

>> No.1231032

JAVA is

>> No.1231101

>>1231032
you best be trolling, everyone on this board uses x86

>> No.1231110

I know some C and C++, am reading a book on pearl and will be taking a class on Java next term.

>> No.1231121

>>1231101
I don't.

>> No.1231122

>>1231110
>pearl

What.

>> No.1231129

>>1231125
This, faggots.

>> No.1231125

>>1230982

C > *

>> No.1231142

JAVA is so awesome it cures terminal diseases.

>> No.1231147

I'm going to get mobbed for this, but C# is my favorite language for making simple programs.

>> No.1231149

I don't need a language, I can command my computer using my mind

>> No.1231151

C++

>> No.1231153

>AOL search

>> No.1231155

>>1231142

Java causes terminal diseases.

>> No.1231161

>>1231147
OOP is nice.

>> No.1231167

>>1231161

ITT Javaschooled programmers who think that you need C++ or Java to do OOP.

>> No.1231175

>>1231122
Unix programming.

>> No.1231177

>>1231142
Actually Java is probably the shittiest popular language, takes forever to write, takes forever to compile, takes forever to run, by the way did I mention it does shit?

>> No.1231179

>>1231167
Wut? when did i mention java? Or C++? C# is a nice OOP language.

>> No.1231180

Time for some forced implementation of sage

>> No.1231182

>>1231179

C is a nice OOP language too.

OOP is a style of programming, not a type of programming language.

>> No.1231185

>>1231182
And some language's are made particularly for this style, your point?

>> No.1231187
File: 29 KB, 1024x256, 1220239603863.gif [View same] [iqdb] [saucenao] [google]
1231187

>> No.1231191

>>1231185
>languageHERE COMES AN Ss

>> No.1231192

>>1231185

Languages that force you into a particular paradigm are called Ru--I mean, retarded.

>> No.1231193

BBCODE IS THE ULTIMATE LANGUAGE.

>> No.1231194

sage‎‎‎‎‎‎‎

>> No.1231195

>>1231180
butthurt Javafag is butthurt

>> No.1231196

sage

>> No.1231197

sa‎‎‎‎‎‎‎‎‎‎‎‎‎g‎‎‎‎‎‎‎e

>> No.1231199

java is boring and has many problems.

>> No.1231200

>>1231182
Many language could be used to implement OOP ideas
But a pure OO language should allow minimal precedural elements.

By taking away power from the programmer you actually force them to make better codes (similar to precedural and abolishing GOTO)

>> No.1231201

s‎‎‎‎age‎‎‎

>> No.1231203

s‎‎‎‎a‎g‎‎‎‎‎e‎‎‎

>> No.1231206

LISP

>> No.1231209

>>1231200

But even goto can be useful for good code. See Linus's rather good explanation of proper use of goto to make code cleaner and easier to read.

If you need the language to force you into a paradigm or to babysit you to avoid you writing bad code, you're a fucking terrible programmer.

>> No.1231211

While(newfag == idiot){
System.out.println("GTFO");
}

infinite loop

>> No.1231214

>>1231206
Now you've done it.

>> No.1231223

sure is /jprog/[/spolier] in here.

>> No.1231217

>>1231209
It can be but the case is rare and your average code hack would abuse that power

Better off not let them have it

>> No.1231222

>>1231211
>While(newfag == idiot){
>While
>W
>idiot
irony++;

>> No.1231225

>>1231217

Solution: don't hire the idiot coder, find someone who knows what they're doing. Even in a language that forces them to write better code, they'll find a way to write horrible code regardless. If you make something "idiot-proof", god will create a better idiot.

>> No.1231227

>>1231211
Enterprise programming

>> No.1231233

sure is /jprog/ in here.

>> No.1231251

i am a JAVA. i ahev a long doc and i make programs w/ my API. if you dont repost this comment on 10 other pages i will hax your anus tonight and make a mess of your computer and ass

>> No.1231244

>>1231227
No, this is Enterprise Programming:

InsultPrinter = new InsultPrinter("GTFO");
while(newfag.idiot() == TRUE || newfag.idiot() == FILE_NOT_FOUND)
{
InsultPrinter.insult();
}

>> No.1231245

do the Japanese program in English or in moon?

>> No.1231262

>>1231245
Open the data files to your favorite H-game and find out, lol

>> No.1231266

>>1231225
The idea of language paradigm is exactly that, to force good practice developed by good coders on everyone, so as to raise the productivity of software development in general.

Yes some people would write shitty code regardless of what you tell them, but they cause less damage if we take away powers like GOTO and etc

>> No.1231274

>>1231266

Forcing paradigms just makes people come up with more creative bad code. Bad code is bad code is bad code, it doesn't matter if its MVC or OOP or whatever. TheDailyWTF offers ample proof of this.

>> No.1231269

This thread = /prog/ in a nutshell.

>> No.1231271

>>1231245

They have an English programming language now?

>> No.1231278

Exception in this thread;
Closing it.

>> No.1231281

HALT

>> No.1231282

>>1231269
This thread has not yet reached Satori.

Wait, there it is lol

>> No.1231292

>>1231274
You say this like there are people out there thinking "HOW CAN I POSSIBLY BREAK THIS LANGUAGE OH I KNOW FORGET TO DEALLOCATE MEMORY LOL" or something.

Fact is, if someone wants to write shit code they can do it no matter what language it's in. We are talking about people who want to write good code and aren't trying to screw it up. Those people benefit from better coding practices implemented via the language.

>> No.1231299

>>1231292

Someone clearly hasn't had much experience doing ENTERPRISE PROGRAMMING. The kind of code you find there is unbelievable--its not "bad" or "broken", its just 50,000 lines of bullshit that really should only be 500 lines, but is 100 times longer because its filled with WidgetFactory objects and all other sorts of OOP bullshit that supposedly "makes things better" but really just makes the source code size balloon enormously without actually doing anything but confuse the maintainers.

>> No.1231317

>>1231299
So what is your point? Because it won't work perfectly we shouldn't anything at all?

Yeah, sounds like a plan there chum.

>> No.1231326

>>1231317

My point is that forcing people to do things in a specific way in the end makes it far worse, because you have to navigate through so much crap to do anything.

>> No.1231341

>>1231299

I don't think GOTO is going to help you there either


>>1231326
I'll much look through shit OOP code than spaghetti code

>> No.1231364

>>1231326
So we should just hand them the proverbial gasoline and matches while saying "have fun" and stopping up our ears? How could this possibly help?

Your mindset seems to "Why bother?" rather than "How can we make it better?"

>> No.1231379

I read Programming Ruby (Apress) over the summer, its OK for a quick script I guess, not much else... and the constant panic because of major security problems makes it even less appealing

>> No.1231410

What the christ? Am I in the right forum? I thought we discussed lolis and Touhou here.

P.S. Ruby sucks, and so does whatever language you advocate.

>> No.1231434
File: 369 KB, 700x904, 1220242409656.jpg [View same] [iqdb] [saucenao] [google]
1231434

import java.util.Scanner;

public class TestAverage {


public static void main(String[] args) {
String[] favoriteTouhou = new String[10];
String favorite = "";

Scanner sc = new Scanner(System.in);

for (int i = 0; i < 10; i++) {
System.out.println("Enter your number " + (i + 1) + " favorite Touhou: ");
favoriteTouhou[i] = sc.nextString();

>> No.1231445

RUBY: SLOW AS FUCK

>> No.1231457

I don't know anything about programmation ;_;

>> No.1231474

>>1230982
lol vistaids use a real operating system like debian

>> No.1231479

>>1231245
Fo you think they have much a choice?

>> No.1231523

>>1231474
i use a Mac, let be friends!

>> No.1231545

>>1231147
If I want to make a simple program I use BASIC. For anything more complex C > *.

Also, is this an invasion or are there so many Programmers in /jp/? I'm surprised if there are...

>> No.1231551

>>1231209
USEFULNESS DOESN'T MAKE IT ANY LESS SLOPPY, FAGGOT. GOD I HOPE I'VE BEEN TROLLED.

>> No.1231554

>>1230982
-
>>1231545


SPAWHBTC

>> No.1231555

So, /jp/, I don't know anything about those various languages, hell, I don't even remember anything from the html I had learned about younger, what would you recommend learning ?

>> No.1231557

>>1231545
I don't know how many there are, but /prog/ has been around here since the beginning.

>> No.1231561

>>1231555

Haskell

>> No.1231568

>>1231555
First, stop thinking of HTML as a programming language, not only is it technically a Markup Language (says so right in the name), but thinking of it as a programming language is just going to run you into a wall if you actually look into a real programming language.

>> No.1231573

>>1231555
Secondly, learn basic. If you don't have fun programming in basic, then just don't bother learning anything else, it's not for you. If you DO enjoy what you can do with basic, then go directly to C.

>> No.1231579

>>1231568
Well, I don't remember anything about it anyway, I'll be careful about that.

>> No.1231591

>>1231545
A lot of /prog/ people also goto /jp/. Remember when /jp/ first opened, the first and last big thing on this board was VN program made for the Nintendo DS and a couple VNs getting ported using it.

>> No.1231592

SCHEME

>> No.1231594

>>1231573
Well, you don't actually have to "learn" basic. Rather you download the interpreter and hack something out using the included language glossary. The ease of use for basic is why it is a "do you hate programming" litmus test to begin with.

>> No.1231595

>>1231555
Just learn Python the only language you will ever need, don't learn C++ like all the other tools.

>> No.1231599

prog + warhammer 40k + Touhou fags are all the same 5-10 people that visit all 3 boards.

>> No.1231600

AAH FRESH JAVA OM NOM NOM

>> No.1231603

>>1231599
they also visit pooshlmer and touhouproject.com I've seen 4th edition threads appear on both boards, and some crossposting between pooshlmer and /tg/.

>> No.1231604

:progsnake:

>> No.1231605

>>1231555

Start here

http://mitpress.mit.edu/sicp/full-text/book/book.html
http://www.haskell.org/tutorial/

>> No.1231614

>>1231603
>pooshlmer

Gb2 it

>> No.1231620

>>1231614
but I hate it there...

>> No.1231632

>>1231620
just lurk there, you will learn to love it eventually.

>> No.1231717

I like Java because programmers are a dime a dozen and I get a bonus for finishing projects under budget.

>> No.1232653

Nobody here knows how to program.

Stop pretending and read SICP.

>> No.1233492

/jp/ - /prog/

>> No.1233497

i don't use a programming language because computer programming is too much of a nerdy activity even for me.
and i masturbate to dolls.

>> No.1233501

>>1231445
The correct meme is: ``Too bad Ruby is slow as fuck.''

>> No.1233505

>>1230982
i don't need programming language
0110100110010110011010011001011001101001100101100110100110010110

>> No.1233509

Object Pascal, bitches.

>> No.1233512

I like coding, but I can never think of what to code.

>> No.1233513

>>1233512
Games.

>> No.1233540

C#.

>> No.1233543

.NET Prog here.

>> No.1233544

>>1233505

0101100101001111010101010010011101010010010001010010000001000001010011100010000001000101010110000101
0000010001010101001001010100001000000100001001001001010011100100000101010010010110010010000001010011
01010000010001010100000101001011010001010101001000111111

>> No.1233552

AOL search, huh

>> No.1233556
File: 6.00 MB, 897x1280, 1220281412394.jpg [View same] [iqdb] [saucenao] [google]
1233556

>>1223684
what do you think?

>> No.1233595

Larry is an otaku, but Matz isn't.

>> No.1233605

I like Java because it will pay my taxes.

>> No.1233702

Python, extended by C++.

>> No.1233710

what programming language is used in touhou series games?

>> No.1233716

>>1233710
Assembly

>> No.1233724

>>1233710
cobol

>> No.1233732

>>1233716
assembly huh.no jokes ,please.
>>1233724
is really COBOL?

>> No.1233744

>>1231177
Which is exactly why it's so popular with paid-by-the-hour programmers. It's sad, really.

>> No.1233749
File: 51 KB, 400x579, 1220284759438.jpg [View same] [iqdb] [saucenao] [google]
1233749

>> No.1233756

Regular Expressions are more badass than any programming language.
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html

>> No.1233782

>>1233710

Probably C or C++, but it definitely has some handwritten assembly, or at least intrinsics, being used. Example courtesy of objdump:

subsd xmm1,xmm3
psrlq xmm2,0x3f
movsd xmm3,xmm1
psllq xmm2,0x3f
mulsd xmm1,xmm1
pshufd xmm2,xmm2,0x44
movlpd xmm6,qwordds:0x499dc0
mulsd xmm3,xmm1
mulsd xmm0,xmm1
sub esp,0x10
xorpd xmm4,xmm2

>> No.1233795

I know some VB6, smalltalk, Pascal and prolog but still, C motherfuckers, do you use it?

>> No.1233798

Ruby is the best language ever, because it's Japanese and Japanese technology is superior.

>> No.1233799

mov reimu, me
push penis
pop cherry

>> No.1233818

>>1231177
>takes forever to compile
Not compared to C++, I assume.

>> No.1233843
File: 82 KB, 708x764, 1220287289779.jpg [View same] [iqdb] [saucenao] [google]
1233843

shitsux

>> No.1233859

why so much hate for C++?

>> No.1234029

Should I really just bomb in and read SICP cover-to-cover, or should I take it slowly whilst playing around with something like BASIC as I go along?

>> No.1234035

>>1234029
SICP, since it starts from the basics anyways.

>> No.1234070
File: 24 KB, 250x425, 1220291383570.jpg [View same] [iqdb] [saucenao] [google]
1234070

TI-BASIC.

Fuck year.

>> No.1234085

>>1234070
>Fuck year

>>
Name
E-mail
Subject
Comment
Action