Switcher
  • Home
  • About
  • Archives
  • Contact
November 10, 2009 @ 6:14 pm | 44 comments

My work life is a hobby

By: Mona
.......................

Guess what! Well, I never explained to my lovely readers the nature of what I do at work. Well, simple. I am the computer programmer. I make web applications. Very fancy dynamic websites that not only look good, but they function well!

I wonder how much my bosses will sell those custom modules for!

Anyways, I am working on implementing a community right now. The part I have been working on is the simplest part. Guess what I am implementing from scratch? Yep, you guessed it! I am creating a blog! :D

How did my hobby become my life?

I thought writing in a blog was fun, but try creating one from scratch. I should work for WordPress.org. Seriously, also, I do all that fancy quick interface stuff like Facebook dynamic visual craziness. I am slowly becoming a Javascript and Ajax guru. Maybe Yahoo or Google can hire me later in life!

I feel like I am still behind, and I need more time to mature as a computer programmer.

On a side note, I need to seriously get the new module or feature I have been eying installed and ready to go on my site. I couldn’t the past weekend because the stupid thing I downloaded wouldn’t work with my template. Argh!! I hate hate hate editing someone else’s awful code. It’s like my worst nightmare!

VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)

Blah Blah, Geeky, Programming, Random Thoughts, Ranting as usual!, Sleepy Post, Whatever!

Sign up below to receive Rebellious Arab Girl's articles daily to your email box.


Enter your email address:


