#class syntax
Explore tagged Tumblr posts
Link
JavaScript Class Syntax and Object-Oriented Programming Essentials
This article provides a comprehensive overview of JavaScript's class syntax and its various features introduced in ES6 (ES2015). It emphasizes the shift from the traditional function and prototype-based object-oriented programming to the more intuitive and structured class-based approach. The article covers key concepts such as class declaration, constructor methods for initialization, method definitions, instance methods, static methods, inheritance, method overriding, access modifiers, getter and setter methods, and static members.
By explaining the rationale behind using classes and highlighting their advantages, the article helps readers understand how class syntax in JavaScript enhances code organization, reusability, and modularity. It clarifies the distinction between instance methods and static methods, making it easier for developers to grasp their appropriate use cases. Furthermore, the article offers insights into inheritance and method overriding, providing practical examples to demonstrate how class relationships can be established.
In addition, the article delves into advanced topics such as access modifiers, getter and setter methods, and static members, shedding light on encapsulation and shared behavior in classes. Overall, the article equips developers with a solid foundation for utilizing class-based object-oriented programming in JavaScript effectively.
#JavaScript#class syntax#ES6#object-oriented programming#inheritance#access modifiers#getter and setter methods#static members#method overriding#code organization
0 notes
Note
Who won teacher of the year?
If we are talking about LMK Highschool Teacher AU?
Mr Sun (Wukong). By a long shot. He wins the hypothetical award every year. Macaque of course always comes bitter second.
And now I'll use this ask as an excuse to introduce two more teachers to the AU
Continuation from here:
#lego monkie kid#lego monkie kid fanart#monkie kid#monkie kid fanart#lmk#lmk fanart#lmk sun sukong#monkie king sun wukong#lmk macaque#monkie kid macaque#lmk spider queen#monkie kid spider queen#lmk syntax#monkie kid syntax#LMK Highschool Teacher AU#originally Syntax was going to be the physics teacher but I changed my mind#he's probably qualified to teach any science subject though- actually out of all the teachers he has the most widest range of classes#like he is everywhere in the science and technology department#Textiles teachers always have a certain vibe to them and I'm sure Ms Queenie can reflect it. Somehow#I don't know what I'm going to do about Huntsman and Goliath- I can't see them working at the school
107 notes
·
View notes
Text
Sirius: [rambling in French]
Remus: [rolls eyes] Je te deteste*
Sirius: SINCE WHEN DO YOU SPEAK FRENCH??
Remus: oh I took some classes a while back. I don’t speak much, just the basics, you know, Je te deteste, Tu es merde**.
Sirius: Wow. Thanks.
Remus: Je fais ta mère***
Sirius: WOAH THERE
*I hate you
**You are shit
***I’m doing your mom
#I’m aware there might be some mistakes with grammar/syntax but I just realized five years of French classes with a shitty teacher at school#didn’t go to waste cause I know how to make a your mom joke#Je fais ta mere#:)#marauders era#the marauders#marauders#sirius black#remus lupin#wolfstar#it’s actually funny I promise
100 notes
·
View notes
Text

