[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


I'm working on a screenplay (or "treatment", as they call it in the biz). I'm writing the outline in Python. The outline is structured like a linked list. In other words, Scene2 inherits from Scene1, Scene3 inherits from Scene 2, etc.

A few questions

>This is actually structured like a linked list, right? Idk my DSA is super rusty
>Any ideas for how to improve it?

One last thing, the final script will be written in Ruby. When I was manic, I came up with a neat lil trick to turn any English sentence into working Ruby code. Does the code do anything? Well.....no, not really. But you can run the code without getting any errors.
>>
>>107535353
Are you going to manually define each scene and hardcode the name.
Consider your structure and define the functions.


If the plan is ruby, why not make the "outline" in ruby..
>>
>>107535353
Why do retards always talk like this? Using technical terms they don't understand to write a bunch of nonsense.

No, what you've shown in your picture is not a linked list, it's simply called inheritance. And it makes zero fucking sense to use it here, because there's no reason scene two should necessarily contain everything that was in scene one. In fact, since you're simply overwriting all the parent variables, inheritance gives you absolutely nothing here - you are just defining variables then immediately overwriting them with a new value.

I guess this is probably a troll thread.
>>
>>107535487
I barely remember any ruby, I used Claude to help me with the English-to-Ruby function
>>
>>107535519

As I said, my DSA is super rusty. What are your thoughts nesting the functions inside each other so it takes the shape of a unary tree
>>
>>107535519
by technical terms, do you just mean "linked list"? dude i've done plenty of linked list algos. When I was recovering from my TBI, I kept getting visions of an onion. So I turned that into a function that creates a nested Javascript object (1300 layers), which, functionally speaking, is a linked list
>>
>>107535519
This isn't a troll thread. Whenever I'm serious, people tell me that either I'm a troll, a schizo, or a bot. (I'm on the spectrum so sometimes I talk like an AI agent) This is why I hate every fucking person on the internet, especially you. Because you're all a bunch of fucking retards who need to be punished
>>
>>107535672
I’ve been programming for years and I have no idea what DSA means.
Why don’t you use final draft like everybody else?
Also thats not a treatment, you seem to have some strange urge to use technical words even if you don’t understand them. An outline is a beat by bet present tense description of each scene, a treatment is a fully fleshed out outline with all sorts of details that won’t go into the script. The final script is still called a screenplay, not a treatment.

If you have to use python for some reason then I think maybe having one class to hold character sheets, one scene definition object, and one dialogue definition object could work. A linked list would be like self.next_scene in a scene class
>>
>>107535812
well now i don't know what to believe. i heard just the other day on /b/ that studio execs will laugh you out of the room if you call it a "screenplay" rather than a "treatment"

so i guess both of you are wrong or one of you is wrong
>>
>>107535812
that means you're not a good programmer. DSA = data structures and algorithms. what are you, a high schooler? i started coding in 2005 when I was a high school senior
>>
>>107535928
Well he is wrong because there is no ways execs will laugh at anything if it ever reaches them. Whatever you give them will have to go through many many filters until it finally reaches an actual executive, which means they’ll at the very least take it seriously regardless of what it is.
Whether you have to show them a treatment or a full script depends on each studio, they all have different submission guidelines

>>107535936
Shut the fuck up retard
>>
>>107535702
>This isn't a troll thread.
If that's true, then you're genuinely insane and need some help.
>>
>>107535353
...why do this through class inheritance? something like the following would make more sense imo:
class Scene:
... blablabla

scene1 = Scene(...)
scene2 = Scene (...)
...

scenes = [scene1, scene2, ...]
>>
>>107535353
Tell me about SceneOne. Why does he wear the mask?
>>
>>107536363
or perhaps he is wondering why somebody would inherit a class before throwing its attributes out of scope
>>
>I'm writing the outline in Python.
Why?
>>
File: ilikepythons.jpg (62 KB, 1080x1080)
62 KB
62 KB JPG
>>107536533
i like pythons
>>
>>107536363
actually this guy is wearing a mask because it's a satanic ritual that takes place in a dark web chat room
>>
>>107535353
does it do anything other than spitting data?
>>
>>107537459
A lot of edge for for an element 0.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.