Comments (44) Trackbacks (2)
  1. Incandescent Chimera
    November 10th, 2009 at 18:56 | #1
    Reply | Quote

    Well you are a blossoming flower in the IT industry… Keep at it! I see a noble peace prize for IT entrepreneur coming Mona’s way! :smile:

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  2. Mona
    November 10th, 2009 at 18:59 | #2
    Reply | Quote

    Incandescent Chimera :
    I see a noble peace prize for IT entrepreneur coming Mona’s way! :smile:

    Hahaha. I never heard of such a thing.. but why not!! Maybe I can get an award for something crazy I will do for the internet world! :D

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  3. Meyrick Kirby
    November 10th, 2009 at 21:04 | #3
    Reply | Quote

    I hate hate hate editing someone else’s awful code. It’s like my worst nightmare!

    Let me guess … no comments, long methods/functions, lots of global variables, no encapsulation, strange esoteric designs, no unit tests, et cetera?!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  4. Mona
    November 10th, 2009 at 21:11 | #4
    Reply | Quote

    Meyrick Kirby :

    I hate hate hate editing someone else’s awful code. It’s like my worst nightmare!

    Let me guess … no comments, long methods/functions, lots of global variables, no encapsulation, strange esoteric designs, no unit tests, et cetera?!

    Exactally!!! Worst is having multiple files to load one page! And you have no idea where each function is located!! Maybe some in the .js files, and others in some weird ass files with weird ass extensions that have nothing to do with the scripting language. I think that the majority of programmers out there have no formal education in the computer field.

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  5. Hudaman
    November 10th, 2009 at 21:28 | #5
    Reply | Quote

    $mona = new programmer( _PHP );
    $mona->modify_code( $someone_else_code);
    $mona->quit();

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  6. Mona
    November 10th, 2009 at 21:40 | #6
    Reply | Quote

    Hudaman :

    $mona = new programmer( _PHP );
    $mona->modify_code( $someone_else_code);
    $mona->quit();

    Ha Ha … :twisted:

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  7. Craig
    November 10th, 2009 at 21:49 | #7
    Reply | Quote

    @Meyrick Kirby

    lol. No encapsulation? Global variables? Is that even supported in Java? I’m pretty sure it isn’t! You can’t even write free-form code at all in Java. And C++ without object orientation is called C language :o

    @Mona

    I agree with you about working with other people’s code. That’s why I never do! Even when somebody tells me to, I just rewrite it from scratch if it’s practical, and if it’s not I package all their junk into an external resource and just make calls to it as necessary. I’d rather get fired than try to play mix and match with my code and somebody else’s, unless they had a style that was very similar to my own! Luckily, I haven’t gotten fired yet for my resistance to complying with the “reusable code” mantra yet!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  8. Craig
    November 10th, 2009 at 22:06 | #8
    Reply | Quote

    @Meyrick Kirby

    And at least in Java you don’t get to experience the joys of pointers! Or so they say! But it’s really a lie that there are no pointers in Java, since everything in Java is accessed via pointers! But if you haven’t had to navigate at least 5 levels of pointers to find the actual code that you are accessing, you haven’t seen confusing code yet. And that’s one thing people love to do even when they are following the rules of object orientation.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  9. Meyrick Kirby
    November 10th, 2009 at 22:07 | #9
    Reply | Quote

    @Craig

    Classes without encapsulated variables are possible in Java, as are global variables, although both are a big no-no … unless of course you hate your employer :smile:

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  10. Craig
    November 10th, 2009 at 22:17 | #10
    Reply | Quote

    @Meyrick Kirby

    I knew you were going to say that! Real global variables are not possible in Java, but you can give variables global scope by creating a class that has nothing but your variables in it, and declaring those variables static. But that’s not a violation of object oriented design principals! Global variables are just that… variables that are defined at a global level and can be used directly by simply typing the dataname anywhere in your project.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  11. Meyrick Kirby
    November 10th, 2009 at 22:28 | #11
    Reply | Quote

    @Craig

    But it’s really a lie that there are no pointers in Java, since everything in Java is accessed via pointers!

    Well, Java has references, which behave a bit like C++ pointers in some respects, and like C++ references in other respects.

    For instance, a Java reference can be made to reference a different object, just like a C++ pointer can, but a C++ reference can’t.

    However, code that uses a Java reference directly uses the object, just as code using a C++ reference does. Code using a C++ the pointer must de-reference the pointer to get to the object.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  12. Meyrick Kirby
    November 10th, 2009 at 22:33 | #12
    Reply | Quote

    @Craig

    For all practical purposes, I don’t think there’s much difference between:

    myGlobalVariable = 10;

    and

    MyClass.myGlobalVariable = 10;

    They’re both big no-no.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  13. Mona
    November 10th, 2009 at 22:36 | #13
    Reply | Quote

    @Meyrick Kirby

    @Craig
    can you two stop arguing about coding languages? I will start deleting your comments! You two get carried away too much. Why don’t you email each other instead! This is a blog and not a forum. Please!

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  14. Meyrick Kirby
    November 10th, 2009 at 22:37 | #14
    Reply | Quote

    @Mona

    What kind of programmer are you? :pirate:

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  15. Mona
    November 10th, 2009 at 22:40 | #15
    Reply | Quote

    @Meyrick Kirby

    Do you want to be on my spam list? Just a click of a button.

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  16. Meyrick Kirby
    November 10th, 2009 at 22:42 | #16
    Reply | Quote

    @Mona

    Infringing my right to freedom of speech :shock:

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  17. Craig
    November 10th, 2009 at 22:46 | #17
    Reply | Quote

    @Meyrick Kirby

    You miss my point, Meyrick. When you instantiate an object from the “Swing” (you like those as I recall!) component classes in Java, you aren’t really instantiating an object at all. You are declaring a pointer to the object. That object is actually written in C++ and exists inside the JVM, not in your application. This is required because of Java architecture where all the code that actually does the work is external and is loaded into memory from the JVM at runtime.

    Code using a C++ the pointer must de-reference the pointer to get to the object.

    I don’t even know what you are trying to say there! Do you?

    If I’ve go a pointer to an object called javaSucks all I have to do to access it’s members is use “->” instead of “.”

    Example:

    suckageLevel = javaSucks->getHowMuch();

    If it was an object of type JavaSucks, I would do this:

    suckageLevel = javaSucks.getHowMuch();

    Trust me on this one, I mastered the fine art of passing pointers to my own objects from class to class (because I like cheating a lot!), a very long time ago!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  18. Craig
    November 10th, 2009 at 22:47 | #18
    Reply | Quote

    @Mona

    Yes! Sorry! No more programming comments from me! But this post was about programming! Waaaahhhh….

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  19. Meyrick Kirby
    November 10th, 2009 at 22:53 | #19
    Reply | Quote

    See, this is why there’s no free press in the middle east … wow, that was vicious, even by my standards :evil:

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  20. Craig
    November 10th, 2009 at 23:14 | #20
    Reply | Quote

    So anyway! The real surprise is that LL Cool J turns out to be a pretty good actor! Who knew!?

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  21. Leeroy Glinchy
    November 11th, 2009 at 03:28 | #21
    Reply | Quote

    I was interested in what you were up to. It seems like your job is so similar to what you would do at home anyway. Nice to get out of the house, get respect for your work, and most of all get paid for it all!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  22. Mona
    November 11th, 2009 at 07:05 | #22
    Reply | Quote

    @Craig

    @Meyrick Kirby
    It’s not that. When you two go off into a long programming debate, no one else comments or bothers anymore. This post is about my work life and me enjoying it. It’s not arguing about which language I prefer.

    As for free press, I am an Arab. I have the inherited gene of dictatorship. I can’t help it.

    SO NO MORE!! :vangry:

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  23. Mona
    November 11th, 2009 at 07:05 | #23
    Reply | Quote

    @Leeroy Glinchy
    Exacatly!!!!! :pirate:

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  24. Hudaman
    November 11th, 2009 at 08:53 | #24
    Reply | Quote

    C#.NET is not the best but i’m in love with it! Like I’m in love with you, Mona hehehe :pirate:

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  25. Charlie
    November 11th, 2009 at 17:11 | #25
    Reply | Quote

    It sounds like u love yr job mona n thats really good :up: i wish my job was my hobby lol

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  26. Mona
    November 11th, 2009 at 17:25 | #26
    Reply | Quote

    @Hudaman
    Ummm.. ok.. :twisted:

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  27. Mona
    November 11th, 2009 at 17:26 | #27
    Reply | Quote

    @Charlie
    Hehehe.. maybe one day it will be! :)

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  28. Mona
    November 11th, 2009 at 17:52 | #28
    Reply | Quote

    Hi Mona this is my first time to comment actually may be because I’m like you my work is my hobby as I’m also php and java developer about how much bosses get from our work they get much much I think our wages is nothing to what they have that’s why a lot of people turned into entrepreneurs so do I and I think you should take that way and it’s taken step by step.
    About modifying others code I know that it’s a nightmare to some people but you can’t deny that it’s possible in the industry and I did that a lot I used zend studio and eclipse so I can search in the source code and reach what I want to reach because having this done without will be the true nightmare.
    I love your blog so much and your thoughts and although I’m living in Egypt I believe in such ideas..society is changing ;-)
    and I really like the idea that we are having the same name :smile:

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  29. Mona
    November 11th, 2009 at 17:57 | #29
    Reply | Quote

    @Mona
    Hahaha.. you confused me there for a second. I suggest you sign up with gravatar.com and get your picture up.. cuz it is confusing!! :D

    As for being an entrepreneur, well, not yet.. For now I am satisfied with having a job and seeing people! :D

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  30. Meyrick Kirby
    November 12th, 2009 at 05:54 | #30
    Reply | Quote

    Oh no, 2 Monas :o

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  31. Ahmed Masri
    November 12th, 2009 at 06:17 | #31
    Reply | Quote

    Mona :
    As for free press, I am an Arab. I have the inherited gene of dictatorship. I can’t help it.

    Now that is funny…

    AJAX! It’s what I need to learn right now otherwise my career is dead in the water. Mona, as a man with no formal training whatsoever, would you kindly recommend the best way to learn Ajax?

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  32. Mona
    November 12th, 2009 at 06:20 | #32
    Reply | Quote

    @Ahmed Masri
    Learn the basic of Javascript first and how to dynamically alter websites. Once you do, the res is just an enhancement.

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  33. Ahmed Masri
    November 12th, 2009 at 06:56 | #33
    Reply | Quote

    @Mona

    Hmmm.. ok.. was kinda of hoping for a slightly bigger answer than that! Though I suppose that is all there is to it.. so thats the plan… off to the bookstore!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  34. Meyrick Kirby
    November 12th, 2009 at 09:58 | #34
    Reply | Quote

    Personally, I found David Flanagan’s ‘Javascript: the Definitive Guide’ (a.k.a. the Rhino book) excellent, although my copy is about 2 editions out of date.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  35. Ahmed Masri
    November 12th, 2009 at 11:28 | #35
    Reply | Quote

    @Meyrick Kirby

    Thanks for the tip!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  36. Meyrick Kirby
    November 12th, 2009 at 14:25 | #36
    Reply | Quote

    I have the inherited gene of dictatorship. I can’t help it.

    Typical, blame your parents why don’t you?!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  37. Christopher (AKA: CaJoh)
    November 12th, 2009 at 17:34 | #37
    Reply | Quote

    Programmers need to be able to make their code understandable and maintainable, otherwise their successors will be wasting their time trying to understand your code in order to maintain it.

    Good luck with re-engineering the wheel,

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  38. Craig
    November 12th, 2009 at 17:44 | #38
    Reply | Quote

    @Christopher (AKA: CaJoh)

    Programmers need to be able to make their code understandable and maintainable…

    They never do, though, Christopher! In fact the best programmers I’ve ever met weren’t even trained as programmers at all, but were electronics engineers! The stuff they could do blew my mind by trying to understand their gibberish code was beyond ridiculous!

    OK, to be fair there are a few times I’ve read somebody else’s code and been completely happy and even impressed with how they did things. I wish it was always like that! :)

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  39. Craig
    November 12th, 2009 at 18:08 | #39
    Reply | Quote

    @Christopher (AKA: CaJoh)

    By the way, in my opinion inheritance was *the* major selling point for the move to object orientation back in the 1990s. And if somebody is doing proper object-oriented design then there should be no need to have to try to decipher another programmer’s chicken scratches. You can drive your own new class from theirs, and override anything that needs to behave differently leaving the original functionality in place wherever possible. And then if there’s anything entirely new that needs to be done you are free to add that to your derived class. You don’t have any need to modify their code at all… in fact, if you are re-writing somebody else’s classes somebody is not following the playbook.

    And then a couple years later when somebody else is working on the project, they can derive their own class from yours, and inherit from both of the parent classes.

    Of course, a lot of programmers don’t write their classes with inheritance in mind, but that’s easily remedied. Most programmers don’t like to think somebody else is going to be monkeying with their code after they are gone, so a gentle nudge usually does the trick.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  40. Meyrick Kirby
    November 12th, 2009 at 18:39 | #40
    Reply | Quote

    I think the trick to working with legacy code, and by extension making sure your own code is open to modifications by other programmers is unit testing, refactoring, and revision control sytems.

    Recently I had to write a server-type program in Java that called some legacy code written in Fortran. In particular the Fortran originally read inputs from, and wrote outputs to files. Instead, I needed to pass the inputs from the Java, and retrieve the outputs to the Java.

    There was little chance of me understanding the full ins and outs of the Fortran, since it was advanced physics. However, I could get some example inputs off the physicists, calculate the outputs, and then write unit tests with them. With the unit tests in place, I was then able to start making small changes the top level functions of the Fortran, making it easier to understand what was happening. If I broke the Fortran code, the tests told me immediately, and I could role back the changes.

    The end result was some neat code at the top. I could of course gone further down into the Fortran, adding more tests at the lower levels and further tidying up the code, but I don’t have the time. In other words, the problem is writing unit tests for legacy code is time consuming, although one does get a sense of satisfaction afterward.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  41. mo
    November 12th, 2009 at 23:02 | #41
    Reply | Quote

    You guys are geeks.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  42. Craig
    November 12th, 2009 at 23:16 | #42
    Reply | Quote

    @mo

    Well, I agree Meyrick Kirby is a geek! I’m pretty sure he doesn’t even work as a programmer and he just does it for fun!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  43. Meyrick Kirby
    November 13th, 2009 at 09:44 | #43
    Reply | Quote

    I’m pretty sure he doesn’t even work as a programmer and he just does it for fun!

    I wonder if this is a compliment or an insult?

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  44. Craig
    November 13th, 2009 at 14:23 | #44
    Reply | Quote

    @Meyrick Kirby

    If it’s true it isn’t either one. It’s just true.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
  1. November 10th, 2009 at 18:22 | #1
    Tweets that mention My work life is a hobby | Rebellious Arab Girl — Topsy.com
  2. November 10th, 2009 at 23:24 | #2
    My work life is a hobby | Randomblog blog
