12

After a lot of criticism and mending by the fellow mates, this is what I pursue further :

if(sad()==1){
sad.stop.();
beAwesome();
}
Thanks to all those who guided me.

Comments
  • 4
    how the fuck do you call stop() on an integer
  • 0
    @BindView Thats a bit off programming
  • 2
    These cliché programs wont help you gain ++, continued from your last rant

    And your code has an error on line 2
    No property stop found
    Unknown '()' after '.' on line 2
  • 2
    @byte @BindView the guy just wants to fit in. Let's give him a while 8)
  • 2
    @dontPanic we're not hazing him or anything, we're just pointing out the code errors
    Think of these as simple pull requests
  • 1
    Thanks a lot every one, but this was not to gain ++ but just to express myself.
    Moreover I know that there is an error in the code, but 'cause it was a motivation post for me and for anyone I just wrote it.
    Think of it metamorphically.
  • 1
    @BindView Note the missing brackets. That's perfectly valid JS. Apart for the dangling . before the brackets after stop
  • 2
    $scope.$watch('sad', function(newVal) {
    log.important("Dont have a $(newVal) sad. Have a happy awesome instead!")
    $scope.sad = false
    $scope.beAwesome()
    })
  • 0
    @Ashkin Oh man that's some verbose code
  • 1
    @Froot A full half of that was a log entry!
  • 0
    @Ashkin Java I presume. Java likes long codes
  • 1
    @Froot Angular 1 (JavaScript)
  • 0
    @Ashkin Oh boy
Add Comment