I’m drawn back again and again to Petrarca because of the way he constructs his identity out of fragments of the authors he loves and knows himself to be a mere shadow of. The way you can watch him imitate and emulate and reference so consciously, so self-consciously it becomes almost a deeply meta piece of performance art about the nature of literature and philosophy. The way you can watch him put on quotations like armor, whenever he gets into an overwhelming or too-personal subject he immediately reaches for someone else’s words, or style, or form. The way that’s the most relatable fucking thing in the world to someone also constructing their mind out of other people’s poetry and also learning Latin as a foreign language…
In this case he’s put on his Marcus Tullius fanboy hat and dragged a verb so comically far from its object in the very first line of a letter that it flawlessly illustrates the other reason I love him so much - because of all my beloved poets and scholars, he’s the most fun to verbally abuse in the margins.
#bored with the actual class i’m taking because it’s moving too slow#so i’m attempting to translate de ascensu montis ventosi and figure out how syntax works on my own#francesco petrarca
13 notes
·
View notes
Text
Guys I like kinda need to be good at the deciphering system in Homicipher because I am straight a linguistics major; like if the monster dating simulator game defeats me through its use of intermixing SOV and SVO then I am COOKED for my syntax exam
#homicipher#ramblings#my syntax exam is in like 36 hours#Homicipher can be counted as syntax practice right?? right???#gurl if I get an A- in that class I’m like dropping my major idc#I love syntax and thinking of words and whatever#but unfortunately the East Asian language I’m learning is heavily case-based#y’know the monster language is basically a conlang I wonder if the creator did any linguistic research??#maybe the translation messed some of it up or maybe it’s just very similar to Japanese I mean it’s more SOV imo
31 notes
·
View notes
Text
I’m trying soooo hard not to rant to my friends about unfortunately common writing conceptions but I remember that I was once studying to become a literal editor, so I feel justified for a second, and then I’m back to staying my hand because this soap box feels like a face reveal! The face of pretension!!!! Lmao!!!
#I know I’m thinking myself in circles!!!!#aksjsksj#I hadn’t thought of editing (writing) as a career until my creative writing teacher came up to me after class#and was like hey… kid…. you wanna do what you were doing all class for your classmates while making a living??#and I was like 👀?#anyway that likely won’t happen now and I’m much happier with my current studies#but studying it or not it’s because I CANNOT TURN OFF WHEN I READ#I AM UNABLE TO!!!!#it’s about the rhythm of sentences!! pacing!!!#EMOTIONAL pacing too!!!#the tonal difference between minute changes in syntax!!!!#I’m so passionate about it and opinionated wjdjekd#I both want to go on a rant about it and hide lmaooo#anyway#writing#creative writing#ren rambles#ren rants#ren keeps hovering her foot over the soap box and doing a walk away and then a spin back to the box and then back again and
53 notes
·
View notes
Text
i've spent 1.5 years studying and achieving a level of C/C++ literacy to go to a class, which is really cool, basis of machine learning and genetic based algorithms and i am a sucker for biology but we're applying those in python. what sucks is that now my brain and hands literally itch to put semicolons and curly brackets and indent the code to my needs and implement methods and functions when python doesn't even use those :( and now i can do more powerful things but the code looks like we've just discovered how to paint caves with our fingers
#personal ramblings you can totally skip#but it's bugging me a lot#and i know python is a great way as an outsider to get into coding and do some really cool stuff because it has a lot of built in libraries#and the syntax is closer to english than most coding languages#but it's a bit frustrating to me and i lose time trying to rephrase what i've learned so far#the only advantage so far is that instead of writing like 3 different functions for a vector in c/c++#i only use like 3 lines of code in python for the same things#my frustrations could also be from the fact that i went to this class where we used python straight from a 3 hour class where we used c
4 notes
·
View notes
Text
« On fait une pause ? lance Albain en reposant sur le sol perceuse et chevilles. [...] » (Tout le bleu du ciel, ch 23, p 615)
okay now i'm in my drafts and finding the sentences from other books that i couldn't figure out and OHHHHH i think i just got it. en reposant, sur le sol, la perceuse et les chevilles? is that what this means? have mercy. for the longest time i was like, sol perceuse? is that some kind of jackhammer that's not in any dictionaries? and why isn't it hyphenated? and what's the deal with et chevilles? but all along she was just dropping articles. i need those articles!!
#i never expect french to not have an article where there could possibly be an article. french uses articles even in direct address!!!#bonjour la classe always sounds so funny to anglophones first learning french. hello the class? why do you need the the?#but i've internalized it finally and now to be taking away the the when i have trained myself to need it is just cruel. cruel!!!#french#syntax#my posts#scary. now i know you can just leave out articles if you want to. reading french will never be the same#one of the pillars of my comprehension has been shaken. now if i see a noun without an article i can't immediately assume#oh this is actually an adjective or oh i misread something earlier in the sentence. it might just be an unarticled noun#because those exist apparently#okay this is a bit of an exaggeration. you can (and must) drop the article when talking about someone's profession for example#il est médecin not il est un médecin for example#but that's like. a specific exception they take care to teach you#also it just occurred to me that it would have taken me much less time to figure this out if i had remembered#that if it were albert who were resting on something it would have to be se reposant not reposant 😫 vdm
3 notes
·
View notes
Text
for some reason the intro to phonology and syntax classes for grad students are also the advanced phonology and syntax classes for undergrads, which means the professors are spouting off dense syntactical theory to undergrads who have already taken the intro class with them, meanwhile there's six of us grad students sitting to the side staring at each other like this

