Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Brain Candy
May 18, 2006

AlsoD posted:

This person does not understand immutability.

this is a troll free zone, mister

Adbot
ADBOT LOVES YOU

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



ty i will check out primer & accellerated

Bloody
Mar 3, 2013

c++ is a good lang use it and enjoy :)

Bloody
Mar 3, 2013

(c# is a better lang but not always an option)

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



its really ugly that i have to put stuff in the .h file that is not part of the interface

hobbesmaster
Jan 28, 2008

Snapchat A Titty posted:

its really ugly that i have to put stuff in the .h file that is not part of the interface

i guess you don't have to

though that'd be quite a challenge

Brain Candy
May 18, 2006

there are these things called templates, you might have heard of them

Luigi Thirty
Apr 30, 2006

Emergency confection port.

I always wonder who uses these wacky languages you never hear about

like who the hell uses D anyway

Soricidus
Oct 21, 2010
freedom-hating statist shill
c++ is very, very, very bad

but sometimes everything else is even worse

gonadic io
Feb 16, 2011

>>=

Brain Candy posted:

this is a troll free zone, mister

Why can't I pass my mutable vector to a function that expects an immutable one??

quote:

your function guarantees that it won't change anything, and I guarantee that I don't even mind having anything changed, and still the C++ type system gets in the way

What could possibly happen that makes this a bad idea????

qntm
Jun 17, 2009
c++ is absurd

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



hobbesmaster posted:

i guess you don't have to

though that'd be quite a challenge

ive only foudn things like pimpl and hidden subclasses and poo poo and its way hosed up. i just wanna hide my private vars & methods so the interface is as simple as possible

AWWNAW
Dec 30, 2008

header files are loving dumb

fritz
Jul 26, 2003

tincho posted:

http://yosefk.com/c++fqa/defective.html

Friends don't let friends learn C++.

maybe i just haven't done enough of or the right kind of c++ (or I'm spoiled by c++11) but most of that is not my experience w/ the language

Brain Candy
May 18, 2006

AlsoD posted:

Why can't I pass my mutable vector to a function that expects an immutable one??


What could possibly happen that makes this a bad idea????

when dude wrote this, that bad thing was undefined behavior

fritz posted:

or I'm spoiled by c++11

yes, also clang existing has done good things

more like dICK
Feb 15, 2010

This is inevitable.

FamDav posted:

how long does it take you to "learn" a language.

a long rear end time including libraries and idioms. like I would consider myself still learning java, because there are big parts of spring and ee that I haven't used

more like dICK
Feb 15, 2010

This is inevitable.
Please don't unironically link the fqa

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
I think im going to try out some go this weekend

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord

Forums Terrorist posted:

actually it's a deep and rewarding game that is far superior to your gaijin "chess"

heh