Comments are closed.


How to scare the human race? This blog will enhance your art of procrastination

MY MUSIC MOOD


WAYS TO STAY IN TOUCH:


   


Sign up below to receive Rebellious Arab Girl's articles daily to your email box.



 Your email address:

FAVOURITE QUOTE


"All man’s miseries derive from not being able to sit quietly in a room alone”

Blaise Pascal

POLL


Why am I back?

View Results

Loading ... Loading ...

LATEST BLOG COMMENTS


  • Mona said: @Ali Yep!! Am I an expert yet? Hmm… companies want an...
  • Ali said: You could look at the positive side and see that you are so...
  • Mona said: @Meyrick I have stopped volunteering… I will tell you...
  • Meyrick said: He was not happy. I would remind you that people like...
  • Ali said: This is not our grandparents day. We live longer, eat...
  • Meyrick said: That’s when I realized as a 19 year old that I am not...
  • CaJoh said: I have complete confidence that you will move in the right...
  • Cherry said: :lol: I looove FouseyTube!! All of his videos are...
  • Kl said: Don’t give up on anything, Mona. If you want a change...
  • Oussama said: So move out and get your own studio apartment, consider...
  • Y said: lol honestly, i always stood by pali guys are hands down some...
  • Y said: “It’s ok! I just gave up with I realized, well, I am not...
  • Mona said: @Jenny I love you tooooooooooooooo!!!
  • Mona said: @Fred Ollinger Hiiiiiiii!!!! Thanks for coming back!! I...
  • Jenny said: You really desperately need a hug, attention or something...

Facebook Network of my Friends!


Follow this blog


...........
Copyright © 2005-2012 Rebellious Arab Girl | Designed by Mona - Rebellious Arab Girl