#linguistics blogging#no joke I literally made this face in syntax earlier#the professor was describing contiguity theory and drawing syntax trees I could NOT understand#and an undergrad asked her ''what does this mean for phi-boundaries'' or something like that#and I just looked over at my friends and made this face#only to discover they were all also looking bewildered and/or miserable#I'm so glad it's not just me#because I have literally never taken a phonology or syntax class#and I am SO out of my depth#we did the BARE basics of this stuff in my minor#and definitely no theory#so I have no fucking idea what's going on#luckily out of the six of us only two have an actual linguistics degree before this#the rest of us are pretty new to the field#so we are suffering together#i hate syntax and phonology. god.#these technical fields are NOT for me#this is why I'm a sociolinguist!!!!!#I am not interested in theories about how language works from an abstract perspective#I'm much more interested in WHY language behaves the way it does socially#like. I don't care about the phonological reasons for a particular sound feature#im more interested in the social context. does this sound carry prestige? is it stigmatized? how has the perception of it changed over time#I don't care about the theory behind why certain languages have developed grammatical rules for word order#I'm more interested in what happens when a dialect forms from a community with a different L1#and how their ideas of word order affect their L2 dialect#you know?#the social and historical stuff is where I thrive#not this theory babble#like. the theory is important work. but it's not MY work.
23 notes
·
View notes
Text
People when you try to speak French:
If this sometimes happens, it's likely because you're not using the PROPER French!
Cause yeah, there are different kinds of French. I know it's weird, but bear with me !
Basically, there's a whole lot of ways to say the same thing, depending on who you're talking to and what the context is.
Like, if you go to the bakery, you're gonna say something like "Je voudrais un pain au chocolat, s'il vous plaît".
If you're asking a friend, you'll sound more like "Tu me passes un pain au chocolat steplait ?"
And if you're asking your sibling, then it's even something like "Vas y passe moi un pain au choco (steplait)"
That's what we call niveaux de langue, and it's super important to know them, to be able to use them at the right time with the right people !
If you wanna learn more about French, follow me ✨️
#french#learning french#french learning#language learning#french classes#french culture#languages#learning languages#french grammar#french syntax
3 notes
·
View notes
Link
JavaScript Class Syntax and Object-Oriented Programming Essentials
This article provides a comprehensive overview of JavaScript's class syntax and its various features introduced in ES6 (ES2015). It emphasizes the shift from the traditional function and prototype-based object-oriented programming to the more intuitive and structured class-based approach. The article covers key concepts such as class declaration, constructor methods for initialization, method definitions, instance methods, static methods, inheritance, method overriding, access modifiers, getter and setter methods, and static members.
By explaining the rationale behind using classes and highlighting their advantages, the article helps readers understand how class syntax in JavaScript enhances code organization, reusability, and modularity. It clarifies the distinction between instance methods and static methods, making it easier for developers to grasp their appropriate use cases. Furthermore, the article offers insights into inheritance and method overriding, providing practical examples to demonstrate how class relationships can be established.
In addition, the article delves into advanced topics such as access modifiers, getter and setter methods, and static members, shedding light on encapsulation and shared behavior in classes. Overall, the article equips developers with a solid foundation for utilizing class-based object-oriented programming in JavaScript effectively.
#JavaScript#class syntax#ES6#object-oriented programming#inheritance#access modifiers#getter and setter methods#static members#method overriding#code organization
0 notes
Text