(I know a guy who got serious about playing shogi and he's exactly like that)

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

Shaggar posted:

whats our schema look like? well, we don't really believe in schemas. those kinds of restrictions really bind our creativity in ways that make it too hard to express the beauty of our application.

as a perpetrator of ORMs I unironically agree with Shaggar here

I got sick of the "but a schema binds my creativity" bullshit well over a decade ago

it's right up there with "I won't know the design until I code it"

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

Shaggar posted:

Lotus Notes is the original NoSQL database

Lotus Notes is just a PC knockoff of Plato Notes

hobbesmaster
Jan 28, 2008

eschaton posted:

as a perpetrator of ORMs I unironically agree with Shaggar here

I got sick of the "but a schema binds my creativity" bullshit well over a decade ago

it's right up there with "I won't know the design until I code it"

but big data! we don't even know what the data is!

Soricidus
Oct 21, 2010
freedom-hating statist shill
i never cared for data much
it's the high capacity

Bloody
Mar 3, 2013

big data

big b, little d

Luigi Thirty
Apr 30, 2006

Emergency confection port.

don't sign your pooooooosts

FamDav
Mar 29, 2008

more like dICK posted:

a long rear end time including libraries and idioms. like I would consider myself still learning java, because there are big parts of spring and ee that I haven't used

i do not know all the libraries that people have built for a language, therefore i do not know the language

-- a bad opinion

karms
Jan 22, 2006

by Nyc_Tattoo
Yam Slacker

Snapchat A Titty posted:

its really ugly that i have to put stuff in the .h file that is not part of the interface

Malcolm XML
Aug 8, 2009

I always knew it would end like this.
mods name change me to the notorious b I g data

it's v yospos as its black man plus computer pun

Tia

gonadic io
Feb 16, 2011

>>=
malcolm xml is a p great name though

FamDav
Mar 29, 2008
header files are a bad thing but the reality is that trying to vend header + binary is just trash garbage and if thats your business model then you are trash garbage as well.

FamDav
Mar 29, 2008

Malcolm XML posted:

mods name change me to the notorious b I g data

it's v yospos as its black man plus computer pun

Tia

notorious bsd already took the pun you must call him out and bring shame to his game otherwise he has pun rights for like 300 years sorry

Malcolm XML
Aug 8, 2009

I always knew it would end like this.

FamDav posted:

notorious bsd already took the pun you must call him out and bring shame to his game otherwise he has pun rights for like 300 years sorry

bsd already brings shame to everyone's game by existing

emoji
Jun 4, 2004

Malcolm XML posted:

mods name change me to the notorious b I g data

it's v yospos as its black man plus computer pun

Tia

lol

Malcolm XML
Aug 8, 2009

I always knew it would end like this.

qed

theadder
Dec 30, 2011


Notorious b.s.d.
Jan 25, 2003

by Reene

Malcolm XML posted:

bsd already brings shame to everyone's game by existing

agreed

bsd is terrible

Luigi Thirty
Apr 30, 2006

Emergency confection port.

visual studio update 4 has can connect to unity now if you enjoy inferior game engines

Luigi Thirty
Apr 30, 2006

Emergency confection port.

okay, so now that I have a mostly working infocom-style parser ([ACTOR], [VERB PHRASE] [PREPOSITION] [DIRECT OBJECT PHRASE] [PREPOSITION] [INDIRECT OBJECT PHRASE]) my current goal is to fix up the world logic and implement the first room from this text game.



this scene requires:
nouns that possess specific properties (the drawer can be open or closed)
nouns that can contain other nouns (a book is inside the drawer which is part of the desk)
nouns that can express supporting other nouns (the debit card is on the desk)
the player having the ability to sit and stand on objects (the player can sit on the bed or stand on the desk), which moves other objects in or out of scope (the player can't interact with anything in the room if he's sitting on the bed and he can't open the vent unless he's standing on the desk)
nouns that get attention by printing their state in the room's description (the blinking message light)
an exit to another room with a door that can be closed
and probably some other stuff too

I did some research and found inform 7's object hierarchy:

pre:
object
        direction
        room
        region
        thing
                door
                container
                        vehicle
                        player's holdall
                supporter
                backdrop
                device
                person
                        man
                        woman
                        animal
hey i was pretty close so far

pre:
object
	direction
	room
	noun
		door
		container
		supporter
		actor

Luigi Thirty fucked around with this message at 08:45 on Oct 20, 2014

hackbunny
Jul 22, 2007

I haven't been on SA for years but the person who gave me my previous av as a joke felt guilty for doing so and decided to get me a non-shitty av

take all
dance
kill me
yes

e: going from memory

e
nw
up
ask technician about pin
set switch to beach
sit on couch
wear clasp
push button
take glass
give glass to sam
again
again
again
take glass
put glass in replicator
take pin
down
se
e
e
e
e
wait
wait
wait
wait

:whatup:

e2: if I actually got it right, I played that game too drat much

hackbunny fucked around with this message at 09:27 on Oct 20, 2014

Adbot
ADBOT LOVES YOU

Soricidus
Oct 21, 2010
freedom-hating statist shill
go left

  • Locked thread