Various syntax trees for my structure of romance languages classes. Uhhh studyblr or something
but in all truth this class has been very interesting and I'll miss it very much.
#studyblr#kinda?#idk its just syntax trees#my class is using transformational grammar don't hate me forever if you don't subscribe to transformational grammar i'm just an undergrad#linguistics#romance languages
4 notes
·
View notes
Text
my cousin stopped me mid yapfest while we were on call to ask what the name of hybe labels japan's boy group formed through the audition show &audition the howling was for the quiz she was doing. i need to sign up for this class next term bc the SPEED with which i answered that question is something that could never be replicated in any class ive ever taken
#she didnt even finish the question before i started yelling &TEAM!"@)%!)$*!%($!!#she saw 'hybe' and knew id know the answer bc id been ranting to her about that fuckass company just earlier#its genuinely so funny how that worked out#i wish my uni classes quizzed me on stuff like this id be a straight A student#instead ive gotta memorize syntax rules for a language idgaf about ://#dabae speaks#&team
2 notes
·
View notes
Text
shit my syntax professor said, pt. 4
the final. going through this document for the first time i can remember in... 3 years, has genuinely been a treat. 1 / 2 / 3 / 4
"freshmen are people too."
"i'm gonna make them wait. it's part of the sadism."
"a shit ton, as we say technically."
"this is what i learned in therapy-- that you have to love yourself before you can love."
"i made my therapist despair."
"my real goal is not to teach you syntax, but to partner you up, if not with future lovers, then with future friends."
"i was a super dude"
"that's what i imagine how satan-- he or she or they-- will sound when they come to collect me."
"they're very steampunk, those lucifers."
"ooo child--"
"that big honker of a DP"
"is it a celebration? because i have a shaker of martinis waiting for 11 o'clock."
"if i had 2 daughters i would turn them against each other because i would stand no chance."
#i still have some more in the vault#might make a little bonus post of kyle vs the class if people want it#this was fun genuinely i miss this class it was fundamental in forging my love of syntax#if anyone from 2021 ling 401 sees these. hi how are you lol#linguistics#shit my syntax professor said
3 notes
·
View notes
Text

me up in here doing random shit
#wowwie#idk how to tag this#yippee#lego monkie kid#art#artists on tumblr#lmk#lmk syntax#syntax#syntax error#math class
5 notes
·
View notes
Text
also today me and an exchange student i became tentative but earnest friends with over the semester realised we're probably never going to see each other again it's all so strange how quickly you can start missing people
#we had the same lit class and we didnt talk for the first many weeks but i thought she was really smart and i had a little#freakout session about byron and shelley and keats to her and we discussed literature we like while i walked her home and it was great we#understood each other swimmingly and now she'll be so far away. but i hope we'll keep in touch id like to get to know her better shes great#we also braced ourselves and went up to our syntax lecturer together whos a delightful little clown but just as well i gaze at him in#wonder for 45 minutes every week barely comprehending anything he says. and he uploaded some sample questions for the exam and it's#it's not good lads#and today he said 'i read on markmyprofessor that im incomprehensible and i should present the material as a teacher'#and then he explained one thing completely plainly and we all understood what he explained just then and it was wondrous#then he went back to his mind games and allegories and stuff immediately and my minute of relief was over#and i really do wish hed done the whole lecture series *vaguely germanic accent* 'tanárként'#because he can and he just doesnt. silly. and difficult for me. but well maybe i'll figure it out by the time the exam comes around#my post
8 notes
·
View notes